Looking at the respond function, right now, I want to make the enemy move randomly around my 2D screen, but currently the problem is that the enemy is placing at my screen randomly instead of moving randomly around openGL screen. Help me what is wrong with my codes, how should I do it to make the enemy move randomly. All my codes worked perfectly expect this.

11-07-2012

evildotaing

This is the code that make the enemy placed randomly instead of moving randomly.