Calculator Community > Grammer
[RPG] 6th version of Herssahe
persalteas:
So.
--- Code: ---Y=pi9342
Z=pi9872
[code]
:Fill(0
:ClrDraw
:SetBuf(Z
:Fill(0
:SetBuf('Y
:SetBuf(°Z
:call T
:Text(15,16,"The 6th
:Rect('8,21,88,21
:Rect('9,22,87,22,5,,3,16,4,32,4,16,3
:Text(30,2,"1.Create new character
:Text(38,2,"2.Set Contrast
:Text(46,2,"3.Thanks
:Return->theta
:getKey->K
:DispGraph
:If K=/=15
:Goto theta
--- End code ---
And the subroutine pointed by T is:
--- Code: ---:.TITRE
:Tile(M,A,C,1,2,16,Z
:Tile(M,A+64,C+5,3,1,8,Z
:Tile(M,A+80,C+5,4,1,8,Z
:Tile(M,A+96,C+5,5,1,8,Z
:Tile(M,A+96,C+5,6,1,8,Z
:Tile(M,A+112,C+5,7,1,8,Z
:Tile(M,A+128,C+5,8,1,8,Z
:Tile(M,A+128,C+5,8
:Tile(M,A+64,C+5,9,1,8,Z
:Tile(M,A+64,C+5,9
:End
--- End code ---
And the calc crashes.
What I want:
- The Y buffer entirely black
- The Z buffer white with text and sprites
(Something like this, but with a gray background: )
[/code]
persalteas:
Problem solved by exchanging the two buffers...
I can observe that what makes the calc crash is:
--- Code: ---:SetBuf(Z
:Fill(0
--- End code ---
I can't fill the pi9872 buffer with black :P
Xeda112358:
Hmm, that is weird, the only thing that pi9872 is used for is the default particle buffer.
persalteas:
Yes, weird...
OT: Is Grammer allowed on Omnimaga contests ? :P
Xeda112358:
--- Quote from: persalteas on September 24, 2013, 01:52:16 pm ---OT: Is Grammer allowed on Omnimaga contests ? :P
--- End quote ---
Yes it is, apparently :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version