Author Topic: MapEd  (Read 4518 times)

0 Members and 1 Guest are viewing this topic.

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
MapEd
« on: October 24, 2007, 11:18:00 am »
Well, low and behold, I have returned to BASIC! :psychedelic:happy0075.gif

Very bored in class today, I started on what is now MapEd. Currently, I am trying to get TI-Connect installed, so there are no screenshots currently.

My first question is, a nub question  <_<dry.gif , how do I optimize:

c1-->
CODE
ec1
If sum(K={92,82,72,93,83,73,94,84,74
c2
ec2

I remember there being a way, but I just can't remember it.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Liazon

  • Guest
MapEd
« Reply #1 on: October 24, 2007, 11:22:00 am »
cool.  and i duno the optimization ^^

vuurrobin

  • Guest
MapEd
« Reply #2 on: October 24, 2007, 11:53:00 am »
for what kind of calc is this?

and max( is faster that sum(  ;)wink.gif

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
MapEd
« Reply #3 on: October 24, 2007, 12:07:00 pm »
Alright, here is a screenshot:

user posted image

Basically this shows off the current features:

* Switching between characters with F1 and F5
* Scrolling vertically by 1
* Scrolling vertically by paging
* UI

That 0 there is just a debugging variable currently.

Also I need to implement my quick buttons where you can associate a character for buttons -9, and choose them much quicker than scrolling through them.

I need to implement the character picking menu also for those who like to actually see the characters

I need to implement horizontal scrolling and paging, and map displaying, etc.

I have one question though. How do you suggest I show the numbers for when you are scrolling horizontally? I would like it to be like the vertical scrolling numbers, but I don't know how to do it.

Any ideas?

@vuurobin: Could you tell me how to use it? As I said, I am just getting back into BASIC, and I forget how to optimize it. Also, to answer your question, this is for the 83(+)(SE), and 84+(SE).
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
MapEd
« Reply #4 on: October 24, 2007, 01:42:00 pm »
If max(K={92,82,72,93,83,73,94,84,74


:Ptongue.gif
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
MapEd
« Reply #5 on: October 24, 2007, 03:12:00 pm »
How many map editors there is now? O_Oshocked2.gif Regardless cool stuff, I think this should be a good excercise to get back into BASIC programming and you could finally release that starcraft game you promised for months :Dbiggrin.gif


jk about starcraft -.-blah.gif

I will try it when it comes out  :)smile.gif

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
MapEd
« Reply #6 on: October 24, 2007, 03:36:00 pm »
Yeah actually this is just the start of the toolset that I am making for RPGSK 2. After that, I will begin on my own BASIC RPG with RPGSK 2, and my tools.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
MapEd
« Reply #7 on: October 24, 2007, 04:15:00 pm »
ooh i see, an add on for RPG SK ^^ coolness

vuurrobin

  • Guest
MapEd
« Reply #8 on: October 25, 2007, 02:32:00 am »
yea, it seems that RPGSK 2 is spawning a lot of ascii editors.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
MapEd
« Reply #9 on: October 25, 2007, 03:56:00 am »
reminds me of Zerglings in Starcraft %)rolleyes2.gif

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
MapEd
« Reply #10 on: October 25, 2007, 01:51:00 pm »
Why how many ASCII editors are there? As of now, I only know of 1 other ASCII editor.

Anyways I would like this to be a fully featured, and fast ASCII editor. Any features that anyone can think of? I will be posting a new screenshot of this later on.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
MapEd
« Reply #11 on: October 25, 2007, 04:02:00 pm »
There actually aren't that many ASCII editors.  I was thinking the same thing.  It seems like there are a lot of threads about them, but the only ones I could actually find were Vurrobin's, RPGSKII and this one (and you could count my poor attempt if you wanted to).  Weird how we both thought there were a bunch... :???:confus.gif
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
MapEd
« Reply #12 on: October 25, 2007, 05:15:00 pm »
i didnt meant this to offend halifax, i was just pointing out. iirc there is vuurobin, tifreak's and this one, but i am saying because they almost all started at once and I wasn't sure about which others were in the works :Ptongue.gif I prbly thought there was more because I saw at least 10 threads about map editors, but maybe it was threads started by the same person either to get help or because he was making another version) I didn't meant to bash any of them, plus it's cool that Omnimaga has its own :Dbiggrin.gif . I think as feature you should add multiple size map support, built in ascii character selection, if you add dual layer support then allow user to save combination of the chars so its easiter to retrieve them afterward

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
MapEd
« Reply #13 on: October 26, 2007, 04:50:00 am »
QuoteBegin-DJ Omnimaga+25 Oct, 2007, 23:15-->
QUOTE (DJ Omnimaga @ 25 Oct, 2007, 23:15)
i didnt meant this to offend halifax, i was just pointing out. iirc there is vuurobin, tifreak's and this one, but i am saying because they almost all started at once and I wasn't sure about which others were in the works :Ptongue.gif I prbly thought there was more because I saw at least 10 threads about map editors, but maybe it was threads started by the same person either to get help or because he was making another version) I didn't meant to bash any of them, plus it's cool that Omnimaga has its own :Dbiggrin.gif . I think as feature you should add multiple size map support, built in ascii character selection, if you add dual layer support then allow user to save combination of the chars so its easiter to retrieve them afterward  

 Noo, it didn't offend me. I was just asking.  :)smile.gif

But yes, today I finally implemented hotkeys! I just need to transfer it over to my computer, and take some screenshots.

ListCompress: 100%

I, also, started, and finished my list compressor and decompressor today! I figured it would be good to compress RPG save data that is held in lists. So now you can hold even more.

Currently it has limitations due to the way it compresses. All numbers in the lists are required to be non-negative integers that do not exceed 999.

Benchmark: List with 999 elements with numbers 1-999
* Compress: ~9 seconds
* Decompress: ~11 seconds
* Starting size: 9003 bytes
* Ending size: 3009 bytes

So basically in only 9 seconds you can get a 67% compression ratio! :w00t:woot.gif

I will be uploading this also, after I take the screenshots.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
MapEd
« Reply #14 on: October 26, 2007, 05:27:00 am »
Well DJ_Omnimaga I implemented one of the features you requested. Unlimited map sizes:

This screenshot also shows hotkey usage.

user posted image

In this screenshot it shows the byte size, and timings of the compression and decompression

user posted image
There are 10 types of people in this world-- those that can read binary, and those that can't.