Author Topic: Map Editor (Grammer)  (Read 4444 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Map Editor (Grammer)
« 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

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Map Editor (Grammer)
« Reply #1 on: November 11, 2011, 10:24:30 am »
Looks pretty nice.
I'm not a nerd but I pretend:

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Map Editor (Grammer)
« Reply #2 on: November 11, 2011, 11:23:07 am »
Cool! :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Map Editor (Grammer)
« Reply #3 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

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Map Editor (Grammer)
« Reply #4 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.

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Map Editor (Grammer)
« Reply #5 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 :)

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Map Editor (Grammer)
« Reply #6 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

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Map Editor (Grammer)
« Reply #7 on: November 15, 2011, 01:36:48 pm »
Cool idea and that would be easy to implement!

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Map Editor (Grammer)
« Reply #8 on: November 15, 2011, 03:09:31 pm »
Looks nice! =)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Map Editor (Grammer)
« Reply #9 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.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Map Editor (Grammer)
« Reply #10 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

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Map Editor (Grammer)
« Reply #11 on: December 29, 2011, 09:29:22 am »
this looks so nice! :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Map Editor (Grammer)
« Reply #12 on: December 29, 2011, 12:20:40 pm »
* TBO_Yeong is thinking of kinda smooth scrolling with tilemap in Grammer. >:D

I'll tell you the results soon. :D
Sig wipe!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Map Editor (Grammer)
« Reply #13 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 :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Map Editor (Grammer)
« Reply #14 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
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)