Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Xeda112358 on November 11, 2011, 10:11:17 am

Title: Map Editor (Grammer)
Post by: Xeda112358 on November 11, 2011, 10:11:17 am
I looked at an old Grammer program that I wrote as a concept program and I decided I would modify it a bit with new Grammer commands et voila! I have a map editor that is worth showing :D

This is still only a concept program, but you can edit a map with 96 tiles (one screen) and it remains saved to the appvar Maps. There are 16 tiles, currently, but feel free to submit more XD . Hopefully I can end up getting it to edit much larger maps, too, but even better will be when I make an actual Tilemap command XD (it is going to be Pt-Change( I just haven't gotten to it).

Anywho, I digress, so here are the commands:
+/- will toggle through the tiles
[Enter] will set the tile
[Clear] will exit the editor
Arrows move the tile
Title: Re: Map Editor (Grammer)
Post by: aeTIos on November 11, 2011, 10:24:30 am
Looks pretty nice.
Title: Re: Map Editor (Grammer)
Post by: Sorunome on November 11, 2011, 11:23:07 am
Cool! :)
Title: Re: Map Editor (Grammer)
Post by: Xeda112358 on November 15, 2011, 01:24:22 pm
Fwahahaha, with the latest verison of Grammer, I finally added a Tilemap routine. So what did I do? I made this lovely tilemap editor. Also, I will probably have to make a tile editor as well for those who want to ab(use) this program :D

The syntax for editing is still the same, but if you want to open up the actual program and play with it, you can :D
Title: Re: Map Editor (Grammer)
Post by: Scipi on November 15, 2011, 01:29:25 pm
A little suggestion but, you could perhaps make a column on the left or right that shows all the tiles. Sort've like what I have with TileCat.
Title: Re: Map Editor (Grammer)
Post by: Xeda112358 on November 15, 2011, 01:32:59 pm
Hmm, that might be nice... There are 16, so I could have a column of the first 8 tiles on the right, then a blank column, 8 columns of the map, a blank column, then the remaining tiles. It might slow things a bit since the tilemap draws to the full screen and I would have to do some screen shifting, but it might be nicer :)
Title: Re: Map Editor (Grammer)
Post by: Scipi on November 15, 2011, 01:36:05 pm
What you could also do is make the column able to scroll up or down to show the remaining tiles. :D
Title: Re: Map Editor (Grammer)
Post by: Xeda112358 on November 15, 2011, 01:36:48 pm
Cool idea and that would be easy to implement!
Title: Re: Map Editor (Grammer)
Post by: TIfanx1999 on November 15, 2011, 03:09:31 pm
Looks nice! =)
Title: Re: Map Editor (Grammer)
Post by: DJ Omnimaga on December 29, 2011, 02:33:35 am
Looks great, but in the screenshots, it looks like the cursor moves really fast and that the key sensitivity is extremely high. I wonder if it wouldn't be better to have quick key repeat turned OFF or have a small delay when starting to hold the arrow keys down before it starts detecting keypresses faster? Else this might make it extremely hard to select stuff.

Of course that's me assuming it's the same on an actual calc as in WabbitEmu and the screenshots, since I haven't got time to try it yet.
Title: Re: Map Editor (Grammer)
Post by: Xeda112358 on December 29, 2011, 09:20:07 am
Yeah, the actual map editor I use will ignore a key press if it was just pressed. In the screenies, I was just showing off how fast it was xD

Also, As you will see from the screenie, I have not used the Tilecat method yet x.x
Title: Re: Map Editor (Grammer)
Post by: Sorunome on December 29, 2011, 09:29:22 am
this looks so nice! :)
Title: Re: Map Editor (Grammer)
Post by: Yeong on December 29, 2011, 12:20:40 pm
/me is thinking of kinda smooth scrolling with tilemap in Grammer. >:D

I'll tell you the results soon. :D
Title: Re: Map Editor (Grammer)
Post by: Xeda112358 on December 29, 2011, 01:44:09 pm
Hmm, well I was planning on making a smoothscrolling tilemap engine built in, anyway. It will be nice to see the comparison of Grammer smooth scrolling versus Assembly smooth scrolling :)
Title: Re: Map Editor (Grammer)
Post by: DJ Omnimaga on December 31, 2011, 03:18:14 pm
I would like to see grammer smooth scrolling in action. I'm curious how fast it is :D