i am trying to make something like the chao garden from sonic advance. i need my line of sight codes, and a way to get the "chao" to randomly move. can some one give me a hand. the simplier the better. thanks!
i am trying to make something like the chao garden from sonic advance. i need my line of sight codes, and a way to get the "chao" to randomly move. can some one give me a hand. the simplier the better. thanks!

NICE!, i was obsessed over that game for weeks(even took day's of school).
I'd love to help a fellow sonic lover(and i guess Naruto lover to)
Gimme a while, ill post when it's done.
Getting him to randomly move is strongly based on what kind of movement engine you're using. If you're using default movement, you can just make him randomly start and stop moving, while setting his direction.
If you're using custom movement, then your engine should have a method to make him start and stop moving, just make it random.
The key to "random" is basically to use: Random ( Number Here)
So like:
Always
Set Counter to: Random ( 32 )
Will constantly make the counter pick a random number between 0 and 31 (because it's 0 based, not 1 based)

check the file archive.
ok, i got the random moving down, i used a slow boncing ball for the "chao" to follow. you guys misunderstood, my fualt didn't explain well. i need how to get him to go to his food, and... that's it from before. but i need a quicky thing too. i am using the cursor obj to make a different cursor. when the cursor goes over the "chao" it get's bigger. but then it stays bigger. anyone that could help, please?
Ninjustsu, i would really like to see this once it is complete, please share your game/application with everyone, sorry i cannot help im a newbie myself
ok i still need the make him-go-to-the-food coding.
thanks for the comliment spryz.
ok, i am not a genuis at code! that example was way to hard to understand dude! come on. i can't even make a golbal string! but thanxs anyway, thats a very simple version of the project.
Ninjustsu, if you want help i can add the code to your game/application for you and i will comment if for you and let you know what everything does from the example that was posted, i have a download of this ( Thanks SEELE ), so if you require help then just PM me via the forums.
I have been using click products back from The Games Factory so i knew enough to copy a code into a game/application for you![]()
sorry but i need to be able to do it my self. it's a personal project and i want to get the knowledge so i can use it on later stuff. so thanks but no thanks. any written help would be great, not to mention that by posting it your helping anyone who needs it. (as long as the check the forum! xD)
gah... i want to continue but without a way to make him go to the food im sunk! i've been trying,
-set dir to xaction point (food)-
ut it doesn't work! is there some kind of way to use move safely or a goto (alterable sring - food)code? i want to get the rough copy of this thing done to day.
Please and thank you.