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! / stopping sprite run off screen

Author
Message
DaedalusX
21
Years of Service
User Offline
Joined: 10th Mar 2004
Location:
Posted: 28th Oct 2004 01:50
i have forgetten the code to do this nor can i find it, any ideas?

Daedalus
Old Wrinkly
22
Years of Service
User Offline
Joined: 14th Dec 2002
Location: Nth Devon UK
Posted: 28th Oct 2004 02:09
If you are increasing "X" to move across the screen and you want it to start again at "0" or a - figure just do the enclosed code
This is surmizing your screen is 640, 480

OldWrinkly
DaedalusX
21
Years of Service
User Offline
Joined: 10th Mar 2004
Location:
Posted: 28th Oct 2004 21:02
thanks i remember it now

Daedalus
DaedalusX
21
Years of Service
User Offline
Joined: 10th Mar 2004
Location:
Posted: 28th Oct 2004 21:09
worked sweetly many thanks

Daedalus
Old Wrinkly
22
Years of Service
User Offline
Joined: 14th Dec 2002
Location: Nth Devon UK
Posted: 29th Oct 2004 05:22
you'r welcome.
Have a look at the code and graphics in the "sentry" Question, Might interest you.

OldWrinkly
DaedalusX
21
Years of Service
User Offline
Joined: 10th Mar 2004
Location:
Posted: 29th Oct 2004 05:33
what does that mean?

Daedalus
Old Wrinkly
22
Years of Service
User Offline
Joined: 14th Dec 2002
Location: Nth Devon UK
Posted: 30th Oct 2004 01:25
"sentry type anim " Question just under your Question.

OldWrinkly

Login to post a reply

Server time is: 2025-05-16 02:35:27
Your offset time is: 2025-05-16 02:35:27