um.. I am not English so the word digit is a bit lolwut for me. The map reader, in [01] understand the number 1, and by [FF] understands 255 if that helps.
(°-.-) sorry, I did not read properly. I put in a spoiler so people don't get wrong by reading me. (lol I got wrong even if I made a game based on tilemapping )
for a,0,11 for b,0,7 pt-on(a*8-8,b*8-8,{Y*Width+B+pointer}+pic0) end endThanks a lot Final Ti.
Nope, better like this (In black, your correct code. In red, your wrong code. In green, corrected code,) .0 [hexcode1]->Pic0 .1 [hexcode2]
for a,0,11 for b,0,7 For(A,0,11 For(B,0,7 .not really an error but not written with the exact syntax pt-on(a*8-8,b*8-8,{Y*Width+X+pointer}+pic0) Pt-On(A*8,B*8,{Y*Width+X+Pic0} .you put +pointer but the pointer is Pic0 here .your X and Y must play with A and B according to the character's placement End End
Maybe I made a mistake, I am not an uber programmer
I also have a question. How do we handle 2 bytes data ? (Axe 0.5.3 user) To have 65535 and 65535 at GDB1 and GDB1+1, do I do Data(65535r,65535r)→GDB1 or Data(65535,65535)r→GDB1 or Data(255r,255r,255r,255r)→GDB1 etc... and to read, I use {GDB1r} or {GDB1}r ?
I agree with buttsfredkin. I started my Pokemon Game with no experience in Axe (but with knowing Basic) and I got a non-optimized Pokemon Game but still a Pokemon Game. Then, I noticed some stupid things in my code and optimized and all and now I'm pretty proud of me In French we say "C'est en forgeant qu'on devient forgeron" In English, in the context it would give "It is while programming that we learn how to program" or something. So... watcha waitin' for ?!? Start coding !!!!
a simple way to do masked sprites, if you don't feel like messing around with ptmask(, is to OR the entire area you want the sprite to take up and not be transparent, and then XOR all the white spaces. i already have the character sprite above broken into the parts to be OR'd and XOR'd.
here's another pic to help explain the OR/XOR thing better.
Spoiler For image:
the first row of sprites is displayed with PtOn(, the second is displayed on top of them with PtChange(, and the third row is the end result. those black things underneath the sprites are shadows which are displayed when he jumps down a ledge. they aren't displayed when walking normally.
Also, if you only use horizontal (or vertical lines), you can replace them with rectangles. If I am not wrong, every Line call and every Rect call takes 14 bytes, but the line routine takes 158 bytes while the rectangle one only takes 114. But I am not sure, and this is not a very important optimization (also, the rectangle is not Rect(X,Y,X,Y) but Rect(X,Y,width,heigth) so it can be hard to change in your code).
Well, for me, I learnt Basic by using people's code. And then, Axe came quite easily, even if the commands are different (but my optimization is zero). But learning Axe by using people's code could be difficult, I even have difficulties to read myself sometimes (bad English, French I am, sry).
Pas vraiment a propos, mais tu peux te présenter ici. Ensuite, je vais te donner une petite explication car il est vrai qu'en France, on a pas beaucoup d'infos, dû au manque d' intérêt pour les calculatrices. Tu as deux types de programmes: ceux en Basic et ceux en ASM. Ceux en Basic peuvent être lancés directement via l'OS de la calcu si ils sont désarchivés, sans avoir besoin de shell. Il y a plusieurs types de programmes ASM -Les progs noshell peuvent être lancés sans shell en utilisant Asm(prgmNOM (si désarchivés). -Ceux qui ont besoin d'une shell... ont besoin d'une shell. ---La shell Ion peut lancer les programmes Ion (je m'y connais pas trop a propos de cette shell) ---La shell MirageOS peut lancer les programmes Ion, les programmes MirageOS et certains programmes Basic. ---La shell DoorsCS peut tout lancer, dont les programs noshell, les Ion, les MirageOS, les Basic, et les DoorsCS (mais ces derniers sont rares). Tous ces programmes ont l'extension 8xp. J'espère avoir été utile.
Spoiler For In English:
Not really ontopic, you could go introduce yourself here. After, I'll give you a little explanation because in France, people are not really interested in calcs, so people that are interested don't find a lot of informations. You have 2 types of programs: the basic ones and the ASM ones. The basic ones can be runned directly from the TI-OS if unarchived without the need of a shell. There are several types of ASM progs. -The noshell ones that can be runned without a shell by using Asm(prgmNAME (if unarchived). -The shell ones that need a shell. ---The shell Ion runs the Ion progs (I am not very informed about that shell). ---The shell MirageOS runs the Ion progs, the MirageOS progs, some basic progs. ---The shell DoorsCS runs everything including noshell progs, Ion progs, MirageOS progs, Basic progs, DoorsCS progs (but those are very rare). All of those progs have the same 8xp extension. Hope that clears things a bit.
I will. Also, I'm not really a programmer. I just want to learn how to run games at the moment.
Used to be me too but then I realized that programming would allow me to make my own games, exactly like I want them to be. In fact, I started by modifying an ugly game (and that race game turned into Guitar Hero )
"sillyphone" doesn't mean "not smartphone" but "sillyphone": mine has the screen that flashes and 3 buttons that do nothing if you press them too high. But if my parents agreed, I would have some of those Samsung Galaxy (S, Ace or SII, not Naos)