This site requires JavaScript, please enable it in your browser!
Greenfoot back
xtay2
xtay2 wrote ...

2018/9/1

Simulating a Keypress

xtay2 xtay2

2018/9/1

#
Hi, i have build a game just like doodlejump. You are moving upwards in a world which is 10000 pixels high, but you have to scroll manually with your mouse to keep the camera on the player. Can I move the camera or just simulate that I use the scrollwheel on the mouse? Thx in advance xtay
danpost danpost

2018/9/1

#
xtay2 wrote...
Hi, i have build a game just like doodlejump. You are moving upwards in a world which is 10000 pixels high, but you have to scroll manually with your mouse to keep the camera on the player. Can I move the camera or just simulate that I use the scrollwheel on the mouse? Thx in advance xtay
Please refer to my Scrolling Tutorial scenario.
You need to login to post a reply.