thanks for the time dude,
As for the tips you give me i see i was working ok, i already had implemented the "enemy chase you" part and the textbox part. Actually i don't use the textbox, i use spriteFont, it should bost the performance cause it easiest to render than text box, if you are not already using it i recomend you to do so,
Now, the critical point, i used cocoonJs, but i can't get it to work, i keep getting this error message:
<font color=red>JSUtilities Exception: TypeError: Result of expression 'a.canvas' [undefined> is not an object. Cause: Tag: timer Function: function () {a.go();}
have you ever see something like that? i'm out of luck man, =D