Reputation: 2 Apprentice
- Active Members
- Active Posts:
- 116 (0.08 per day)
- 22-April 09
- Profile Views:
- Last Active:
- Apr 08 2012 05:03 AM
- Who Cares
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
Posts I've Made
Posted 7 Dec 2011
Posted 7 Dec 2011Collision will be harder using sprites. It's quite simple to knock up a collision system when using tile maps and it's relatively efficient due to only having to run a small computation to find the tile and check if it can be passed or not.
When using many sprites with different sizes and random locations then you are going to have to check each one individually. Even if you're only using bounding boxes or circles there could be a lot of checks which will slow things down. To make things more efficient you're going to have to use some kind of algorithm like sweep and prune. All of this leads to more code and more need for optimisation.
Hope that helps some
Hm, that is good point, thanks.
Could you give me some information on pixel-perfect (or maybe I should call it differently when speaking of tileboxes) collision detection? I haven't found any (literally) around the net.
Posted 7 Dec 2011Using tile maps makes making / changing you maps less tedious, Using tile maps will take up less memory and it is also easier to handle collisions.
Memory shouldn't be a problem, I'm not targeting Pentium 2s, I'm targeting at least Pentium 3s/4s.
Also I disagree about the collisions. Making a staircase or just a smooth location is extremely hard - or I don't know something I could've used. If it's just a *cube* collision, then it is rather easy, yes.
Posted 19 Oct 2011You might consider looking at Box2D, they have pretty cool stuff for physics. Although I'm programming physics myself for my game too... That's basically logical understanding of physics (or actual knowledge of physics + less logical understanding of physics), and I'm going for the former myself. A bit hard, but fun and pays off well.
Posted 19 Oct 2011I agree with ButchDean, although IF there wold be much content, it would be a great idea. On the other hand, if there is XNA-specific sticky, there should equally be X-specific stickies...
Anyway, I voted no for the same reason ButchDean did.
- Member Title:
- D.I.C Head
- 21 years old
- October 9, 1991
- The edge of the Milky Way
- Main interest of course is IT, especially interested in game programming. However I am interested in nearly everything on a low-average level.
- Full Name:
- Years Programming:
- Programming Languages:
C/C++ (moderate knowledge)
Win32/Direct3D (moderate knowledge)
Pascal (unfortunately have to learn at school, fortunately last year)
HTML/CSS/SQL (not learning, just know the basics from experience)
newn hasn't added any friends yet.