Loading...

Java 2D Game Programming Platformer Tutorial - Part 1 - The Game State Manager

620,760 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Apr 13, 2013

IMPORTANT INFO:
This is an extremely old tutorial, back when I was a noob at game programming. One of the most destructive parts of this crap code is the multi-threaded key input. Swing puts all KeyEvent firings in a separate thread, so I implore everyone to look at video 9 (final - Artifact game) of this tutorial to check out the Keys class in the source code so as to put all game logic on a single thread.

This is a new tutorial series.
The game is a tile based, side-scrolling platformer.

The goal of this series is about helping you come up with ways to organize your games.

About the Background, I just forgot to mod the x and y in the update() method. Just look at the setPosition() method to fix it.

IDE: Eclipse
http://eclipse.org/

Resources:
https://www.dropbox.com/s/r3x5cfumgdd...

All resources are free for any use. Giving credit isn't required, but it would be cool.

Link to eclipse project (and Resources) for part 1:
https://www.dropbox.com/s/kgiumbo94ye...

Tile Map Editor:
https://www.dropbox.com/s/3x90no0pmqg...

Killer Game Programming in Java sample:
http://fivedots.coe.psu.ac.th/~ad/jg/
http://fivedots.coe.psu.ac.th/~ad/jg/...

Blog:
http://neetlife2.blogspot.com/

  • Category

  • License

    • Standard YouTube License

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...