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

Pages: 1 [2] 3 4
16
Axe / Re: Mirage OS usage
« on: July 03, 2012, 12:01:41 pm »
Thanks, could you help me with display? Like how to display the highscores from the list ?
Note, that what I will write will not be optimised at all so you understand everything.



To display the first score, you would do
  Text(0,0,{GDB1HS}r►Dec)

To display the second one, you would do
  Text(0,6,{GDB1HS+2}r►Dec)
Why (0,6) ? because there is already the first score in (0,0).
Why GDB1HS+2 ? because the first score takes 2 bytes, located at GDB1HS and GDB1HS+1, so the second one is at GDB1HS+2

So, to display the third one, you would do
  Text(0,12,{GDB1HS+4}r►Dec)

etc...

To display the Ith score, you would do
  Text(0,I*6,{I*2+GDB1HS}r►Dec)



Now, to display them all, just put that in a For loop like this
  For(I,0,10)
  Text(0,I*6,{I*2+GDB1HS}r►Dec)
  End

Hope that helps :)

Thanks

17
Axe / Re: Mirage OS usage
« on: July 03, 2012, 11:10:11 am »
Thanks, could you help me with display? Like how to display the highscores from the list ?

18
Axe / Re: Function
« on: July 02, 2012, 07:02:05 pm »
Endeed a byte is 8 bits. Then a byte can take 2^8 (=256) values, that to say a number beetwen 0 and 255. A 2 byte number can take 2^16 (=65356) values, it means a number beetwen 0 and 65355.

Axe variables are 2 bytes number.

Thanx this really helps.

19
Axe / Re: Function
« on: July 02, 2012, 06:53:39 pm »
Which numbers are two bye and which are single bye , etc ?

20
Axe / Function
« on: July 02, 2012, 06:43:14 pm »
I just wanted a further explanation of this:

Data(NUM,...)
Key: ΔList() 
Adds the bytes to program memory. Numbers ending with r are added as 2 byte numbers.


21
General Calculator Help / Re: Debug
« on: July 02, 2012, 05:06:42 pm »
record as a gif, upload it to an image hosting site and post the link on fb

Ohhh ok thanx ! Il try it

EDIt: uhh what are some image hosting sites?

22
General Calculator Help / Re: Debug
« on: July 02, 2012, 04:10:05 pm »
quote fail sorunome.
Also what are you trying to ask us, actually. Is your problem already solved?

No, what im trying to do is take a video from wabbitemu of me playing a game and somehow post it on fb so my friends can see it. I havent figured it out yet.

23
Axe / Re: Mirage OS usage
« on: July 02, 2012, 04:04:25 pm »
Assume that the SORTD subroutine sorts data in descending order.
I also want to correct something:

Code: [Select]
Data(100^r,90^r,80^r,70^r,60^r,50^r,40^r,30^r,20^r,10^r,0^r)->GDB1HS
.later...
S->{GDB1HS+10}
sub(SORTD,GDB1HS,11)
.assume SORTD is a subroutine. # of items is 11.
But then, a r is missing after the S->{GDB1HS+10}
Moreover, no need to make a routine if it is only used once. What I suspect is that you wrote sub(SORTD,GDB1HS,11) to say "you must sort it" without giving the proper code :P

I personally do it the other way round in MisterOops!
I check how many scores the current score beats, shift them, then insert the new highscore :)

So could i use "SORTD("  to sort the list ?

24
General Calculator Help / Re: Debug
« on: July 02, 2012, 03:43:50 pm »
But i could post the link to the video right?
That would crack your computer, you wouldn't want that

what????

25
General Calculator Help / Re: Debug
« on: July 02, 2012, 03:33:04 pm »
But i could post the link to the video right?

26
General Calculator Help / Re: Debug
« on: July 02, 2012, 03:14:00 pm »
LOL , so i could upload them to facebook?

27
Axe / Re: Mirage OS usage
« on: July 02, 2012, 03:10:21 pm »
Assume that the SORTD subroutine sorts data in descending order.
I also want to correct something:

Code: [Select]
Data(100^r,90^r,80^r,70^r,60^r,50^r,40^r,30^r,20^r,10^r,0^r)->GDB1HS
.later...
S->{GDB1HS+10}
sub(SORTD,GDB1HS,11)
.assume SORTD is a subroutine. # of items is 11.
But then, a r is missing after the S->{GDB1HS+10}
Moreover, no need to make a routine if it is only used once. What I suspect is that you wrote sub(SORTD,GDB1HS,11) to say "you must sort it" without giving the proper code :P

I personally do it the other way round in MisterOops!
I check how many scores the current score beats, shift them, then insert the new highscore :)

Where does that "r" need to be ?

28
Axe / Re: Mirage OS usage
« on: July 02, 2012, 03:08:34 pm »
^r needs to be included if you are using 16-bit integers (0 to 65535) for your score.

OK . is this right ?

Data(100^r,90^r,80^r,70^r,60^r,50^r,40^r,30^r,20^r,10^r,0^r)->GDB1HS
.later...
S->{GDB1HS+10}
sub(SORTD,GDB1HS,11)
.assume SORTD is a subroutine. # of items is 11.

So first 11 items are sent to GDBHS , then the users score is sent to the list and the list is sorted ?

29
General Calculator Help / Re: Debug
« on: July 02, 2012, 01:09:58 pm »
AVI recording seems to be broken—you can report the bug to BuckeyeDude (though he seems to have been away for a while).

We generally record screenshots as GIF images anyway. (You can upload them directly to the forum and play them in any browser, as opposed to AVI, which requires a video player such as YouTube.)

Ive seen people on this site post videos of playing games , is that on wabbitemu or something else? I thought GIF were images?

So i just made a GIF and it loaded as a video so forget what i said before.

30
Axe / Re: Mirage OS usage
« on: July 02, 2012, 12:48:47 pm »
And whats in the subroutine? sorry im just really confused because im new to this.
If you're new to Axe, I'd suggest using a simple appvar. They are super easy to use, and it's harder to accidentally mess up your calculator.
Check out this tutorial: http://www.omnimaga.org/index.php?action=articles;sa=view;article=58

I already know how to use the appvar i just wanted to learn a different way to do it.

Data(100^r,90^r,80^r,70^r,60^r,50^r,40^r,30^r,20^r,10^r,0^r)->GDB1HS
.later...
S->{GDB1HS+10}
sub(SORTD,GDB1HS,11)
.assume SORTD is a subroutine. # of items is 11.

So first 11 items are sent to GDBHS , then the users score is sent to the list and the list is sorted ? And why does r need to be included?

Pages: 1 [2] 3 4