Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I would like some advice for my project.
#19
I have a hungry and sleeping system made entirely of events. You can do it with a common event in parallel process (with an interruptor when the game begins or such), and assign a variable of "hungry", "Sleep" or whatever you like. In the event, you had to make a cicle that every X frames you substract a point, then you call a conditional branch in which whenever the variable gets a number of your choice, the state of the character changes to "hungry", "sleepy", or "Thirsty". You can assign different conditional branches to different characters, so not everyone has hungry at the sametime. Then you make (for the food) that some items adds points to the variable hungry, and that they cure the state hungry. Or when a "rest" event is called, you make that the variable "sleepy" goes to the top.
Hope it helps you
Reply }


Messages In This Thread
RE: I would like some advice for my project. - by Erechel - 06-26-2012, 10:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How encrypt my project? Raphael Rpg Games 6 12,167 04-09-2013, 07:35 PM
Last Post: Narzew



Users browsing this thread: