Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: aeTIos on October 21, 2010, 02:39:12 pm

Title: My first game-Cannonball
Post by: aeTIos on October 21, 2010, 02:39:12 pm
aeTIos productions presents...
Cannonball The Game (you lost it)
I'm very proud at it because its my first game.
please download and play it and give feedback
thanks and have fun!
------------------------------------------
               v1.3.0
------------------------------------------
Update:
new features:
-made ball going faster
-hard is really hard now
-made the whole thing look better
------------------------------------------
               v1.4.0
------------------------------------------
Update and bugfix:
Bug fixed: Collision detection in normal mode
Updates:
-made a kind of progress in the game

Known issue:
Sometimes the ball bounces back just after launch. I don't know what this causes, but I'll try to fix it in v1.5.0


Title: Re: My first game-Cannonball
Post by: Ranman on October 21, 2010, 02:43:39 pm
Looks great aeTIos!

Especially for your first game. :)
Title: Re: My first game-Cannonball
Post by: Munchor on October 21, 2010, 02:44:55 pm
1. The ball moves too slow;
2. Nice first game;
3. The numbers going up 1 by 1 may slow down the program;
4. Why does it have a cross sprite for the ball?
5. Try making an option for user to have a larger or smaller line to receive ball;
6. The 'lives' system is very well made;
7. The game is repetitive because of the ball being slow, even on hard version;
8. Congratulations!
Title: Re: My first game-Cannonball
Post by: aeTIos on October 21, 2010, 02:48:47 pm
1. The ball moves too slow;
2. Nice first game;
3. The numbers going up 1 by 1 may slow down the program;
4. Why does it have a cross sprite for the ball?
5. Try making an option for user to have a larger or smaller line to receive ball;
6. The 'lives' system is very well made;
7. The game is repetitive because of the ball being slow, even on hard version;
8. Congratulations!
thanks,
-the hard version is harder because the paddle moves slower than the ball
-its going slow because its a screenie
-i will include 5
-4:thats not a sprite its a circle. if you play it oncalc you wont see that if its moving
-3: thats your score!
-8: thanks!

Title: Re: My first game-Cannonball
Post by: Munchor on October 21, 2010, 02:50:39 pm
I know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key :)
Title: Re: My first game-Cannonball
Post by: Hot_Dog on October 21, 2010, 02:51:15 pm
Excellent for your first game!
Title: Re: My first game-Cannonball
Post by: aeTIos on October 21, 2010, 02:51:56 pm
I know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key :)
but its not nice when you dont see your score. ill remove the increasing high.
Title: Re: My first game-Cannonball
Post by: JosJuice on October 21, 2010, 03:29:18 pm
I know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key :)
Optimizing something like that is usually only necessary when TI-BASIC is being used.
Title: Re: My first game-Cannonball
Post by: Munchor on October 21, 2010, 03:50:26 pm
I know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key :)
Optimizing something like that is usually only necessary when TI-BASIC is being used.

Yes, but the numbers make it slow, one by one going up :S
Title: Re: My first game-Cannonball
Post by: nemo on October 21, 2010, 03:56:17 pm
having the text being displayed every frame severely slows down your program. i *think* that axe might even use TI OS' routines for text display on the graphscreen.
Title: Re: My first game-Cannonball
Post by: yunhua98 on October 21, 2010, 04:48:59 pm
Great Job!  I don't think that the score will slow the game down since this isn't BASIC.  but I may be wrong.  also, you could make your game smoother by adding only 1 in the coordinates, but its your game.  this game is definatley better than my first game!  ;)
Title: Re: My first game-Cannonball
Post by: Deep Toaster on October 21, 2010, 05:09:29 pm
Quote from: nemo
having the text being displayed every frame severely slows down your program. i *think* that axe might even use TI OS' routines for text display on the graphscreen.

Definitely true. Don't clear the screen and redraw everything every frame, and especially don't redraw the text. I wouldn't be surprised if it sped up at least 3x if you remove that. Otherwise, great job for a first game :)

