Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Isu Maze game Points problem EDITED
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
godofquestions




PostPosted: Wed Jun 13, 2007 3:01 pm   Post subject: Isu Maze game Points problem EDITED

In the maze game that I'm creating and still working on Sad I am trying to put in points in the game.

I want it to be like pacman, when you eat the fruit in pacman, it disappears and your score goes up.
Any ideas on how I can create this in turing? without too much hassle.

EDIT:well i added the pellets and the score works the only thing I cant seem to figure out is when the player goes over the pellet, how I can get the pellet to disappear.

All ideas are welcome! Very Happy
Sponsor
Sponsor
Sponsor
sponsor
Albrecd




PostPosted: Wed Jun 13, 2007 8:29 pm   Post subject: Re: Isu Maze game Points problem EDITED

You should hold the status of each dot in a boolean. If the boolean for said dot is true, then draw the dot. If the player moves over the dot, make said boolean := false.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: