Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: cooliojazz on November 20, 2009, 11:04:35 pm

Title: Celtic III/XLib Sprite/Map Editor
Post by: cooliojazz on November 20, 2009, 11:04:35 pm
Does what the title says. NO USER FRIENDLINESS!!!! I might add that later just for the heck of it :P
I might add a screenie in a bit. Emulator's being stupid.
The prompt P is for pic number to work on. Map is stored in [A]. Don't try to edit one smaller than 8x12. Also uses (B] just a warning.
Keys:
     Arrows; navigate in either map edit or sprite edit screen
     X,T,O,n; in map edit, goes to sprite edit for current tile, in sprite edit saves current tile and goes back to map edit
     2nd; in map edit places current tile at current position, in sprite edit inverts current pixel
     Clear; in sprite edit cancels back to map edit without changes
     Mode; in map edit quits
     +/-; in map edit changes current tile
I think thats all the keys but I could be wrong...
Also, it's not that pretty, just functional the flashing/grey tile/pixel is the currently selected one. I think that's all...
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: {AP} on November 20, 2009, 11:15:03 pm
Hm... way to steal my program. D=
(Not really, but close...)

Anyway, I tried running it and moved twice and got an invalid dim.
Also, is it supposed to not ask for a map size?
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: cooliojazz on November 20, 2009, 11:18:27 pm
O, sorry, lol.  I just wanted one so i decided to make one :P
and invalid Dim...? is ur map smaller than 8x8?
and no, y would it do that? it doesnt need it...
EDIT: did I say 8x8? O.o I meant 8x12...
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: {AP} on November 20, 2009, 11:36:32 pm
Ah, wait... so you mean I need to set up the matrix size myself?
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: cooliojazz on November 20, 2009, 11:41:25 pm
yep. well, that way it doesnt mess with any premade maps or anything.  you can edit a map that already exists without cutting off half of it because you forgot it's size :P
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: {AP} on November 20, 2009, 11:49:32 pm
Well, in that sense, yours has a bit more base function than mine does.
Mine just MAKES maps so far. Nice work on the program now that I figured out how to work it though. =P
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: megajake03 on November 20, 2009, 11:56:26 pm
A bit hard to work but very cool
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: cooliojazz on November 20, 2009, 11:58:08 pm
Yeah, mines a map EDITOR even tho i'm going to add redimensioning later. Thanks tho, lol.
And I think there might be a big bug.  Anyone tell me if they run into one, cause i cant find it on my calc only when i'm trying to use an emulator for a screenie.
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: megajake03 on November 21, 2009, 12:02:47 am
i didn't see one what did the bug do to you?
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: DJ Omnimaga on November 21, 2009, 01:36:02 pm
mhmm interesting, i might give it a try if I make a game or something. Will you add it to download section when finished?

AP was working on one a while ago but then it kinda died :(
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: cooliojazz on November 22, 2009, 03:55:39 pm
O found bug.  I'll fix it later, but for now i would suggest not using a pic that does not exist.  It doesn't cause anything major, just a minor anoyance.
Title: Re: Celtic III/XLib Sprite/Map Editor
Post by: megajake03 on November 23, 2009, 05:56:54 pm
O found bug.  I'll fix it later, but for now i would suggest not using a pic that does not exist.  It doesn't cause anything major, just a minor anoyance.
will do