Author Topic: TokenIDE - TI-BASIC IDE  (Read 83559 times)

0 Members and 1 Guest are viewing this topic.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Tokens
« Reply #15 on: August 19, 2010, 10:07:47 am »
Wow, that looks wonderful!  Awesome job Merth! ;D

Offline merthsoft

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 241
  • Rating: +63/-1
    • View Profile
Re: Tokens
« Reply #16 on: August 19, 2010, 12:37:16 pm »
Thanks for the encouragement, everyone :)
If you need a complete and current list of all Axe token conversions, the "commands.html" file on the left column shows all the tokens that change and what they change to.  Its included in all zip files, but I can send you a better formatted list if you really need one or I can write the XML myself if you have an sdk for it.
The .xls file is included with the .zip I posted earlier, and that with the already present Tokens.xml should give you an idea of how it works. I plan on writing an actual tutorial closer to the release. If you could just give me a text file that is formatted something like OnCalcToken - Function, so, like:
DiagnosticOn - RunIndicatorOn()
DiagnosticOff - RunIndicatorOff()
Something like that, that would be great. They don't need the parentheses, they can be whatever.

Edit: It just occurred to me that the download link is down, so you can't get the .xls.
« Last Edit: August 19, 2010, 01:35:22 pm by merthsoft »
Shaun

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
Re: Tokens
« Reply #17 on: August 21, 2010, 02:11:06 pm »
Wow I'm glad to see a sprite editor built-in. Should make development much faster, not to mention the sprite editor is included in your software. Nice job.

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Tokens
« Reply #18 on: August 21, 2010, 09:10:57 pm »
this shall be very useful!
release it soon so i can get to work spriting for that one mega rpg that i actually want to make

Offline merthsoft

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 241
  • Rating: +63/-1
    • View Profile
Re: Tokens
« Reply #19 on: August 21, 2010, 09:19:45 pm »
I've added resizing on-load. Here's what I say in my git commit:
Before, when passed in a hex string, the user would have to adjust from an 8x8 sprite to make it look right. Now, the editor will find the closest square sprite that is at least the same size as the passed in hex, align the width with the closest byte (higher or lower), and then trim the height down until it's the right size. While this isn't always perfect, it will, for the most part, get close to the right dimensions.
Download here http://madigan.boldlygoingnowhere.org/Tokens.zip if you want. There are still some bugs, and it might be a little crashy. I think next will be the DCS GUI designer. This'll probably be a pretty big chunk of work.

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
Re: Tokens
« Reply #20 on: August 22, 2010, 03:35:38 pm »
Nice, in your sprite editor I like how we can drag the mouse while holding down the button instead of having to click every pixel one by one. Keep up the good work!

Offline merthsoft

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 241
  • Rating: +63/-1
    • View Profile
Re: Tokens
« Reply #21 on: October 18, 2010, 09:17:58 am »
So I haven't updated here in a while, so this will be a pretty picture-heavy post :)
I've started working on a couple things at the same time for this. The first is the DCS GUI editor, right now you can drag checkboxes (I know they say textbox... oops!)!

Results in:

Code: [Select]
PushGUIStack(0,255
PushGUIStack(7,40,24,0,Unchecked,"
PushGUIStack(7,44,20,0,Unchecked,"
PushGUIStack(7,48,20,0,Unchecked,"
PushGUIStack(7,52,24,0,Unchecked,"
PushGUIStack(7,52,28,0,Unchecked,"
PushGUIStack(7,48,32,0,Unchecked,"
PushGUIStack(7,44,36,0,Unchecked,"
PushGUIStack(7,40,40,0,Unchecked,"
PushGUIStack(7,36,36,0,Unchecked,"
PushGUIStack(7,32,32,0,Unchecked,"
PushGUIStack(7,28,28,0,Unchecked,"
PushGUIStack(7,28,24,0,Unchecked,"
PushGUIStack(7,32,20,0,Unchecked,"
PushGUIStack(7,36,20,0,Unchecked,"
This code actually is wrong, but I've since fixed the output.
I've also made progress in the image editor. These are just some of the shapes that you'll be able to add. There will also be the ability to toggle a grid and set the size (so the grid can be every 8x8 pixels, etc.):

There is also undo/redo, and importing. When you go to import a picture it brings up this crop window:

The black rectangle is what you're selecting to be the picture. It does a simple algorithm to turn in to black and white, and gives you this:

I might do an edge detection thing instead of just is this pixel color average closer to black or white, but that's what it does.

And then you can save it!

This obviously shouldn't be used to replace your current image editor, as I'm not in the business of reinventing the wheel, but it is a nice way to open and quickly convert/edit existing image. And lastly (for now), you can export the image to hex, either in one giant string, or broken up as you see fit. It doesn't do the best error detection, so don't go crazy. 8x8 and 16x16 are built in, the rest you have to go into a custom menu. It's not terribly intuitive, but it works. Here are some screenies:




You can download it here:
http://myserverathome.com/Tokens.zip

Hope it isn't too crashy, though I guarantee nothing.

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
Re: Tokens
« Reply #22 on: October 18, 2010, 02:29:49 pm »
Wow nice update! I love all the features you included in it :)

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: Tokens
« Reply #23 on: October 18, 2010, 03:29:20 pm »
This looks interesting, but even with the online translator, I can not understand what brings this software. DJ, can you explain briefly (by PM in french)?  ;D


EDIT : Error.. I need install a stuff :
« Last Edit: October 18, 2010, 03:32:43 pm by kindermoumoute »
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Tokens
« Reply #24 on: October 18, 2010, 05:56:28 pm »
Looks great Merth!  Nice job! ;D

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Tokens
« Reply #25 on: October 18, 2010, 07:12:20 pm »
Looks great! This is to write BASIC prgms, right? What libs does it support?
« Last Edit: October 18, 2010, 07:12:30 pm by Deep Thought »




Offline merthsoft

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 241
  • Rating: +63/-1
    • View Profile
Re: Tokens
« Reply #26 on: October 18, 2010, 09:14:35 pm »
It's got Celtic, xLib, and DCS support, as in, it puts in the actually command names when you open a file. You should give it a try :)
Shaun

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Tokens
« Reply #27 on: October 18, 2010, 09:17:36 pm »
I'm on someone else's computer that doesn't have .NET :(




Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Tokens
« Reply #28 on: October 19, 2010, 09:01:09 am »
Wow..TI-BASIC editor in PC..
Awesome!
Sig wipe!

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
Re: Tokens
« Reply #29 on: October 19, 2010, 01:29:59 pm »
This looks interesting, but even with the online translator, I can not understand what brings this software. DJ, can you explain briefly (by PM in french)?  ;D


EDIT : Error.. I need install a stuff :

(Il s'agit d'un éditeur TI-BASIC pour PC ainsi qu'un éditeur d'image de calculatrice.)

Keep up the good work merthsoft :D