Author Topic: Re-structuring Pictures  (Read 3039 times)

0 Members and 1 Guest are viewing this topic.

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re-structuring Pictures
« on: October 16, 2010, 04:33:08 am »
I was wondering about something, we know axe is able to absorb pictures as tilemap.
[Pic0r]->Pic0

But what about pictures read trough GetCalc(?
Can I also convert pictures to tilemaps while executing the program instead of when compiling?

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Re-structuring Pictures
« Reply #1 on: October 16, 2010, 05:05:40 am »
Yes, but you will have to convert it to the other format yourself.  It takes 3 nested for loops to convert it which is what Axe does internally when you use the tile-map absorption option.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Re-structuring Pictures
« Reply #2 on: October 16, 2010, 07:52:40 am »
Thanks, but another question, is it possible to import prgm's or appvars as tilemap?
For example: [prgmMYGFXr]->Pic0   ? ( I know this isn't possible, but maybe some other way, else its a feature request )
Cause this would save me alot of trouble as well :)

Edit: Don't need it anymore myself, but might be useful for other ppl.
« Last Edit: October 16, 2010, 08:15:46 am by Ikkerens »

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Re-structuring Pictures
« Reply #3 on: October 16, 2010, 10:57:49 am »
That's not a bad idea actually.  It would be really useful in some situations to import data from entire programs or appvars like one of those Axe midi tracks for example.  And most of the code is already written, I would only have to remove the check for pictures and change it to a check for any valid object.  But I don't think anything else will use the r modifier for tilemap importing other than pictures because I can't think of a situation where that would be useful.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Re-structuring Pictures
« Reply #4 on: October 16, 2010, 12:33:27 pm »
Well, in a case where a developer already has all 10 pictures in use, and stores them in programs.
But still, a way to restructure any pic on runtime would be really useful.

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...