• Advertisement
Sign in to follow this  

Simple game

This topic is 1922 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

Hello gamedev community !

I just want to ask if someone knows a simple 2D(3D too complicate ,right?) game and free source in Java where i can make mods for it.
Because it is preatty hard for me to concep all the mechanics are made in a game so i want to learn in this way how the things are going on.
If you know a better way say it smile.png thanks for reading ! Edited by vladmihail

Share this post


Link to post
Share on other sites
Advertisement

Everyone starts with pong... Just do that. Trust me, there's really no magic going on behind the scenes here. Rarely are there bits of arcane knowledge to be gained by looking at others' code for simple stuff. You'll learn a lot more by doing yourself than you will by watching someone else do.

I started with fully 3D side scrolling plane shooter game in C++ with openGL (something like Einhander). I did it from scratch and it even got couple of shaders there :)
I know how stupid it may sound... It wasn't my idea though :D (I had to do it).

I agree with person above, the real very first game I did was something like space invaders, It got basic logic so I also suggest you to try that :)

Share this post


Link to post
Share on other sites
Pong is a great starting point. It is very straight forward and no real surprises. Just basic movement and collision detection. Space Invaders seems like a logical progression, but as Alpha mentioned, any of those games would be a great place to go as well.

Share this post


Link to post
Share on other sites

You could also do space invaders. That seems to be popular and there's plenty of help online if you get stuck.

True. That's probably a game one should do right after Breakout. They are similar in some respects. Edited by Alpha_ProgDes

Share this post


Link to post
Share on other sites

Here's what I would do:

  1. Pong
  2. Breakout
  3. Space Invaders (credit to GearSlayer360)
  4. Asteroids
  5. Tetris
  6. Pac-Man
  7. ????
  8. Make Money

smile.png

Most importantly, those mechanics are known well-enough that you should be able to code those from scratch. You should not be looking for code for those games ... to mod.


Add Tic-Tac-Toe which is wonderful and under-rated. Make this in your first couple games.

As you make each of these games, look for ways to improve each one. Don't just get them functioning and move to the next, but really develop it. For example, improved physics, artificial intelligence, color changing events (indicates something changed), obstacles, and so forth.


Clinton

Share this post


Link to post
Share on other sites

Everyone starts with pong... Just do that. Trust me, there's really no magic going on behind the scenes here. Rarely are there bits of arcane knowledge to be gained by looking at others' code for simple stuff. You'll learn a lot more by doing yourself than you will by watching someone else do.


Not to speak to the contrary of most assuredly a more experienced programmer, but for beginners really looking to tackle their first project (I do speak from experience here) it can sometimes be overwhelming "putting the pieces together." I've found that it can help to look at the way other people have structured their programs, or ways in which in they manage their data, etc. However, one would be well advised to look for example code that is [color=#800000]not more complicated than you are ready to digest. Also, you're looking to glean ideas here, not foundations; you will learn very little if you "core" a program and decorate it to suit. Edited by Attronis

Share this post


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

  • Advertisement