FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

CreatingJavaMEGamesWithGameBuilder Sample error

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
floris olivier



Joined: 13 Apr 2009
Posts: 1
Location: South Africa

PostPosted: Mon Apr 13, 2009 8:27 am    Post subject: CreatingJavaMEGamesWithGameBuilder Sample error Reply with quote

Hi,

I am doing the sample tutorial of the GamesWithGameBuilder from you url

http://wiki.netbeans.org/CreatingJavaMEGamesWithGameBuilder and when i copy the new code from DemoGameCanvas.java link on the above url, I get the following errors:

line 222: this.ground = this.gameDesign.getSand(); *****CANNOT FIND SYMBOL GetSand**********
this.colliders = new TiledLayer[]{};


//load the 'Desert' scene
this.gameDesign.updateLayerManagerForDesert(this.lm);
} *****CANNOT FIND SYMBOL gameDesign.updateLayerManagerForDesert**********

catch (IOException e)
{
e.printStackTrace();
}
*****exeption java.io.IOExepction is never thrown in body of corresponding try statement**********

I did try and move the IOException elswhere but had no luck..

Please advise...this code was copied directly from the sample code on the site.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dwayne



Joined: 17 Apr 2009
Posts: 2

PostPosted: Fri Apr 17, 2009 4:30 pm    Post subject: Reply with quote

Hi !
Do you have the good release, NetBeans and JDK (ME) ?

I ask this question because your game work fine on my simulator AND device (Nokia XpMusic 5800).

The result in attachement.
Regards



PremierJeuJavaMobile.jar
 Description:

Download
 Filename:  PremierJeuJavaMobile.jar
 Filesize:  40.82 KB
 Downloaded:  33 Time(s)

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB