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.

Author
Message
Chaos
22
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 13th Apr 2003 18:57 Edited at: 13th Apr 2003 18:57
i was wondering if any could help me with my code i want to make it so that when my character hits the 1 data he stops so it is like a border around the field.

my code is attached


thanx in advance
note this is in DBC

Darkworlds are all around us
most of us are still half asleep
Current project : Creature tournament
Chaos
22
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 14th Apr 2003 21:18
Noone knows at all??????????

Darkworlds are all around us
most of us are still half asleep
Current project : Creature tournament
Hell IVIonkey
22
Years of Service
User Offline
Joined: 1st Apr 2003
Location: Outer Limits
Posted: 15th Apr 2003 05:32
change:
if data = 1 then paste image 2,b*20,a*20,1

to:


I didn't test your program or my solution, but from experiences, this should work. Or at least be pushing you in the right direction. Let us know if you want to implement sliding collision (which isn't much harder than this).
Chaos
22
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 15th Apr 2003 21:06 Edited at: 15th Apr 2003 21:24
It works when the left and top collide but not when the right and bottom collide is there a way to fix this?????

EDIT

N/M worked it . Thanx now i can start developing my 2d game.

Darkworlds are all around us
most of us are still half asleep
Current project : Creature tournament
k0shi
22
Years of Service
User Offline
Joined: 30th Dec 2002
Location: Cyberspace
Posted: 18th Apr 2003 08:00
try sourcecode this its alot more faster when u change the 0 to spaces in a data command and its simplier to understand.

im the only one thats normal in this world.
everyone else is weird.

Login to post a reply

Server time is: 2025-05-19 00:59:31
Your offset time is: 2025-05-19 00:59:31