Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AI
#21
Quote:Ummm, I use WAIT &H3DA, 8. I also use WAIT &H3DA, 8, 8 to make the delay var longer (with the first one).

I use my routine to add the calcs TO the delays so the slowness of complex calculations accually is benificial.

And BBQ, if I did it your way it would not work. You have to store the draw variables into another variable to then erase at that stored variable later while you change the first one.

Your way:
Say I have an image at (3,4)
1. Draw image at (3,4)
2. change + check image to (5,6)
3. wait
4. erase image at (5,6)
5. loop

You don't want to do that above ^.
My way:

1. Draw image at (3,4)
2. Store image coordiantes to another variable which are (3,4)
3. Change + check image to (5,6)
4. WAIT
5. Erase image at old coordinates that you stored [(3,4)]
6. Loop

:wink:

You said you use

Code:
WAIT &3DHA, 8

and

Code:
WAIT &3DHA, 8, 8
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#22
Thedarkjay, the difference is that the second command will wait for an extra refresh compared to the first one.
Reply
#23
No....DarkJay was being meticuluos...he was pointing out a typo:

I accidently wrote:
WAIT &3DHA, 8

I ment:
WAIT &H3DA, 8

:x
i]"But...it was so beautifully done"[/i]
Reply
#24
Quote:No....DarkJay was being meticuluos...he was pointing out a typo:

I accidently wrote:
WAIT &3DHA, 8

I ment:
WAIT &H3DA, 8

:x

I honestly though they was a difference, i am no ASM programmer and isn't &H3DA a form of asm?
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#25
&H specifies a hexadecimal number


&HFF = 255

&H1 = 1

&HA = 10


do you know hex?
Reply
#26
Hex means 6 right?

tri = 3
quad = 4
pent = 5
hex = 6
sept = 7 (i think :???: not sure about 7)
oct = 8
non = 9

is that right?

i know the normal decimal system

1.99

and the doie<sp> decimal system

101 = 5
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#27
No.

Base 2 is Binary (0,1)
Base 8 is Octal (0, 1, 2, 3, 4, 5, 6, 7)
Base 10 is Decimal (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
Base 16 is hexidecimal (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F)

That's all I know.
i]"But...it was so beautifully done"[/i]
Reply
#28
hex technically means 6 but hexidecimal (hex(6) + dec(10)) is 16

Though I don't know what base 6 is called.. hexal? hexary? I dunno =P



The major bases are 2, 8, 10, and 16. (binary, octal, decimal, and hexidecimal)
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#29
Thanks Tiger for reilliterating me. :wink:
i]"But...it was so beautifully done"[/i]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)