Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Software > Android Games And Applications
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 10-06-2009, 01:09 PM   #1
Junior Member
 
Join Date: Sep 2009
Posts: 1
Friends: 0
View Bruto_JPO's Profile   View Bruto_JPO's Photo Album   View Bruto_JPO's Blog   View Social Groups
Hi I'm from Brazil and I'm developing a Beat'em Up game for my conclusion work in universisty. I'm using a game api in this site http://code.google.com/p/sporksoft/s...sporksoft/game

This game api is exactly the same as the jme.

I'm having a problem, each time I use a game api method I have an null error and my app stop.

Code:
 //Method that adjusts Axel's sprite
        public void adjustAxel( Sprite s, double mx, double my ){
      	  try{
      		  mPositionX = (int) mX;
          	  mPositionY = (int) mY;
 
          	  mManager.append( mAxelSprite );
          	  mAxelSprite.defineReferencePixel( mAxelWidth / 2, 0 );
          	  mAxelSprite.setRefPixelPosition ( mPositionX, mPositionY);
          	  mAxelSprite.setFrameSequence( mFrameSequence );
      		}catch( Exception e ){
		         	   Log.e( CATEGORIA, "Error 2: " + e.getMessage() );
		           }
        }
I don't have an idea how to fix it, and in my country are very few people that develop in android platform so here I'm to search for help.

Greetings
John Peter
Bruto_JPO is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rokon - 2D OpenGL Game Framework Sticky Android Development, Answers, Tutorials, and Code Snippets 0 09-18-2009 07:12 AM
Puzzle Blox - New tilt & twist based game andre Android Games And Applications 1 07-13-2009 11:22 PM
Android Doom Game Andor Android Market/Reviews 2 03-31-2009 05:59 PM
Masterword a good game on market tige Android Games And Applications 2 11-29-2008 06:11 AM
Game engine? in Android logojimi Android Development, Answers, Tutorials, and Code Snippets 1 11-26-2008 04:03 PM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 09:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.