Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > collision detection
2007-07-28 12:32
Iapetus/Algarbi/Wood

Registered: Dec 2004
Posts: 71
collision detection

Hello all,

I am programming a game and I have started to program the movement of the main character, I am using the bitmap mode, I have created a table where I store the position of obstacles. I read this map to check if the sprite is touching a tile or not to the left, right, up and down. I would like to know what approaches do you use or would use in this case. the protagonist should walk and jump over tiles. Is the collision detection from vic any good?
 
... 10 posts hidden. Click here to view all posts....
 
2007-07-28 15:13
Oswald

Registered: Apr 2002
Posts: 5094
well allright then. you got your algorythm wrong. try a troughout testing with nailing the problem down to extremely simplistic situations.
2007-07-31 18:20
Iapetus/Algarbi/Wood

Registered: Dec 2004
Posts: 71
It is working now, it was a tiny bug but that made me think that the collision detection routine was wrong, I was not updating one variable somewhere :S grrr thank you guys for the help
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
iceout/Avatar/HF
Mike
Andy/AEG
A3/AFL
MCM/ONSLAUGHT
Alakran_64
sln.pixelrat
BYB/Hokuto Force
Peacemaker/CENSOR/Hi..
No-XS
Raf/Vulture Design
Guests online: 160
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 X-Mas Demo 2024  (9.5)
7 Dawnfall V1.1  (9.5)
8 Rainbow Connection  (9.5)
9 Onscreen 5k  (9.5)
10 Morph  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.033 sec.