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 - rampadc

Pages: [1]
1
Axe / Re: Axe Q&A
« on: May 01, 2013, 10:53:47 am »
Thanks. I'm not sure why I put 35 there.

2
Axe / Re: Axe Q&A
« on: May 01, 2013, 09:31:04 am »
I've tried ClrDraw and ClrDrawrr both didn't work.

3
Axe / Re: Axe Q&A
« on: May 01, 2013, 07:28:57 am »
Noted. I need some help with displaying some sprites. I'm getting some pixels turned on. It's random. For each compilation pixels get turned on randomly.



Code: [Select]
.CONC

.Setup sprites
[FFFFFFFFFFFFFFFFFF81BD959D8581FFFF81A19DA1BD81FFFF81BDA5BDA181FFFF81BDBD858581FFFF8191BD919181FFFF81A199998581FFFF81BDBDBD9981FFFF81BDA5A59981FFFF81A599A5A581FFFF81BDBDBDA581FFFF81A5BDBDBD81FFFF818199998181FFFF8199A5A59981FFFF81BD9D8D8581FFFF81BDB9B1A181FFFF81858D9DBD81FFFF81A1B1B9BD81FFFF81BD99999981FF]->Pic0

DiagnosticOff
ClrHome

.DRAW
0->X:0->Y
For(I,0,35)
If X>88
0->X
Y+8->Y
End
Pt-On(X,Y,I*8+Pic0)
X+8->X
End
DispGraph

.LOOP TILL ENTER
Repeat getKey(9)

End

4
Axe / Re: Axe Q&A
« on: May 01, 2013, 03:44:21 am »
Thank you Runner and thanks for the tip Walker!

5
Axe / Re: Axe Q&A
« on: May 01, 2013, 03:30:45 am »
Quick question, is there a way to loop through static variables? For example, I have 19 sprites Pic00, Pic01, Pic02,...,Pic18, and I'd like to display them horizontally across the screen (until it reaches the edge and go to the next column).

I've read somewhere that you can use
Code: [Select]
For(I,0,18)
Pt-On(X,Y,Pic00+I)
End

But all I got is the first sprite pressed down and spread across the screen (think of butter or shift drag in MSPaint).

Pages: [1]