Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in General Gaming. |
Acmlm's Board - I3 Archive - General Gaming - How to make a game [beginner | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Squash Monster Bouncy Since: 11-18-05 From: Right next to myself. Last post: 6306 days Last view: 6299 days |
| ||
Too many beginning game programmers either start with a tool like RPG Maker and never learn how to program for real or start with the crazy notion that they're going to make Doom 4 on their first try.
So I'm going to give you all a piece of advice and all the hard code (in Java). Start with Pong, then make Gradius, then make Super Mario Brothers, then go ahead and make whatever it was you were planning on in the first place. And here's some code: This will show how to get yourself a window, a timer, and keyboard input. Also known as all you should really need to start programming. First, the main class. You may want to rename this from EmptyClass to the name of your game. Excuse the fact that everything's doublespaced, Acmlmboard's treatment of the pre tag is icky.
And now, a class for the "player", or whatever it is that recieves input from the player. This one is a bit more examply.
(edited by Squash Monster on 11-19-05 03:44 PM) (edited by Squash Monster on 11-19-05 04:42 PM) (edited by Squash Monster on 11-19-05 04:55 PM) |
|||
Teundusia Red Cheep-cheep Since: 11-18-05 Last post: 6300 days Last view: 6306 days |
| ||
I think the point you are trying to get across explains DarkBASIC's creation.
Also, how would someone who is a beginner gamer programmer use that? You've given us what we need for a window, a timer and player input, but we now need to find a place that can teach us more... Is it Java? So we need to find a book or website that can teach us Java. And what if they don't wanna learn Java? Your example doesn't help those people. |
|||
Squash Monster Bouncy Since: 11-18-05 From: Right next to myself. Last post: 6306 days Last view: 6299 days |
| ||
Ah, see, I assumed people would see me say it's in Java in that post, and go look into it a bit.
Java is rediculously easy to program in once you learn how to do the stuff that I just showed how to do. If you want to make a game, you're going to learn a programming language. There's no way around it. Even most game making tools have their own stripped-down programming language. Why use a gimped language that only has booleans and if statements when you can take a tiny bit more effort and use one that works? To learn Java, go here: Sun's Java tutorial -- basics. Then here: Sun's Java tutorial -- objects. Then use this for reference: The Java API |
|||
spel werdz rite Since: 11-19-05 Last post: 6299 days Last view: 6298 days |
| ||
Any help for C++?
I downloaded source code for a game, apparantly it's a C++ game and I want to play with it a little. Why do I find it more fun to work on games than to play them? |
|||
Eponick Rat Since: 11-17-05 Last post: 6533 days Last view: 6332 days |
| ||
How do I make games? A Path to Game Development
GameDev.net Tutorials Originally posted by spel werdz rite The above links and a quick google search turned up this site. Originally posted by spel werdz rite Because it is (edited by Eponick on 11-21-05 04:17 AM) |
|||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6299 days |
| ||
Forgive my ignorance but isn't it true that once you have Java or C++ down, all other programming languages aren't that hard? | |||
Eponick Rat Since: 11-17-05 Last post: 6533 days Last view: 6332 days |
| ||
Since I learned C++ I havnt wanted to learn anything else.
It handles anything I want to make so I dont have a reason to |
|||
Squash Monster Bouncy Since: 11-18-05 From: Right next to myself. Last post: 6306 days Last view: 6299 days |
| ||
Originally posted by Thayer Well, no, not quite. Once you have Java or C++ down, about a third of all languages will take roughly ten minutes to learn. A huge number of languages exist that just try to copy one of the two whenever possible. Java and C++ themselves only have around five major differences between them. It's the same with learning an assembly language, or a version of basic. Once you've learned one or two, a lot of languages of the same type are easy. It applies more to the ones like Java and C++, though. I just wouldn't say that it makes all programming languages not hard. I can think of a few programming languages that will always be hard no matter how you slice it. (edited by Squash Monster on 11-29-05 05:39 PM) |
|||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6299 days |
| ||
Isn't that fundamentally what I said? I was asking if after you knew those two, if other languages weren't that hard to learn... | |||
Squash Monster Bouncy Since: 11-18-05 From: Right next to myself. Last post: 6306 days Last view: 6299 days |
| ||
You said all languages. I said about a third.
I think that's a reasonable enough gap to make it a good idea to point out the distinction while answering your question. |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - General Gaming - How to make a game [beginner | | |