0 Members and 1 Guest are viewing this topic.
:.TEST:<data>:1->A->B:ClrDraw:Repeat getKey(15):Pt-Off(B/12,A/12,Pic1:Pt-Off(B/18,A/18,Pic1+8:Pt-Off(B/24,A/24,Pic1+16:DispGraph:ClrDraw:C-getKey(2)+getKey(3)->C:D-getKey(4)+getKey(1)->D:B+C->B:A+D->A:End
:.TEST:<data>:1->A->B:ClrDraw:Repeat getKey(15):Pt-On(B/12,A/12,Pic1:RectI(B/12,A/12,8,8:Pt-On(B/18,A/18,Pic1+8:RectI(B/18,A/18,8,8:Pt-On(B/24,A/24,Pic1+16:RectI(B/24,A/24,8,8:DispGraph:ClrDraw:C-getKey(2)+getKey(3)->C:D-getKey(4)+getKey(1)->D:B+C->B:A+D->A:End
HoMM: [==--------] Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :PtiDE: [----------] Explored and understood the main part of the code: just started writing a Tokenizer.
I think that is doesn't work because you use Pt-Off, and not Pt-On. Pt-Off will just only turn off the pixels which are black on the sprite, nad not turn on the pixels that are white on the sprite.
:C-getKey(2)+getKey(3)->C:D-getKey(4)+getKey(1)->D
:getKey(3)-getKey(2)->C:getKey(1)-getKey(4)->D
But, wouldn't that cause whatever boolean value to by stored, not incremented?
Hmm... still doesn't produce the effect I want. How would I make the sprite 'wisp'-like? With the circles closely following the main sprite?
Hmm... The way I would approach it is creating an array of the positions of the big circle over the last n frames (12 frames, for example). Then display the medium-sized circle at the position from 6 frames ago and the small circle at the position from 12 frames ago. I might try to get some code running myself when I get some time to play with Axe.
:[3844828282443800->Pic1:[0038444444380000:[0000382838000000:0->A->B->C->D->{L1}r:Fill(L1,23:Repeat getKey(15):ClrDraw:Pt-On({L1+22},{L1+23},Pic1:Pt-On({L1+12},{L1+13},Pic1+8:Pt-On({L1},{L1+1},Pic1+16:DispGraph:Copy(L1+2,L1,22:C-getKey(2)+getKey(3)->C+A->A/32->{L1+22}:D-getKey(4)+getKey(1)->D+B->B/32->{L1+23}:End