File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Game Development and the fly likes Platform game background map Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "Platform game background map" Watch "Platform game background map" New topic

Platform game background map

Muteking Tonello

Joined: Jul 18, 2013
Posts: 8
I'm developing my first game. I made the character and he's jumping around a single screen. I want to do something like Mario, but with slopes. I didn't find a step by step explanation on building a sidescrolling environment.
My few, confused ideas, for now are these:

Make a Tilemap class (with fields containing positions and number of tiles)
Break the painted map into tiles with arrays
Combine them and generate a level

I've never seen somebody doing that. So I ask if I'm pointing in the right direction, and if there are good resources to tackle the problem (again with a deep explanation).

I agree. Here's the link:
subject: Platform game background map
Similar Threads
What should a 2d tile-based map basically have???
Need help with centering screen
Developing Games in Java does anyone know if this book is any good?
Multiple MouseListeners vs single listener
Tiles problem