Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / How to rotate sprite on scrolling map

Author
Message
sskethan
14
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Oshawa, ON. Canada
Posted: 13th Nov 2011 03:25 Edited at: 13th Nov 2011 17:39
I'm not to sure where to go with this. I have the scrolling background setup with collision and shooting in the direction the sprite is facing and the sprite rotates, but it wont stop rotating and continue in the facing direction. I have removed all the media and attached the code. I'm hoping someone here can shed some light on this please.

Ok. I got the sprite to move and rotate around the screen with shooting and a tile background, but i still can't get the scrolling to work. I have attached the media and updated the code.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2022-12-05 05:13:56
Your offset time is: 2022-12-05 05:13:56