0 Members and 1 Guest are viewing this topic.
If your pics are in order, you can do "C*8+Pic0" and it will be the same as "PicC"
I have another question: Is it possible to display the contents of a variable as a string? For example, I have 100 stored in L (for lives or something), and I want to display "LIVES: 100". Is it possible yet to do this with Axe? Because I tried using Output(X,Y,L) and it didn't work.
100 Lives? That's a lot!You're clearly thinking about how basic uses Output() which is not how Axe uses it. In Axe, the last argument is the address of a string you want to display, not the value of the number. If you want to instead display the number in base 10, you use >Dec at the end.I think everyone would benefit by reading the documentation all the way through, maybe more than once, and then ask questions if you are unclear about a description. A lot of these questions can be answered there. But also, I think its the general unfamiliarity of pointers, arrays, and unsigned arithmetic that are throwing people off. A new tutorial should address these issues. Would anyone like to help me write one if you have a clear understanding already? I think it would really clear up a lot of the confusion.
Interesting. I like that it will draw sprites like that. Cool! Quote from: trevmeister66 on March 06, 2010, 04:45:36 pmI have another question: Is it possible to display the contents of a variable as a string? For example, I have 100 stored in L (for lives or something), and I want to display "LIVES: 100". Is it possible yet to do this with Axe? Because I tried using Output(X,Y,L) and it didn't work.Use Output(X,Y,L>Dec) //The >Dec is [Math] [2]Good luck!