This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
It's not a secret anymore!