Also, I just realized how close your avatar is to mine :D
Title: Re: My first game-Cannonball
Post by: yunhua98 on October 21, 2010, 05:15:02 pm
yeah, at first I thought he was you until I saw the post count.  btw, why does yours have a checkered-ish pattern?
Title: Re: My first game-Cannonball
Post by: Deep Toaster on October 21, 2010, 05:21:10 pm
Web-safe colors ;)
Title: Re: My first game-Cannonball
Post by: ztrumpet on October 21, 2010, 05:49:02 pm
Nice job. :)  The game's a classic, and it looks like you made a nice first game! ;D
Title: Re: My first game-Cannonball
Post by: DJ Omnimaga on October 21, 2010, 10:08:02 pm
I know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key :)
Optimizing something like that is usually only necessary when TI-BASIC is being used.

Yes, but the numbers make it slow, one by one going up :S
He could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.

Nice first game btw :). You should add some difficulty as the game progresses like maybe some obstacles or make the ball faster and faster as it progresses.
Title: Re: My first game-Cannonball
Post by: Darl181 on October 21, 2010, 10:47:30 pm
Or not draw it every frame.  Maybe every 10 frames or so.
Title: Re: My first game-Cannonball
Post by: aeTIos on October 22, 2010, 03:22:01 am
Quote
He could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.
i do this already
Quote
Nice first game btw :). You should add some difficulty as the game progresses like maybe some obstacles or make the ball faster and faster as it progresses.
obstacles were already scheduled, and i'll make the ball going faster.

to all: thanks for giving feedback, hold on
 
Title: Re: My first game-Cannonball
Post by: AngelFish on October 22, 2010, 04:03:14 am
Quote
He could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.
i do this already

I'm curious. Would you mind explaining how you draw the score?
Title: Re: My first game-Cannonball
Post by: aeTIos on October 22, 2010, 05:55:58 am
Quote
He could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.
i do this already



