I was wondering if any of you could spare me some time to go over some collision detection on my platform engine.
i tried XNA a few years back but for reasons i wont go into online could not continue, my health is now at a state where i am ready to try again but due to my current circumstances (and age) schooling is out of the question so i turn to you guys for help.
Whilst i can adapt the MS sample ok and have some great features, you will agree modifying code is not really learning.
So i have spent the last couple of week going over my old MS code and lots of stuff online and decided on what i want and have ported most of it over to code that i understand 90% of.
I have my player class that moves about, jumps with gravity, has animations and a bounding box that follows it around.
I have my map & basic level class to load levels from text files.
Its just how i handle the collisions that i am struggling with as i will want per pixel collision on some tiles(i have code for this in a pong game i made so that should be ok).
I'm pretty clear in my mind on what i need to do its just putting it in code and in the right place, here's what i was thinking.
I was going to do it all in layers, have a tile layer, a collision layer & an item layer this way i could make a nice map editor in Win Forms at some point.
Anyway i need to read in the collision layer the assign each tile a rectangle and collision property, and this is where i get me.
Would any of you be able to spare some time and go over this with me ?
I will post some code later
Regards
Del