Jump to content
  • Advertisement
Sign in to follow this  
Xeom

2d side scroller

This topic is 3868 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What are my api options when cosidering something like a 2d side scroller? I really don't want to use something like XNA because its just so heavy for something that would normaly be 10-20mb.Simple and "easy" is my aim. I don't even know what programing language im going to use yet(C++ i figure). Are there any articles on what i believe is called pixel physics. A good example of this would be a game named "Cortex commander"(google).And would that be compatible with more conventional physics like chipmunk physics engine?

Share this post


Link to post
Share on other sites
Advertisement
i usually recommend
http://hge.relishgames.com/

for all 2d project that should be kept "simple". Check it out (you must know c++)

E

Share this post


Link to post
Share on other sites
Python + Pygame is a good choice if you're going for a simple 2D game. It's a lot easier and faster to work with than, say, C++, once you get the hang of Python - which probably shouldn't take long.

As for pixel-precise collision detection, it's often not the best approach (for both performance and gameplay reasons - getting stuck on a few left-over pixels isn't fun). For games that allow holes to be blown in the environment, it's probably the most straight-forward option, but for mostly anything else, it's better to use simple shapes such as boxes and circles.

As for physics, I haven't really investigated physics engines, so do you need full physics, or does a simple collision system suffice? Either way, there should be some Python bindings available for some physics engines.


In the end, it depends a lot on what you want and need, and what your personal preferences are. Good luck with your game. :)

Share this post


Link to post
Share on other sites
Yea destructable terrian was something i really wanted. HGE looks like a good engine. Im just worried i wont be able to modify it enough. For things like pixel physics something really want to use.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!