0 Members and 3 Guests are viewing this topic.
1. Can axe read from programs stored in the archive? (Then I mean, my program, since my gfx are in a program in the archive)2. I have this program data file (created the same way as an appvar), but its source is open (I can read it using TIOS's edit), how can I lock this?3. Can I "break" loops? For example, I have a for loop that goes from 1 to 10, but as soon as it discovers that number 6 is empty, that it will skip the 7-10 as well?
So... I was working on porting necro's gfx to axe parser format (for my zelda-like game), and I stumbled upon 2 questions.1. Can axe read from programs stored in the archive? (Then I mean, my program, since my gfx are in a program in the archive)2. I have this program data file (created the same way as an appvar), but its source is open (I can read it using TIOS's edit), how can I lock this?3. Can I "break" loops? For example, I have a for loop that goes from 1 to 10, but as soon as it discovers that number 6 is empty, that it will skip the 7-10 as well?
Quote from: Ikkerens on October 04, 2010, 11:45:10 amSo... I was working on porting necro's gfx to axe parser format (for my zelda-like game), and I stumbled upon 2 questions.1. Can axe read from programs stored in the archive? (Then I mean, my program, since my gfx are in a program in the archive)2. I have this program data file (created the same way as an appvar), but its source is open (I can read it using TIOS's edit), how can I lock this?3. Can I "break" loops? For example, I have a for loop that goes from 1 to 10, but as soon as it discovers that number 6 is empty, that it will skip the 7-10 as well?1. Yes, Axe is able to read data from archive. Reading tilemap data and sprite data from the archive is how my Zelda demo worked (It seems that everybody wants to make a Zelda or Zelda-like clone lol)
I suggest looking at page 15 of the Documentation.pdf file. Reading from archive is explained well there, and it has an example too.
HoMM: [==--------] Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :PtiDE: [----------] Explored and understood the main part of the code: just started writing a Tokenizer.