Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8212

Timer management

$
0
0

Hi all,

 

I am currently working on a program which is really important. Well... it's a Pacman... (Well, time is quite long sometimes)

In fact, I created it using ALV Grid OO and it works quite well.

 

My characters are moving thanks to a timer (class CL_GUI_TIMER) but the problem is this timer is unable to make my charcaters move more than once per second.

Does anyone know about a preciser timer (which can be called every 0.25s I'd say)?

 

I have another problem, this is not the subject but if by fortune someone knows...

I would like to make my characters move with keyboards arrows, has anyone an idea about how to deal with it?

 

Thanks all for your help.


Viewing all articles
Browse latest Browse all 8212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>