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

Pages: 1 ... 157 158 [159] 160 161
2371
Axe / Re: Axe Q&A
« on: October 25, 2011, 08:28:33 pm »
Understood :)

2372
Axe / Re: [Tutorial] Edition 2: Using Axe to its full functional form λ
« on: October 25, 2011, 08:26:46 pm »
.... I give up.

2373
The Axe Parser Project / Re: MIDI To Axe Music Converter
« on: October 25, 2011, 07:00:29 pm »
How do you play music on a calculator?

2374
Axe / Re: [Tutorial] Edition 2: Using Axe to its full functional form λ
« on: October 25, 2011, 06:51:32 pm »
a subroutine argument is a value you give to a subroutine.

How would you use a value given to a subroutine?

2375
Axe / Re: Axe Q&A
« on: October 25, 2011, 06:48:58 pm »
If you stored
{A*10+1+L1}
into J, would {J+1} be the same as {A*10+2+L1}?

Also, in
PtOn(x,y,Pic1)

If pic1 is an 8x8 sprite, what part of the sprite is located exactly at x,y?

2376
Axe / Re: Axe Q&A
« on: October 25, 2011, 07:10:33 am »
That makes sense. It looks like you could store L1 as a variable like J and then use {J} later on.

2377
Axe / Re: Axe Q&A
« on: October 24, 2011, 11:23:17 pm »
Would this just be used for storing variables, or does it have other uses.

2378
Axe / Re: Axe Q&A
« on: October 24, 2011, 10:24:56 pm »
Had to read it over like 5 times first since I'm half asleep right now :P.


So is L1 a list, or a number?
It holds from 0-255 numbers....L1+1 still holds 0-255?

If I used
1->{L1} it could be used as a normal variable like if I used 1->x?

Would {L1+1} be related at all to L1 or not since it is at a different adress?

2379
Axe / Re: Axe Q&A
« on: October 24, 2011, 09:39:01 pm »
What do curly brackets do?

2380
Axe / Re: Axe Q&A
« on: October 24, 2011, 09:05:05 pm »
Well, assuming that you assign each block an X and Y coordinate in a buffer, you could simply do a 'rand^94' when assigning an x coordinate, then leave it alone.


I wanted to have multiple blocks appear at the same time. I have
this listed

Code: [Select]

.Creating x

rand^94->I
rand^94->J
rand^94->K
rand^94->L
rand^94->M

.Some other stuff

.Drawing

If D<140
D+1->D
Pt-On(I,D,Pic2)
Pt-On(J,D-20,Pic2)
Pt-On(K,D-40,Pic2)
Pt-On(L,D-60,Pic2)
Pt-On(M,D-80,Pic2)
end

.More other stuff

.Checking if blocks collide with Pic1 which is located at x,y

If abs(I-X)<8
If abs(D-Y)<8
Return
End
End
If abs(J-X)<8
If abs(D-20-Y)<8
Return
End
End
If abs(K-X)<8
If abs(D-40-Y)<8
Return
End
End
If abs(L-X)<8
If abs(D-60-Y)<8
Return
End
End
If abs(M-X)<8
If abs(D-80-Y)<8
Return
End
End

Takes up a lot of space, though

2381
Axe / Re: Axe Q&A
« on: October 24, 2011, 08:27:02 pm »
How would I make something where blocks fall from the top of the screen at different x coordinates?  I have rand^94 listed several times and stored as different variables and displayed at different times. Is there a better way to do this?

2382
Axe / Re: [Tutorial] Edition 2: Using Axe to its full functional form λ
« on: October 24, 2011, 07:46:08 pm »
Subroutine arguments, as in sub(LBL,1,2,3) calls LBL with 1 in r1, 2 in r2, and 3 in r3.

What's a subrouine argument?P

2383
Axe / Re: [Tutorial] Edition 2: Using Axe to its full functional form λ
« on: October 23, 2011, 10:08:27 pm »
What are the r1, r2, etc.?

2384
Axe / Re: Any way to do this easily?
« on: October 23, 2011, 08:29:02 pm »
Thanks. Should have thought of that. Also probably just have put this in the Q&A thread. I nested the for in another one to make the multiple levels.

2385
Axe / Re: Online Axe command index
« on: October 23, 2011, 08:26:11 pm »
So if you say
PtOn(40,30,Pic1)
Would the pic1 go to a buffer and when you say dispgraph, would it copy to the screen?
Or something like that?

Pages: 1 ... 157 158 [159] 160 161