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

Pages: 1 ... 10 11 [12]
166
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 06:38:27 pm »
I have no idea, just using my calculator, What I see depends, sometimes it shows text, with unicode symbols and stuff. Flashes black and white  *.*. Then freezes the calc. Other times just a simple RAM RESET after a blank screen and flash of the word "PROGRAM"

Edit
Solved it with a full flash clear.

167
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 05:03:17 pm »
That didn't work, actually I can't seem to edit any of my programs.

168
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 04:48:40 pm »
So, would a RAM clear fix that?

169
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 04:40:49 pm »
Okay, thanks, last question, I compiled my axe program, but when I try to edit the soucre again, everything is black and white random letters, jittering and then crashes and RAM clears. The rest of the calc is fine though.

170
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 04:15:40 pm »
Something not in program memory, something that can be accessed from multiple programs?

171
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 04:11:07 pm »
Oh, okay then, is it possible to create something with Buff that is permanent?

172
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 04:04:05 pm »
Hmm, i'll try to do a custom list then. But when I do say LKEY, it says it doesn't exist?

173
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 04:01:08 pm »
Whoa, did not know that. should I use L1 instead then?

174
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 03:53:48 pm »
Yea, mistake on my part, also thanks :D, Finally No, I do move quite often between them, about very few months. Also do you think you can tell me what's wrong.

Now I have the lists (L6), and put data in it with
Code: [Select]
K->{B+L6}. However it doesn't seem to actually be put in the list?

175
The Axe Parser Project / Re: How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 02:39:00 pm »
Thanks, really appreciate it :D also I meant Axe 1.1.2, was probably thinking about something else :p. Also it works :D Gotta love axe.

176
Computer Programming / Re: How do you make games with coding???
« on: August 29, 2012, 02:29:40 pm »
Basically games are made up with a main loop. What happens is this:

1. Game starts
2. All the windows are set up and so on.
3. You enter the main game loop
4. The loop continually does the following:
   a. Get input, and process it
   b. All game logic (i.e. move sprites, updates positions, and checks collisions.)
   c. Update the screen
   d. Goto [a].
5. Thats it :)

Here is some Pseudo-code of the main loop.
Code: [Select]

while(running){
while(SDL_PollEvent(&Event)) // Get key-presses and process them
currentState->Event(&Event);
currentState->Loop(); // Check gamelogic
currentState->Render(); // Update screen
}

177
The Axe Parser Project / How to properly use lists in Axe (1.1.2)?
« on: August 29, 2012, 02:05:01 pm »
Well, was porting a few of my programs from Ti-Basic to Axe, and I've hit a stumbling block. I went through the docs, but can't figure out how to properly use lists in Axe (along with getkey).

Here is my first try for the Axe code:
Code: [Select]
:For(A,1,4)
:Repeat Ans
:getKey→K
:End
:Copy(K,L1(A))
:End
This waits for 4 key-presses and puts them in a list, but it doesn't work. For some reason Getkey only has unicode garbage, and even that doesn't seem to be saved to the list.

What am I doing wrong?

178
Axe / Re: Turn off Calc and Exit Program in Axe?
« on: August 28, 2012, 07:02:33 pm »
Brilliant! Thanks, really appreciate it!

179
Axe / Turn off Calc and Exit Program in Axe?
« on: August 28, 2012, 06:40:25 pm »
Well, been playing around with Axe for a month or so, and was wondering if there's a way to turn off the calculator and exit the program? Is there some sort of axiom or asm technique to do that?

Pages: 1 ... 10 11 [12]