![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on [Release] LuMM within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I've made a 2d tile map editor for Lua. I'm still working on tile rotation, but otherwise it's far enough ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
I've made a 2d tile map editor for Lua. I'm still working on tile rotation, but otherwise it's far enough along for an initial release. You'll need to have the lua player installed, just copy the LuMM folder to the applications folder. LuMM.lua is the editor itself, demo.lua is a little demo of one way that you can use the map data created by the editor
here's the text from the readme file: Code:
Lua Map Maker
By Merick
March 2007
This is a basic 2d tile map editor for lua games.
Features:
-- edits map in 3 layers:
ground layer : the basic map area
object layer : assigns a number value to the current tile area
0 is not displayed in the editor. In my demo, I
used 0 for walkable area and set 1 to indicated
an impassable barrier
overlay layer : this layer is for images that the player can walk behind
-- tile rotation - still working on this, not yet implemented
-- saves / loads map info to a single data file
Controls:
start menu - d-pad up/down to change selection, cross to start
text input for create new project:
left trigger = numbers
right trigger = shift
D-pad up = backspace
start = accept name
analog and buttons = select letter
file broswer for loading projects:
d-pad up/down to change selection, cross to start
map edit mode:
start = brings up save/quit menu
d-pad = change current map location
square = put tile down
cross = erase tile
triangle/circle = cycle through tiles / object numbers
right trigger = cycle through layers
left trigger + d-pad left/right = change tile rotation (not implemented yet)
to do list:
-- finish tile rotation
Credits:
File browser for loading projects edited from Tactical Penguin's
Uses cancan's version of the Danzeff OSK for text input
-- Rotation - although not implemented yet, KleptoOne is
helping to figure this out
tablesave functions - author unknown but found at:
http://lua-users.org/wiki/SaveTableToFile
The sample tiles included are from a set made and released to the public
for free use by Danc at Lost Garden. The full, unaltered set can be found here:
http://lostgarden.com/2006/02/250-free-handdrawn-textures.html
The tower and tree images are from here: http://reinerstileset.4players.de/englisch.htm
Special thanks to everyone at QJ.net, Evilmana, and PSP3d
who help me figure some of this stuff out.
Last edited by Merick; 03-11-2007 at 08:15 AM.. |
|
|
|
|
|
#4 |
![]() ![]() Developer & 300k Hot
|
Very good this will be useful.
__________________
Code:
People who have donated: HaxxBlaster 1000pts - Thank you HaxxBlaster Savagefreak 500,000pts <- Wow Thankyou V Much Zeemon 500,001pts <- Cool, Cheers papayo 100,000pts <- Thankyou Very Much It is Very Greatly Appreciated. Dcahrakos 1500pts <= Cheers Dcahrakos xpack 5000pts <= Thank you xpack :-] Goth Bear Theme (The bear changes colour) PC2PSP final version (maybe) Basilisk II mac Emulator for PSP files My Website:http://prox9.dnsalias.com |
|
|
|
|
|
#7 |
![]() |
no idea, they look fine to me:
-= Double Post =- hmm... there's something in my code that I've been trying to figure out, and it's annoying me that I can't find the answer Code:
if scposX > (240+(map.tilesize/2)) and ((map.xsize*map.tilesize)-(xpos*map.tilesize)) > (240-map.tilesize) then Xoffset = Xoffset - map.tilesize end if scposY > (136+(map.tilesize/2)) and ((map.ysize*map.tilesize)-(ypos*map.tilesize)) > (136-map.tilesize) then Yoffset = Yoffset - map.tilesize end if scposX < map.tilesize then Xoffset = Xoffset + map.tilesize end if scposY < map.tilesize then Yoffset = Yoffset + map.tilesize end Last edited by Merick; 03-11-2007 at 10:32 AM.. Reason: Automerged Doublepost |
|
|
|
|
|
#10 | |
![]() |
Quote:
|
|
|
|
|
|
|
#11 |
![]() |
make sure you update and make sure you fix bugs, people will love you for it
![]() great job
__________________
[URL="http://jomann18.deviantart.com/"][IMG]http://img242.imageshack.us/img242/5020/bestsigeveraw1or8.png[/IMG][/URL] [COLOR=Red][B][SIZE=3][URL="http://jomann18.deviantart.com/"]Hey look its a link to my deviant art maybe you should click it just for kicks eh?[/URL][/SIZE][/B][/COLOR] |
|
|
|
|
|
#12 | |
![]() |
Quote:
|
|
|
|
|
![]() |
| Tags |
| lumm , release |
| Thread Tools | |
|
|