Reputation: 12 Tradesman
- Active Posts:
- 30 (0.05 per day)
- 19-June 12
- Profile Views:
- Last Active:
- May 01 2013 04:38 PM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
Posts I've Made
Posted 1 May 2013What have you tried? aaron1178's post gave quite a bit of guidance. You've said your code still doesn't work, but you haven't said which part of his guidance you took.
Also, to be a little picky, if you tidy your code up it may help. Get some comments in there and neaten it up.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Not Quite Known
Pick a style guide and stick to it, mainly for readability and consistency. I like this one: http://www.possibili...ngStandard.html
Post what you've tried, and we can try again to help you.
Posted 21 Jan 2013Yeah, I'm also considering SDL, which is my go-to for a 2D API.
Just looking at the alternatives, too.
Posted 25 Oct 2012Even with your specific requirements there are still a lot of possible choices.
My personal recommendation is to use C++ with SDL. That's what I use when I'm writing small cross-platform games, and it's pretty good. Works perfectly on Windows and Linux, and also Mac I believe, but I have no personal experience there.
You could continue to use PyGame (which I think heavily uses SDL too) but if your game gets big it becomes tricky to distribute (pre-compiled binaries are a little iffy in Python) and there will eventually be drawbacks in the run speed, but that may not bother you too much if your game is only simple.
If your game is indeed very simple, I might suggest having a look at my PurpleEngine project, which is basically a combination of several SDL libraries in a neat little wrapper, for C++. (http://www.dreamincode.net/forums/topic/287940-purpleengine-a-very-simple-library-for-2d-games/)
Many people say that SDL is not sufficient for commercial games, though. OpenGL would probably the suggestion after that, as it's cross platform (which DirectX isn't).
Posted 20 Oct 2012This may seem like a strange question. But what IDE software would you recommend for this kind of task?
I've always used Eclipse but I'm open to suggestions.
I'm a C++ programmer mainly myself, and don't use an IDE most of the time, however I think Eclipse is usually the choice for Java programmers.
It's a question that often comes up, usually the best answer is to either use the most popular one (as it will often have more documentation, plugins, bug fixing, etc.) or to just use whichever one you personally prefer, after all you are the one that's going to be using it! It would make no sense to use an IDE that you struggle with just because somebody recommended it.
Posted 20 Oct 2012A few quick tips that I would suggest following for any game project:
Make a simple game first
You said you're new to games, which probably means you'll be fairly new to the techniques and API used. Make some simple clones of little games (i.e. tetris, space invaders) to familiarise yourself with the tools.
Plan the game properly before writing any code
This is one that most people ignore. You'll probably get to a point where you think "I know what the core game is, I can implement that, then add stuff from there...". Don't work like that. You should make a strict design for yourself to follow, and don't start writing the code until you've designed the entire base game. That isn't to say you can't add to it or amend the design, but it's easier to design your code when you know exactly what it needs to do. Then, once you've finished the game and everything works, it will be time to start working on the additional features you already planned to add.
Okay, it doesn't specifically have to be Git, but use some version control.
Why? - Chances are you'll make a big mistake at some point, and using version control makes it very, very easy to go back to the point before that mistake, and even keep some of the changes that weren't incorrect.
Aside from that, just set yourself milestones to work to, and try to organise what needs to be done for each milestone.
- Member Title:
- New D.I.C Head
- 21 years old
- October 14, 1992
- Full Name:
- Years Programming:
- Programming Languages:
- Website URL: