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

Pages: 1 ... 9 10 [11] 12 13
151
TI Z80 / Re: Bounce
« on: September 24, 2012, 09:18:03 pm »
Really? Thanks, I'll try it!

152
TI Z80 / Re: Bounce
« on: September 23, 2012, 07:42:46 pm »
Yup, that's it. I changed it, and it works now!
That's pretty bad, though; I'm going to have to do that whenever I use sourcecoder. I'm either going to have to do this on calc, or switch to my Windoze partition to use Tokens/BexIDE...
And this problem has consumed my weekend; I'll have to wait for the next weekend to keep working.

153
TI Z80 / Re: Bounce
« on: September 23, 2012, 10:39:45 am »
So... problems. Because of my roots as a BASIC proger, I've been optimizing as much as possible. The high score routine is embedded inside the game, but now I have to pull it out into a subroutine so the menu can call it.
So I used sourcecoder to cut/paste it into the bottom, and had it run a subroutine - just to test if it worked. When I tested it on Tilp2, the Highscore turned into a bunch of random mumbo-jumbo and the calc froze... I don't wanna test it on my own calc...
Here's the code:
Spoiler For Problem Code:
:.BOUNCE
:[003C7E7E7E7E3C00]→Pic1
:[106C4482446C1000]→Pic2
:"vBOUNCMP"→Str1
:"vBOUNCE"→Str2
:!If GetCalc(Str2)→H
:GetCalc(Str2,18)→H
:0→{H}{^r}
:conj("BLACKSCREEN  INC",H+2,16)
:End
:!If GetCalc(Str1)→M
:GetCalc(Str1,48)→M
:DeltaList(10,11,10,21,10,31,10,41,20,11,20,21,20,31,20,41,30,11,30,21,30,31,30,41,40,11,40,21,40,31,40,41,50,11,50,21,50,31,50,41,60,11,60,21,60,31,60,41)→GDB1
:conj(GDB1,M,64)
:End
:DiagnosticOff
:ClrDraw{^r}{^r}
:For(A,0,23)
:{2*A+M}→X
:{2*A+1+M}→Y
:Pxl-On(X,Y){^r}
:Pt-On(X-3,Y-3,Pic2){^r}
:End
:375→T
:37→X→B
:53→Y
:5→D→C→F
:0→E→S→I→J→G
:ref(0,0,5,60)
:ref(70,0,5,60)
:Fix 5
:Repeat (Y≥56) or getKey(15) or (G=1)
:If T≠0
:T--
:End
:Pt-On(X,Y,Pic1)
:ref(B-8,60,16,2)
:Text(76,0,"Score")
:Text(76,6,S►Dec)
:rref(76,12,8,50){^r}
:ref(76,62-(T*2/15),8,T*2/15){^r}
:DispGraph{^r}
:1→G
:For(I,0,23)
:{2*I+M}→K
:{2*I+1+M}→L
:If pxl-Test(K,L){^r}
:0→G
:If pxl-Test(K,L)
:S+F→S
:F+10→F
:Pxl-Off(K,L){^r}
:Pt-Change(K-3,L-3,Pic2){^r}
:End
:End
:End
:Pt-Change(X,Y,Pic1)
:If (D>64) and pxl-Test(4+X,8+Y)
:C→D
:5→F
:4+X-B/2+E→E
:End
:If pxl-Test(X-1,Y+4) or pxl-Test(X+9,Y+4)
:0-E→E
:End
:X+E→X
:Y-D→Y
:D--
:rref(B-8,60,16,2)
:If getKey(14)
:sub(H)
:Return
:End
:If getKey(1)
:C--
:End
:If getKey(2)
:B-2→B
:End
:If getKey(3)
:B+2→B
:End
:If getKey(4)
:C++
:End
:C+10^5+5→C
:If B>66
:66→B
:End
:If B<9
:9→B
:End
:Pause 99
:End
:Fix 4
:If G=1
:S+T→S
:End
:ClrHome
:Disp "Score:",S►Dec
:If S>{H}{^r}
:S→{H}{^r}
:Output(0,2)
:Disp "New Highscore!",{i}
:0→A
:Disp "Type Your Name:"
:Output(0,4)
:"WRMH"→GDB5
:det(3)
:"VQLG"
:det(3)
:"ZUPKFC"
:det(1)
:" YTOJEB"
:det(2)
:"XSNIDA"
:"                "→GDB9
:Repeat B=54 and (A≠0
:getKey→B
:If B=56 and (A≠0
:A--
:Output(A,5,' '►Frac)
:Output(A,5)
:End
:If B=15
:0→A
:Output(0,5,GDB9)
:Output(0,5)
:End
:If A<16
:If B>10 and (B<48)
:If {B+GDB5-11}→C
:Disp C►Frac
:C→{A+{L1}}
:A++
:End
:End
:End
:End
:0→{A+{L1}}
:conj({L1},H+2,16)
:End
:Return
:Lbl H
:ClrDraw{^r}{^r}
:Text(20,0,"High Score:")
:Text(5,8,H+2)
:Text(80,8,{H}{^r}►Dec)
:DispGraph
:Return
A few commands are weird; it's the BASIC version of them. I've also attached 2 files; BOUNCSRC is the original that works; BOUNCSRS (1) is the funky one. Anyone know what's going on?

154
TI Z80 / Re: Bounce
« on: September 20, 2012, 06:49:42 pm »
Thanks!
I'll use a smaller ball if anyone can provide a hex code for it. No white holes, please.
*as a side note, that animated bug on your signature is making me want to hit my monitor.

I also have an idea for the menu - choices in the middle, lined horizontally, and you have a paddle and ball bouncing just below the choice. The player moves the ball under the selection and increases the height to hit it! The ball would probably move left/right with the paddle, no real bounce physics. (So beginners have an easier time.) What do you think?

155
TI Z80 / Re: Bounce
« on: September 20, 2012, 07:56:45 am »
Sure!
Here's one. Unfortunately, there's something wrong with the timer - it leaves behind some residue.

156
TI Z80 / Re: Bounce
« on: September 20, 2012, 12:35:24 am »
Thanx. I need the ball to be entirely solid - hit detection depends on pxl-test()s and there's always the chance that the ball hits, but the white part is exactly over the pxl-test() location. And the ball looks fine in my game.

157
TI Z80 / Re: Bounce
« on: September 20, 2012, 12:17:29 am »
What about aesthetics?

158
TI Z80 / Re: Bounce
« on: September 20, 2012, 12:08:29 am »
I've noticed that in many games with balls, the sprites are partially white.
EX: [0000182C3C180000]
Why is that so, and is my ball sprite of [003C7E7E7E7E3C00] bad to use?

159
General Calculator Help / Re: Tilp isn't working!
« on: September 09, 2012, 10:18:41 pm »
Wait so I can't use the standard ">./configure >sudo make >sudo make install"?

160
TI Z80 / Re: Bounce
« on: September 09, 2012, 07:24:33 pm »
If you know Axe, I'd like help drawing the title screen that I'll be adding; fixing the random glitch where it starts flickering and then you die; improving the level editor; fixing the leftover timer glitch; fixing the ball-breaking-wall glitch; adding pause, walls, path prediction and slowmo;  more additional features; etc...
I have a lot to do...

161
TI Z80 / Bounce
« on: September 09, 2012, 07:16:48 pm »
This is my first real Axe game, Bounce! Inspired by Mr. Bounce by Pixelate - http://www.madebypixelate.com/games/mr-bounce - and now for the TI 83/84s! It's a basically Breakout with gravity, and a few twists added in. (I haven't got the twists yet, just the basic engine.)

Bounce the ball with your paddle and try to get it to hit the targets, but don't drop it. You only have 1 life! You have about a minute to get everything before the timer runs out - you won't die when it does, but you don't get the bonus points.
My highscore so far is 630, can you beat it? (the default is 0 with "BLACKSCREEN  INC", the name of a group of my friends and I made up when we sold games in school)

I've attached prgms A, AA, BOUNCE, and BOUNCSRC. They are the level editor, the level editor's source, my BOUNCE game, and its source, respectively. I was pretty lazy when making the level editor, so it's not very good. If you screw up, exit, then type 0:Asm(prgmA) - it'll delete and reset the map.

Here's a screenshot:


I hope you like Bounce!

162
General Calculator Help / Re: Tilp isn't working!
« on: September 09, 2012, 09:19:47 am »
I'm using DirectLink, port #1.
The problem is, it doesn't detect anything on the calc. When clicking the "refresh" button or attempting to backup the calc, Tilp crashes and the terminal spits out:

** (tilp:24205): ERROR **: Invalid byte sequence in conversion input

However, after sending a program, the program appeared on my calc's prgm list! Weird, I don't know why.

I have no idea what "libti*/gfm/tilp" is... Sorry, I'm a noob at this.

163
General Calculator Help / Re: Tilp isn't working!
« on: September 08, 2012, 07:43:01 pm »
It sends files now!
Unfortunately, it still can't detect my calc and therefore I can't upload to my computer.
Which cable is it? Direct link, right? And which port do I need to use? (yes, I have "USB scan at startup" checked)

Here's the error then attempting to connect:
Spoiler For Spoiler:
Msg: failed to open the USB device.
Cause: Check that the USB cable is plugged in and that the calculator is turned ON! Also, check libusb and usbfs for valid permissions.
System: Inappropriate ioctl for device (errno = 25)
Also, when checking for calcs, terminal spat out:
Spoiler For Spoiler:

(tilp:4553): ticables-WARNING **: no devices found!

1: 0 0 0 0
2: 0 0 0 0
3: 0 0 0 0
4: 0 0 0 0
5: 1 0 0 0
1: 00 00 00 00
2: 00 00 00 00
3: 00 00 00 00
4: 00 00 00 00
5: 13 00 00 00

164
General Calculator Help / Re: Tilp isn't working!
« on: September 08, 2012, 05:48:31 pm »
What does this mean?
Msg: attempting to use a cable which has not been open before.
Cause: Internal error.
System: Operation not permitted (errno = 1)

165
General Calculator Help / Re: Tilp isn't working!
« on: September 08, 2012, 12:47:30 pm »
Also, I'm not sure if this is the right place for this topic. Please move it if it's not.

Pages: 1 ... 9 10 [11] 12 13