Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot. The file must have the ged and data files (complete game source) Use the forum attachment to post the files. It is always better to use the first post to put the game files
krenisis wrote:Ok i read the code and have a question. What makes the enemy keep chasing you?
Look the code in the : p2 -> Timer -> Walk It means, when this timer (Walk) occur... 1. if p2 x coordinate smaller than p1 (he's in the left side of p1), change p2 direction to right (direct=1) 2. if p2 x coordinate greater than p1 (he's in the right side of p1), change p2 direction to left (direct=-1) That's how it works
So I edited the game size to see how it would work with the size I have planned for mine (hope you don't mind me just taking this as my game's engine and building it up to what I need) and now he wont move past the half way point on the screen. Worst part is I can't figure out what's causing it. :/
Either way though this is good. Gives me a basic understanding of what needs to be done for my project. +1