Well done for such a small amount of work. I've been writing code for years, and one of the few places I haven't delved into yet is game programming. Other than writing the start of a chess AI long ago for a C++ class.
And truly, simplistic is often the best route to start with. :)
4
u/CharlieFacee Jan 11 '13
I'm not very good at coding i just do it at college(not uni) for an A level
I just used 4 timers among some other things
one of them just gives me the position of the player
one of them moves the "enemy" towards the player depending on its posistion
I use another timer to tell me if i need my enemy to keep moving in a certain direction to get closer to the player
and the last timer i use to tell me if the player position is the same as the enemys
it's very simplistic but thankyou :)!