Sign in to follow this  
Ranguna203

Side Scrolling Questions in C++

Recommended Posts

Ranguna203    121
Hello, I'm thinking on creating a side scrolling game.

I have read that Cave Story was programed with SDL library.

I want to create something like that a side-scrolling-shooter-kinda-game with npc interaction, colision, enemies and smooth scrolling camera.

And there are so many libraries for C++ that I don't even know which one to pick.
Any idead where to start?

Thanks for reading [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

Share this post


Link to post
Share on other sites
jbadams    25676
Do you have any previous experience?

You'll need to choose an API (such as [url="http://www.libsdl.org/"]SDL[/url] or [url="http://www.sfml-dev.org/"]SFML[/url]) and go about learning the basics until you're able to create your game; I would suggest starting out by getting a character on screen, getting it to move based on player input, implementing basic physics, etc. If you haven't already done so before, I would recommend starting out with a Pong game, which should teach you all the basics of getting graphics on screen, taking input, game loops, etc.


If you choose SDL you could try [url="http://lazyfoo.net/SDL_tutorials/index.php"]Lazy Foo's tutorials[/url]. For SFML you could try [url="http://www.sfml-dev.org/tutorials/"]the official tutorials[/url] and [url="https://github.com/LaurentGomila/SFML/wiki"]the wiki[/url].


Alternatively, if you'd rather not go through all the programming you could try [url="http://www.scirra.com/"]Construct 2[/url] or [url="http://www.yoyogames.com/make"]Game Maker[/url].


Hope that helps! [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

Share this post


Link to post
Share on other sites
Ranguna203    121
[quote name='jbadams' timestamp='1333887362' post='4929296']
Do you have any previous experience?

You'll need to choose an API (such as [url="http://www.libsdl.org/"]SDL[/url] or [url="http://www.sfml-dev.org/"]SFML[/url]) and go about learning the basics until you're able to create your game; I would suggest starting out by getting a character on screen, getting it to move based on player input, implementing basic physics, etc. If you haven't already done so before, I would recommend starting out with a Pong game, which should teach you all the basics of getting graphics on screen, taking input, game loops, etc.


If you choose SDL you could try [url="http://lazyfoo.net/SDL_tutorials/index.php"]Lazy Foo's tutorials[/url]. For SFML you could try [url="http://www.sfml-dev.org/tutorials/"]the official tutorials[/url] and [url="https://github.com/LaurentGomila/SFML/wiki"]the wiki[/url].


Alternatively, if you'd rather not go through all the programming you could try [url="http://www.scirra.com/"]Construct 2[/url] or [url="http://www.yoyogames.com/make"]Game Maker[/url].


Hope that helps! [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
[/quote]

Thanks I'll try Lazy Foo's tutorials.

Hehehe, I managed to get cave story's source code [img]http://public.gamedev.net//public/style_emoticons/default/cool.png[/img], looks like Pixel forgot to delete it from sourceforge [img]http://public.gamedev.net//public/style_emoticons/default/tongue.png[/img] but it's not complete it's only technical stuff.
If anyone wants it feel free to ask [img]http://public.gamedev.net//public/style_emoticons/default/biggrin.png[/img]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this