i'm making a platformer at the moment for a project but it's my first take on game developing (my programming experience is based off of other apps). I was wondering how you got a few things working here, since i'm concerned about performance:
-Did you use a quad tree for collision detection?
-How did you go about loading the tiles on your level? (did you do it like the starter kit by loading them from a text file?)
-Did you use culling to draw only what's on camera?
Probably not. You should check out the platformer starter kit on the XNA website. That has a lot of the same elements that this has except it has better written code. I'd hate to inflict my code on someone else ;)
hey! that looks great!
i'm making a platformer at the moment for a project but it's my first take on game developing (my programming experience is based off of other apps). I was wondering how you got a few things working here, since i'm concerned about performance:
-Did you use a quad tree for collision detection?
-How did you go about loading the tiles on your level? (did you do it like the starter kit by loading them from a text file?)
-Did you use culling to draw only what's on camera?
seifer877 2 years ago
1) Nope, it's based on the XNA platformer kit so it uses whatever collision it uses.
2) Yep, they're loaded from a text file. I used Mappy to make the maps.
3) uh, I have a check in the code to see if it's onscreen which is based on entity.position + camera.position.
TalkingBalrog 2 years ago
wow, looks like very smooth well designed platforming... any plans to release the source?
sodafountan 2 years ago
Probably not. You should check out the platformer starter kit on the XNA website. That has a lot of the same elements that this has except it has better written code. I'd hate to inflict my code on someone else ;)
TalkingBalrog 2 years ago