I'm curious. Would you mind explaining how you draw the score?
i use a list variable, {L1+5}r
each step, it puts a certain number up to the score. then i do text(2,0,{L1+5}r
and then a dispgraph (i draw to the buffer, thats fix5)
Title: Re: My first game-Cannonball
Post by: Jonius7 on October 22, 2010, 05:58:12 am
This is a very good first game! i love the way it is controlled!
keep up the great work!
Title: Re: My first game-Cannonball
Post by: DJ Omnimaga on October 22, 2010, 09:46:24 am
I'll probably give this a try on a real calc soon, although I cannot promise anything since last 2 weekends I was swamped with work and stuff.
Title: Re: My first game-Cannonball
Post by: AngelFish on October 22, 2010, 09:47:23 am
Quote
He could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.
i do this already



I'm curious. Would you mind explaining how you draw the score?
i use a list variable, {L1+5}r
each step, it puts a certain number up to the score. then i do text(2,0,{L1+5}r
and then a dispgraph (i draw to the buffer, thats fix5)


Oh, I thought you were using a custom text routine and somehow managed to get the numbers to shift between multiple decimal places. What you're doing is a bit more efficient though.
Title: Re: My first game-Cannonball
Post by: aeTIos on October 22, 2010, 09:48:24 am
Quote
He could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.
i do this already



I'm curious. Would you mind explaining how you draw the score?
i use a list variable, {L1+5}r
each step, it puts a certain number up to the score. then i do text(2,0,{L1+5}r
and then a dispgraph (i draw to the buffer, thats fix5)


Oh, I thought you were using a custom text routine and somehow managed to get the numbers to shift between multiple decimal places. What you're doing is a bit more efficient though.
yes, that is
Title: Re: My first game-Cannonball
Post by: aeTIos on October 22, 2010, 10:04:20 am
planned updates:
-going to include obstacles (5 levels)
-make the ball going faster
-user can set paddle width
more ideas? post them
Title: Re: My first game-Cannonball
Post by: JustCause on October 22, 2010, 10:23:37 am
An easy way to speed it up quick is to put in a flag that alternates between -1 and 1 every frame, and only draw the screen if that flag is equal to 1. Drawing the screen takes a surprising amount of time.
Title: Re: My first game-Cannonball
Post by: Builderboy on October 22, 2010, 01:55:30 pm
If you really wanted to go extreme you could have powerups and powerdowns falling from the sky :D
Title: Re: My first game-Cannonball
Post by: DJ Omnimaga on October 22, 2010, 06:54:27 pm
That would be cool :D
Title: Re: My first game-Cannonball
Post by: ztrumpet on October 22, 2010, 10:15:21 pm
I know it is the score, but maybe they shouldn't be there, for example, they would only show up at the end so that it doesn't slow down, optimization is the key :)
Optimizing something like that is usually only necessary when TI-BASIC is being used.

Yes, but the numbers make it slow, one by one going up :S
He could make the text be drawn on the buffer so it doesn't slow down as much, or he could use a custom font routine, but that's a bit harder.
Actually, drawing the text to the buffer uses a bcall, like displaying to the screen.  The two speeds should be similar (a slow-ish speed). :)
Title: Re: My first game-Cannonball
Post by: DJ Omnimaga on October 22, 2010, 10:16:16 pm
Ah ok, I notice a very small increase, personally, but it was negligible.
Title: Re: My first game-Cannonball
Post by: aeTIos on October 25, 2010, 01:58:01 pm
updated-check first post!
Title: Re: My first game-Cannonball
Post by: DJ Omnimaga on October 25, 2010, 03:27:15 pm
Nice but you might want to fix the collision detection in normal mode a little bit because it seems a bit off ???

Title: Re: My first game-Cannonball
Post by: aeTIos on October 25, 2010, 03:28:58 pm
Nice but you might want to fix the collision detection in normal mode a little bit because it seems a bit off ???


how do you mean?

I mean, i dont have problems with it

erm that one that it bounces back, i dont know what that is, i should fix that. i know it
Title: Re: My first game-Cannonball
Post by: DJ Omnimaga on October 25, 2010, 03:35:19 pm
Edited triple-post :P

See screenshot for what I mean.
Title: Re: My first game-Cannonball
Post by: aeTIos on October 26, 2010, 05:02:02 am
Updated to v1.4.0 - check first post!
Title: Re: My first game-Cannonball
Post by: tr1p1ea on October 28, 2010, 04:38:00 am
Sweet dude :).
Title: Re: My first game-Cannonball
Post by: DJ Omnimaga on October 28, 2010, 07:38:05 am
I didn't notice this update but nice! I like how the gameplay area gets smaller in height as it progresses :)
Title: Re: My first game-Cannonball
Post by: ztrumpet on October 28, 2010, 06:20:32 pm
Looks great! ;D  Nice job. :)
Title: Re: My first game-Cannonball
Post by: aeTIos on November 23, 2011, 04:14:49 pm
I know this is pretty much a necropost, but I plan on rewriting the whole thing, with powerups and powerdowns (http://ourl.ca/7538/131247), obstacles (http://ourl.ca/7538/131105) and graphics like this (http://tinyurl.com/2g9mqh).
Title: Re: My first game-Cannonball
Post by: epic7 on November 23, 2011, 04:17:48 pm
Is this like a brick-breaker without bricks?
Title: Re: My first game-Cannonball
Post by: aeTIos on November 23, 2011, 04:37:43 pm
yep.
Title: Re: My first game-Cannonball
Post by: epic7 on November 23, 2011, 04:39:33 pm
13 month necropost :P

And i like those graphics ideas.
Title: Re: My first game-Cannonball
Post by: aeTIos on November 23, 2011, 04:40:46 pm
They are pretty neat, not?
Title: Re: My first game-Cannonball
Post by: DJ Omnimaga on December 29, 2011, 02:48:21 am
graphics like this (http://tinyurl.com/2g9mqh).

Colors?? O.O

j/k I'm glad this is revived. :)