General discussion about LÖVE, Lua, game development, puns, and unicorns.
4 posts • Page 1 of 1
The wiki has a tilemap tutorial (http://love2d.org/wiki/Tutorial:Efficie ... _Scrolling). I tried it, and it works all fine. But im wondering about one thing; how can i change what the map generated is? Its for a new game im making (again, lol).
I can't come up with a good signature!
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
I haven't got time to look at the tutorial, but I think it would have something to do with either adjusting the Quad viewports (x, y, width, height) or changing the positions of where you add tiles to the SpriteBatch. kikito has a tutorial on tiles; it's still a work in progress, but it might help.
You need to create another map table and use that. If you're talking about the actual contents of the map, then you either need to change the section of code that creates the map object (the nested for loops) or create some kind of level editor - this would probably be overkill for you.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
Users browsing this forum: No registered users and 20 guests