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 - aeTIos
Pages: 1 ... 83 84 [85] 86 87 ... 274
1261
« on: November 10, 2012, 12:38:12 pm »
so this is the way you have it stored: {taken,x,y,piece}taken is the 0th element in this so-called array. To access the nth variable of the pth piece, you need to do this: {p*4+n+L1}p needs to be multiplied by four because each piece uses up 4 bytes of data in the array. Hope that explains it And I agree with Hayleia that a 64-byte array for representing the board would be handier. But that's your choice
1262
« on: November 10, 2012, 09:45:24 am »
I did not know. I don't really care either since I never see them
1263
« on: November 10, 2012, 09:25:41 am »
It is caused by programs messing with the VAT (variable allocation table iirc). Make sure all hooks are off then do a RAM clear. EDIT: and did you uninstall zStart on 2.55? REALLY uninstall? (as in, undo run on RAM clear)
1264
« on: November 10, 2012, 08:56:56 am »
I think pt-off is what you need. EDIT: and an additional pt-off()^r when you use 4-lv gray.
1265
« on: November 10, 2012, 08:45:51 am »
Me too.
1266
« on: November 10, 2012, 08:22:50 am »
TI made Start-Up for this.
1267
« on: November 10, 2012, 06:20:33 am »
I can make this too, when thepenguin can give me the asm codes to use with Axe.
1268
« on: November 10, 2012, 06:04:19 am »
erw, you are right T.T thanks for pointing that out. (I haven't programmed in a loooong time) I made a huge mistake: the pt-on command should be this: pt-on({A*4+L1+1},{A*4+L1+2},8*{A*4+L1+3}+Pic1PCS+(48*B)) Sorry o*.*o
1269
« on: November 10, 2012, 05:19:27 am »
You guys no read other's posts? I accounted everything I said in the code I posted. Lol. [sorry this is not meant rude, I'm just kind of surprised you had not seen it] EDIT: quoting myself: Ok I made your graphics routine slightly shorter, but your data needs to be restructured.
data structure: -sprites: [hexWPAWN]->Pic1PCS [hexWBISHOP][hexWKNIGHT][hexWROOK][hexWQUEEN][hexWKING][continue here for the 6 black pieces]
-------
how the pieces are stored in L1: {taken?(0 if still on the board),xpos,ypos,pieceno(0=pawn,1=bishop, just like the sprite arrangement, and no need for B/W pieces)}
----- Now the big thing: drawing the stuff.
For(A,0,31) if {A*4+L1}=!0 A>15->B pt-on(A*4+L1+1,A*4+L1+2,8*{A*4+L1+3}+Pic1PCS+48*B) ;; the x and y positions might be a bit off. you should change this later on. end end
I think that will do it
1270
« on: November 10, 2012, 04:05:43 am »
Yeah especially the sliding part in the beginning.
1271
« on: November 10, 2012, 03:33:31 am »
I lol'ed at the spoiler. Critor, any news on the prototype?
1272
« on: November 09, 2012, 04:17:50 pm »
Aha
1273
« on: November 09, 2012, 03:48:01 pm »
1274
« on: November 09, 2012, 03:39:10 pm »
Hehe viva les z80 guys They are the guys that understand how we feel.
1275
« on: November 09, 2012, 03:13:24 pm »
To summarize hayleia's point: str, gdb, pic are not the same as the Basic str, pic, gdb.
Pages: 1 ... 83 84 [85] 86 87 ... 274
|