Anyone want to help me out!??!?
Sooooo...
If someone could help me out please!!!
I've been looking online for AGES and I still can't find a good c++ with Allegro/SDL 2-d side-scroller!!!
If anyone could make a tutorial/post a heavily commented source code for a mario clone/any side scroller I would be SOOOOOOOO happy!!!
I have wanted to make a mario clone for ages and I've been learning c++ for about 6 monthes. I have what I would call a basic knowledge of it (I've covered classes, functions, arrays, strings. basic stuff really.)
Would anyone mind telling me what I should learn now and also what game library thingy should I learn. (Allegro/SDL I'm not really sure what else...)
Sorry if I'm really vague and un-clear, I'm a total noob!!!
BTW, PLEASE PLEASE PLEASE no one say something like "Go learn more C++" or something to that effect. I'm going as fast as I can because I'm in school/study from 9 A.M until 7 P.M so I'm fully pre-occupied with exams and all.
If someone would post a REALLY heavily commented code for a side scroller and tell me what I should learn I will study that until I understand it completely. Thanks for reading my way-to-long post and if you comment, better again!!!
This game is kinda bad LOL but it is a side scroller and open sourced
http://members.shaw.ca/patricktuckey/Terrible_Land/
Theres a bunch of other ones here:
http://www.libsdl.org/games.php
http://members.shaw.ca/patricktuckey/Terrible_Land/
Theres a bunch of other ones here:
http://www.libsdl.org/games.php
Well if free time is luxury then I would say not "go learn C++" but go learn python and pygame.
C++ if a fine language but it need a much bigger commitment than python.
Of course even with python , making a mario clone is not ideal and will be proven too difficult for you. You are better with a much smaller project that you can expand slowly.
So my advice is start from extremely easy and basic and move up to something more complex slowly. Give time to yourself to learn and most important to understand. Learning and understanding is two diffirent thing both highly important.
I dont think that seeing source code will help you much if you dont understand programming.
C++ if a fine language but it need a much bigger commitment than python.
Of course even with python , making a mario clone is not ideal and will be proven too difficult for you. You are better with a much smaller project that you can expand slowly.
So my advice is start from extremely easy and basic and move up to something more complex slowly. Give time to yourself to learn and most important to understand. Learning and understanding is two diffirent thing both highly important.
I dont think that seeing source code will help you much if you dont understand programming.
I believe the book Game Programming All in One actually has a chapter or 3 on making scrollers with allegro. Source code included. Covers the use of Mappy for making maps and levels and then it covers timing and scrolling and junk. Might want to look into that book.
http://www.amazon.com/Game-Programming-All-Jonathan-Harbour/dp/1598632892/ref=sr_1_3?ie=UTF8&s=books&qid=1259962385&sr=8-3
a link to the book.
http://www.amazon.com/Game-Programming-All-Jonathan-Harbour/dp/1598632892/ref=sr_1_3?ie=UTF8&s=books&qid=1259962385&sr=8-3
a link to the book.
In my opinion, I'd be able to understand the source code, I just can't find any!!!
I would like to learn some other language at some stage but for the minute, I'd like to focus on C++. @Atrix256, I'd like if I could manipulate and fool around with the source code on a game, not sure if something like that exitsts, but...
Thanks for yere input!!! Any thoughts on SDL or Allegro or what?
Also, now that I think of it! I'll probably be getting some books for christmas, any ideas for c++ or whatever language you'd reccomend for graphics 'nd all???
Thanks again!!!
I would like to learn some other language at some stage but for the minute, I'd like to focus on C++. @Atrix256, I'd like if I could manipulate and fool around with the source code on a game, not sure if something like that exitsts, but...
Thanks for yere input!!! Any thoughts on SDL or Allegro or what?
Also, now that I think of it! I'll probably be getting some books for christmas, any ideas for c++ or whatever language you'd reccomend for graphics 'nd all???
Thanks again!!!
If what you're after is getting a chance to look at code so you can learn the concepts behind making a game (and specifically a 2d platform game), you could look at some C# code.
At the XNA Creators Club downloads page, you can download Visual C# Express and XNA Game Studio 3.1.
From there you can use the Platformer starter kit that is automatically installed with the above downloads. It is a fully functional platform game.
And this tutorial of sorts, walks you through the code and how it all interacts, as well as some suggestions about expanding the game with hints on how to go about doing so.
You'd have to translate those concepts over to C++/SDL on your own, but ultimately that's part of programming.. taking a concept from a different language or with no code at all, and making work in your language/api/system.
At the XNA Creators Club downloads page, you can download Visual C# Express and XNA Game Studio 3.1.
From there you can use the Platformer starter kit that is automatically installed with the above downloads. It is a fully functional platform game.
And this tutorial of sorts, walks you through the code and how it all interacts, as well as some suggestions about expanding the game with hints on how to go about doing so.
You'd have to translate those concepts over to C++/SDL on your own, but ultimately that's part of programming.. taking a concept from a different language or with no code at all, and making work in your language/api/system.
thanks very much guys!!!
I looked on amazon and I saw a book called Game Programming All In One Third Edition by Jonathen S. Harbour...
Any thoughts on it???
(link here!!! opens on a new page)
I looked on amazon and I saw a book called Game Programming All In One Third Edition by Jonathen S. Harbour...
Any thoughts on it???
(link here!!! opens on a new page)
http://en.wikipedia.org/wiki/Blob_Wars
It's GPL, they even have some SDL game tutorials in their homepage:
http://www.parallelrealities.co.uk/blobWars.php
It's GPL, they even have some SDL game tutorials in their homepage:
http://www.parallelrealities.co.uk/blobWars.php
Quote:Original post by soitsthateasyYou're listing your experience in terms of what language features you've learnt. In my experience when that's all someone lists, they often don't have a very strong knowledge of the language yet.
I have wanted to make a mario clone for ages and I've been learning c++ for about 6 monthes. I have what I would call a basic knowledge of it (I've covered classes, functions, arrays, strings. basic stuff really.)
When you've implemented certain types of data structures and algorithms, and used them to make certain kinds of useful programs, then you have a better understanding of the language. The concepts tend to stick a lot more when you have to use them to achieve some other purpose. Learning how things work doesn't equal experience using them.
So do tell us what kinds of programs you have written etc. For example, you might have written a sudoku solver, or you might have written a blackjack game, or you might have written a bitmap loader, or a linked-list. Anything like this shows us lots more about your skillset. For example, a Sudoku solver would tell us that you're comfortable with arrays and recursion, amoung other things.
Quote:Original post by soitsthateasy
thanks very much guys!!!
I looked on amazon and I saw a book called Game Programming All In One Third Edition by Jonathen S. Harbour...
Any thoughts on it???
(link here!!! opens on a new page)
I think you need to have experience with object oriented programming, data structures(containers) and inheritance first before you think about making a game.
Don't waste your money on that book. It's boring. Do it from scratch or you won't learn a thing.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement