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 ... 8 9 [10] 11 12 ... 71
136
Introduce Yourself! / Re: Well...I'm New
« on: March 05, 2010, 01:06:59 am »
Now to just wait until I get 50 posts  ;)
lolz. Good ol arcade.

137
Axe / Re: Routines
« on: March 05, 2010, 01:05:55 am »
Well, I didn't look too closely, but the problem might be trying to use str1/str2 for your array, I would try L1/L2 instead. They have a large amount of room and Str1/2 only have what you define at the start.
but from what you say I guess you already understand this. Could you create a simple test that just lists off all the numbers in eacharray and see if it's calling the correct area?
Hmm I might try your idea, although I believe it doesn't matter what you name your arrays/strings/pics because Axe just creates it into what it needs to be, regardless of what you name it. I'll just mess around with it some more.

138
TI Z80 / Re: TI Helper
« on: March 05, 2010, 12:52:12 am »
That's looking sweet. I really need to get back into programming (on all platforms) again... Bah I'll start tomorrow. Nice work though.

But for now, MORE BATTLEFIELD: BAD COMPANY 2!!! Heh  ;D

139
Introduce Yourself! / Re: Well...I'm New
« on: March 05, 2010, 12:46:24 am »
Lol yeah, I had like 1 post on Maxcoderz back in the day.

140
Axe / Re: Routines
« on: March 05, 2010, 12:43:55 am »
I have a question about a routine. I'm working on a project that has an array of numbers. Every time I go through the main loop, I move the numbers down one slot, and put in a new number in the 1st (or 0th) slot. While I do have this working fine, my problem comes when I try to increase the size of my array. I know that the arrays already have their max size, but I have it so it only does 'S' number of slots in the array, but when I increase 'S', it doesn't do what I want.

Well after rereading what i just said, I'm just going to post the code:
Code: [Select]
DiagnosticOff
ClrDraw
6üA // X Variable
6üB // Y Variable
5üS // Size of "snake"
1üC // X direction
0üD // Y direction
0üE
[0664646464]üStr1
[0664646464]üStr2
sub(ZZ

Repeat getKey(15) or pxl-Test(A,B)
Pxl-On(A,B)
Pxl-Off({Str1+S-1},{Str2+S-1})
DispGraph
If getKey(1)
0üC
1üD
End
If getKey(2)
ú1üC
0üD
End
If getKey(3)
1üC
0üD
End
If getKey(4)
0üC
ú1üD
End
****MY PROBLEM STARTS HERE****
If getKey(54)  // If 2nd was pushed
0ü{Str1+S      // Store 0 into
0ü{Str2+S      // The 'new' location
1+SüS            // Increase S (size)
End
****AND ENDS HERE****
A+CüA
B+DüB
For(X,1,S-1)
{Str1+S-X-1}ü{Str1+S-X
{Str2+S-X-1}ü{Str2+S-X
End
Aü{Str1+0
Bü{Str2+0
Pause 50
End
Return

****DRAWS BOX AROUND SCREEN****
Lbl ZZ
For(X,0,95
Pxl-On(X,0)
Pxl-On(X,63)
End
For(X,0,63
Pxl-On(0,X)
Pxl-On(95,X)
End
Return

When I remove the "If getKey(54)....End" part, it works normally.... any suggestions?

SPOILER: it's a snake game, or an attempt at one rather.

Also, sorry about my lack of using the correct program to retrieve the proper symbols.

141
Introduce Yourself! / Re: Well...I'm New
« on: March 04, 2010, 11:39:18 pm »
Welcome to Omnimaga!

142
TI Z80 / Re: Monopoly v3.0 BETA
« on: March 03, 2010, 11:14:39 pm »
Nice work. It always feels good to figure something out and actually have it work

143
The Axe Parser Project / Re: Features Wishlist
« on: March 03, 2010, 10:37:43 pm »
I think this has been mentioned before, but I wasn't sure how much it has been talked about, but what about reading/writing to/from AppVar's?
That will be done using GetCalc().  You can also get Variables, Lists, Strings, Ans, and other RAM variables and locations with this command and it will return a pointer to said object or zero if it doesn't exist.  Therefore, you can also store to these objects.  I'm nowhere near ready to support that command however so don't expect it soon.
Fair enough. Do what you can, and I will gladly wait :)

144
Axe / Re: Questions with commands
« on: March 03, 2010, 10:07:54 pm »
Post the code that you are using. Maybe theres something else thats wrong

145
Axe / Re: Questions with commands
« on: March 03, 2010, 09:51:40 pm »
Im no expert with Axe, but I believe VAR can be replaced with any BASIC variable (A-Z), and maybe more.

146
TI Z80 / Re: Elmgon
« on: March 03, 2010, 07:38:50 pm »
Maybe if each weapon had a varying %. So some weapons would have a 1% varying damage, and some might have 5% or something (depending on the max damage it can do, etc.)

147
TI Z80 / Re: Elmgon
« on: March 03, 2010, 04:48:10 pm »
Hmm that's an interesting question. I can see both ways being good and bad. For them always doing the same damage, you'll know the exact amount of damage itll do, so  you can plan better, but then it's not as challenging and unpredictable, where as if you have varying damages, its more lucky, and more challenging.

148
The Axe Parser Project / Re: Features Wishlist
« on: March 03, 2010, 02:57:48 pm »
I think this has been mentioned before, but I wasn't sure how much it has been talked about, but what about reading/writing to/from AppVar's?

149
TI Z80 / Re: Texas Hold'em
« on: March 02, 2010, 11:01:34 pm »
Thanks guys. I can't wait for Monopoly to be finished so I can resume this project.
I can't wait for Monopoly to be finished either.. I want to play both Monopoly and Texas Hold'em

150
The Axe Parser Project / Re: Features Wishlist
« on: March 01, 2010, 11:58:32 pm »
I think its been mentioned, and its been said that you can just write your own routines to display 16x16 fairly easily in Axe.  And that if he ever does support it, it will be late in development.  For now you will have to settle for 4 8x8's :P
Gotcha. I figured that is what was going to be.

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