Summary
In this version, we added camera layers, and a basic AI!
Camera Layers
So there are actually 2 layers now, even though it could look like three… first layer, is the background (No more green screen!!) second layer, is the game, third layer is basically re-using the 1st layer to draw on top of the whole game. Since the 1st layer isn’t moving, well for now, we are just re-using the coordinates from it.
AI
The AI is fairly simple for now, the character chooses random direction (Left or Right) or to rest for a bit, and for what distance to do that. There is also a target system, once you hit the enemy, it will try to follow you, the enemy cant damage you yet bit it does freak out in order to reach you…