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

Pages: 1 ... 7 8 [9] 10 11 ... 71
121
Axe / Re: Routines
« on: March 06, 2010, 05:43:08 pm »
100 Lives?  That's a lot!

You're clearly thinking about how basic uses Output() which is not how Axe uses it.  In Axe, the last argument is the address of a string you want to display, not the value of the number.  If you want to instead display the number in base 10, you use >Dec at the end.

I think everyone would benefit by reading the documentation all the way through, maybe more than once, and then ask questions if you are unclear about a description.  A lot of these questions can be answered there.  But also, I think its the general unfamiliarity of pointers, arrays, and unsigned arithmetic that are throwing people off.  A new tutorial should address these issues.  Would anyone like to help me write one if you have a clear understanding already?  I think it would really clear up a lot of the confusion.
Heh heh.. :D my bad. Thanks!
Interesting.  I like that it will draw sprites like that.  Cool! ;D

I have another question: Is it possible to display the contents of a variable as a string? For example, I have 100 stored in L (for lives or something), and I want to display "LIVES: 100". Is it possible yet to do this with Axe? Because I tried using Output(X,Y,L) and it didn't work.
Use Output(X,Y,L>Dec)  //The >Dec is [Math] [2]

Good luck!
And thanks to you too!

122
Axe / Re: Routines
« on: March 06, 2010, 04:45:36 pm »
I have another question: Is it possible to display the contents of a variable as a string? For example, I have 100 stored in L (for lives or something), and I want to display "LIVES: 100". Is it possible yet to do this with Axe? Because I tried using Output(X,Y,L) and it didn't work.

123
Axe / Re: Routines
« on: March 06, 2010, 02:16:56 pm »
Alright thanks. I thought I should use modulus, but I wasn't exactly sure (its been a few years since I've done any programming with modulus, BASIC or java or whatever).

124
Axe / Re: Routines
« on: March 06, 2010, 02:11:56 pm »
How would I get a random point on the screen? I get that "rand" returns a random 16-bit integer, but how would I get the results to be numbers that will fit within the screen limits? (96x65) or whatever.

125
Axe / Re: Routines
« on: March 06, 2010, 10:15:05 am »
Very nice DJ. One thing though: You don't have to do "For(X,0,####):End" to slow it down. All you have to do is "Pause ####" and it will pause for that many milliseconds. Other than that, great work.

126
Escheron: Shadow over Ragnoth / Re: Escheron: Presage of Darkness
« on: March 06, 2010, 01:17:54 am »
^

;D lol

127
Introduce Yourself! / Re: Well...I'm New
« on: March 05, 2010, 04:08:09 pm »
@trev I thought you were leaving again in April? I guess I misread your post, then x.x. Oh well glad you're back for longer now :P
I was originally going to, but plans changed, and I'm not going anywhere for at least a year :)

128
TI Z80 / Re: Side Project #2: DUNGEON
« on: March 05, 2010, 04:02:20 pm »
Not trying to necro post or antyhing (heh), but I'm re-staring this project. I still have all the code and what not associated with this, but the only thing is, I don't have the hard copy paper maps that I had made when I was working on this project, so I will have to go through all my map code again and re-draw my maps.

This was going to be my contest entry oh so long ago, but now I just want to finish it. (will post screenies soon of current progress)

129
The Axe Parser Project / Re: Axe Parser
« on: March 05, 2010, 03:42:57 pm »
Yeah that's what I meant, I really was talking about fancy GUIs. If he decided to make the Axe APP so it has a grayscale program list with 3D animations with rotating program name texts, it would take unnecessary space IMHO. In games, I like to have a lot of graphical abilities. Of course, personally if someone releases an ASCII game I'll still play it, though. Unlike some other people, I don't only play games just for graphics.
Yeah, I completely agree with that. I just misunderstood what you had posted before :) Plus I really do like ASCII games, although I don't think I would program an ASCII only game with Axe, but that's just me.

130
Introduce Yourself! / Re: Well...I'm New
« on: March 05, 2010, 03:34:59 pm »
wasn't it the RPG with split home screen and graph screen, using dual layer ASCII? Or was it someone else?

I remember you worked on a calc RPG on the old forums, but for some reasons, you kept vanishing from the TI community for months, then returning for a month, then left again, then returned, and so on, and when you returned the last time in 2009, as staff, you had to leave due to army or something x.x
Lol yeah that's me. But that split home screen/graph screen wasn't me (I don't think, although i do think i attempted that once). Yeah I left for the military, but I'm back for now (for at least another year, woot!). I'm trying to get back into programming.

131
The Axe Parser Project / Re: Axe Parser
« on: March 05, 2010, 03:31:58 pm »
I kind of have to disagree with you a bit DJ, I think graphics is pretty important (although he really doesn't need to add too much, it's already amazing), but, at least from my point of view, Axe is a program that will let the most basic BASIC programmers make games at assembly level with equal graphics and speed, and I think that being able to do most of the graphic capabilities of actual ASM programs is important. But that's just my opinion, and I do agree that other things should also be focused on.
He's talking about graphical user interface for compiling programs
Ah fair enough. I take back what i said.. heh.

132
The Axe Parser Project / Re: Axe Parser
« on: March 05, 2010, 03:10:52 pm »
I kind of have to disagree with you a bit DJ, I think graphics is pretty important (although he really doesn't need to add too much, it's already amazing), but, at least from my point of view, Axe is a program that will let the most basic BASIC programmers make games at assembly level with equal graphics and speed, and I think that being able to do most of the graphic capabilities of actual ASM programs is important. But that's just my opinion, and I do agree that other things should also be focused on.

133
Introduce Yourself! / Re: Well...I'm New
« on: March 05, 2010, 03:06:52 pm »
@Meishe, yeah, the issue is that some people start a huge RPG as their first calc project ever without even making sure they can achieve this. It took me one month until I can start doing games and my first RPG ever, Illusiat, only had one dungeon split in two parts, one item, one magic and only dragon enemies with varying stats x.x

:( that was me... lol. And after searching my computer, I actually found my original RPG project that I started... *Looks @ Black Sun Rising source* heh wow it was poorly coded.

134
Miscellaneous / Re: Capitalization in titles
« on: March 05, 2010, 03:03:52 pm »
Hmm I thought I knew all that, but I actually learned quite a bit by reading what you posted. Nice work.

135
Axe / Re: Routines
« on: March 05, 2010, 03:02:35 pm »
@trevmeister66
Eeems was correct about the string sizes.  When you define data, like the data in your strings, that data is added to the end of the program, not to the RAM.  Your compiled code will look like this:

<Hex code for all of program>06646464640664646464

While you CAN use this area to modify data, it is limited by the room it has in the program.  A 1000 byte program can not use 2000 bytes of its own ram!  If you want to use the free ram, then at the start of your program, you have to copy your data to the RAM using a for loop or something.

Wow, that made everything clear. I get why it doesn't work. Thanks!

EDIT: Heh, your's and Eem's suggestions worked. Thanks guys!

Pages: 1 ... 7 8 [9] 10 11 ... 71