--> Show Posts - Hayleia --> -->

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Hayleia

Pages: 1 ... 216 217 [218] 219 220 ... 239
3256
Axe / Re: Axe Q&A
« on: August 19, 2011, 12:50:37 pm »
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.

3257
Axe / Re: Axe Q&A
« on: August 19, 2011, 12:47:10 pm »
No, it is an hex code. [01]=b00000001

3258
Axe / Re: Axe Q&A
« on: August 19, 2011, 12:38:36 pm »
"01" is 1 byte=8 bits (hope I am not wrong on that one)
Because each tile is 8 bytes.
...is referring to the sprites: [hexcode]→Pic0

3259
Axe / Re: Axe Q&A
« on: August 19, 2011, 12:31:15 pm »
(°-.-) 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 O.O)

3260
Axe / Re: Axe Q&A
« on: August 19, 2011, 12:16:39 pm »
Spoiler For false:
So If I didn't make a mistake here, this should draw (a part of the map) to fill the screen?
Code: [Select]
.0
[hexcode1]->pic0
.1
[hexcode2]

for a,0,11
for b,0,7
pt-on(a*8-8,b*8-8,{Y*Width+B+pointer}+pic0)
end
end
Thanks 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 ;D

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 ?

3261
TI Z80 / Re: zStart - an app that runs on ram clears
« on: August 18, 2011, 10:17:34 am »
This is Mathprint's fault. I also have that bug even though I don't use zStart.

EDIT: I now use zStart

3262
TI Z80 / Re: Axe Contest Entry: Doodle God
« on: August 18, 2011, 03:21:24 am »
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 :D
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 !!!! ;)

anywhere i can just start on general game mechanics for axe? i know limited basic stuff, just need to get further to get going.
Well, before coding, you should read the Commands.html, and get to know what a pointer is.

3263
TI Z80 / Re: Spacky 2 - Beta Release
« on: August 17, 2011, 02:31:17 pm »
Maybe it was compiled for a shell ???
Maybe buttsfredkin had to use CrabCake and needed to compile for a shell. I don't know.

3264
Miscellaneous / Re: Userbars: Do you make any?
« on: August 17, 2011, 02:00:48 pm »
Just look at the userbars in my signature, I made them all myself! :)
Yay ! I stole you the Omni member one :P but gave you credits

3265
TI Z80 / Re: mrmprog's game (now called Jump)
« on: August 15, 2011, 05:52:06 am »
Maybe you could add masked sprites or "masked sprite", I just learned that from shmibs (so if you use it, give credits to him, not to me).

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).

3266
Axe / Re: Axe Q&A
« on: August 13, 2011, 07:36:04 am »
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 :P
(bad English, French I am, sry).

3267
Axe / Re: Help to use a .8xp
« on: August 13, 2011, 03:08:44 am »
Spoiler For En Français:
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.

3268
TI-Nspire / Re: [TI-Nspire] Make3D - TI-Basic to Lua
« on: August 12, 2011, 08:46:37 am »
I think that there is a confusion with "motor" and "engine". In French, both are translated into "moteur" but "motor" is more for cars.

3269
Other Calculators / Re: Just bought a TI-Nspire CX CAS, came with 3.0.2
« on: August 12, 2011, 02:51:35 am »
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 ???)

3270
Miscellaneous / Re: Types of Cell Phones
« on: August 11, 2011, 03:35:41 am »
??? "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)

Pages: 1 ... 216 217 [218] 219 220 ... 239