Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Ashbad on February 04, 2011, 06:30:57 pm
-
Basically, I was bored in science today, so I made a game using my famous ball physics -- except in version two. Basically, collision detection is perfect and pretty fast. Instead of the old version, which was basically just checking boundaries to bounce off of, this one checks every single location along a movement path to see if it's to bounce or not. The reason I didn't upload it yet is because it's only 50% done. I plan to upload it tomorrow, and it should be all done.
Basically, the game works like this: You are a triangle, and after getting sooooo beast at playing Wallball 83+ (found in the omnimaga archives, by me) you decide to up the competition and compete in the world famous BimBall Games! Of course, you notice enemies in black with great AI routines as a challenge -- and you realize this is by far a step up from wallball. You even notice Ashbad's new unique collision detection routine :)
...But, are you up for the challenge?
The rules are as applied:
1. Each player starts each round at opposite sides of the field, and the ball falls from the middle of the screen. The first person to touch the ball gets 2 points added to their score.
2. Points can also be scored by bouncing the ball into a Net at either side of the field. Each score in a net is 10 points.
3. Points scored while the player is jumping in mid-air are multiplied by 150% before being added to the player's score.
4. If the human player touches the AI controlled player, it is considered a "Drawn Round", and another round starts. No points are added to either side.
5. A new round is started either after a Net score is made by either player or a "Drawn Round" is applied. this then triggers rule #1.
And here is what the field basically looks like, and yes the words are in mid gray in the program:
PS: This is almost EXACTLY what it looks like, just that the text is a bit messed up (paint is bad at making Ti83+ fonts :P)
-
Sorry, I accidentally posted a post that said "h" a second ago -- I was trying to say something like "hell yeah I'm 80% done now" and some more stuff, but... screw IE.
-
I hope you weren't just making the thread show up on OmnomIRC to make people reply, because in the trash bin there are two such posts, which are 30 minutes apart. Most people were probably busy with other threads (there are many). I myself was sleeping for a bit since I suddently felt tired for some reasons. I also can take 2-3 days to reply to topics.
This looks nice, so it will kinda be like basket ball, right?
-
This sounds pretty neat. I'm looking forward to it. :)
-
it's almost done now! :D
Just have to add in an enemy AI. The new physics are awesome BTW.
-
I'm glad to hear :D. I hope you don't have too many problems with the AI. Any plans for multiplayer, by the way?
-
Not real multiplayer, unfortunately... :P
Though.. I'm am testing a 2 on 2 team version, with 2 AI's versus you and another AI... ;)
-
In about 3 hours I plan to post an alpha here for BimBall. I just need to polish the AI a little bit more just to make it somewhat competitive (so far, it's pretty good, but I as the programmer knows its every move ;D)
-
wow, I'm actually quite impressed with my AI. It doesn't show it in this screenie unfortunately, but in real life it just kicked my ass 10-3 in a game O.O
of course, I'm gonna have to make it have easier levels and stuff, but I have TONS more planned to be added... >:D >:D >:D (secret for now, you'll just have to wait ;))
Enjoy, executable is in the .zip file, along with the .gif. I bet even on hardware my AI could beat you so bad ;D
EDIT: I'm white, the AI is black.
-
Hey, that's pretty cool! :D
-
That looks pretty neat. Nice job! ;D
-
I hate internet explorer... But what I can see great job.
-
yeah thanks I guess it's cool
-
That looks excellent! :D Love the physics you implemented :) although it looks like it behaves slightly weird in the basket? I saw it hit the side of the basket and then rebound like it hit the floor?
-
yeah, I need to make it check for more pixels against the sides of the ball x.x
but great to see you like it :D
-
Yeah with a ball that size it gets crazy I imagine x.x One of the reasons I never really developed a fully flexible ball physics engine myself. Congrats on getting the physics as awesome as you did :D
-
thanks for the complements :D
also,
I'm now thinking of adding 2 on 2 mode, switch-activated platforms, loading a level design from a pic var, and a few other things :D
-
I plan on releasing version 1.0 later today.
-
Sounds great.
As a side note, have you considered scrolling edges? or would that take to much memory?
-
I won't add scrolling edges to this game, but I'm saving that for my ball "Toy" game, which features a gigantic world to play around with a ball in :)
-
I won't add scrolling edges to this game, but I'm saving that for my ball "Toy" game, which features a gigantic world to play around with a ball in :)
sounds similar to what I was messing around with today. I am having fun learning about tile mapping. The way i do it is to have the world scroll and the character will stay in one place :)
-
I always liked that method too :) rather fast and a bit quicker to code. Right now my challenge is getting ti to smoothscroll with the character moving fowards-backwards nearer to the edge.
Also, I guess I didn't explain what is in version 1.0:
-Sports announcer after each round
-instant replay letting you look at the last 20 frames before the last score
-A decent title screen, options screen, and info screen
-you can actually win the game now (takes ten scores)
-fixed a few bugs
-etc.
the replay is the coolest though :)
-
I always liked that method too :) rather fast and a bit quicker to code. Right now my challenge is getting it to smoothscroll with the character moving fotwards-backwards nearer to the edge.
Also, I guess I didn't explain what is in version 1.0:
-Sports announcer after each round
-instant replay letting you look at the last 20 frames before the last score
-A decent title screen, options screen, and info screen
-you can actually win the game now (takes ten scores)
-fixed a few bugs
-etc.
the replay is the coolest though :)
How do you have the replay coded? Is it 20 767byte pieces of memory? (happybobjr hopes not)
-
it does require about 14K open RAM, but it's safecoded to tell you when you're getting near low RAM and if you have enough to allow playing of movies. It's worth the memory however, as it is REALLY cool... :)
and also, the program can be ran from the RAM nostub and still have enough room for the replay data.
-
it does require about 14K open RAM, but it's safecoded to tell you when you're getting near low RAM and if you have enough to allow playing of movies. It's worth the memory however, as it is REALLY cool... :)
and also, the program can be ran from the RAM nostub and still have enough room for the replay data.
Could this cause "wear and tear" on the memory though? (question directed twords everyone)
Maybe have a list of all previous commands and reverse engineer with current variables to be smaller?
-
it would cause wear and tear like the same as running a program (all it does it creat one appvar and keep it for the duration of the game, writing only to that and rewriting to earlier segments when you go over the edge of the memory)
so no worries :)
-
might as well post 1.0:
EDIT: reposted in another reply.
-
holy cow, the replay really is amazing looking.
-
thanks ;D
I got the idea of it from watching football last weekend, I thought "hey that in a calc game would be awesome!"
that and the commentator give it a more sporty feel :) though the commentator only says like 10 different things right now, I intend to add at least 100 more :P then it's really realistic
EDIT: also, maybe even the commentators marking up the "field" like in football to show motions ;D and also maybe a second replay option to replay at full speed before replaying in slow-mo
and I hate to judge my own games, but this one is my most addicting game ever ^-^ played it for an hour stright during science today :)
-
Wow, that replay looks awesome! I wish I had the time to put this on my calc; I'm sure once I get it on there I'll play it a lot. :D
-
I must say that replay is top notch. I am curious to how you pulled it off. It really adds a nice touch. Did you store the player's like last five positions as well as the ball's?
-
last 20 actually :)
-
Ashbad, your GIF and ZIP was deleted, it seems, please reupload...
-
it was? :/
kk, I can;t reupload until I get home from school in about an hour though D:
-
it was? :/
kk, I can;t reupload until I get home from school in about an hour though D:
Too bad, we'll have to wait, but I'll check it out later then.
-
kk
EDIT: typical rick astley concert: (no idea why I ever posted this O.o)
(http://www.gifsoup.com/imager.php?id=590683)
-
Wow you store 20 picture sized files for the replay? Wouldn't it be like 9000 times more memory efficient to store the XY position of the ball and 2 players (overall 6 bytes) and then replay that? And faster as well for storage
-
yeah, that's what I finished today, and will post in 1.1
-
yay :D Are you gonna increase the replay length in addition?
-
I could, but 20 frames is already pretty long replay O.O
-
Ah, wasn't sure of the framerate so i didn't know how long it was ^^
-
So... Ashbad? When are you posting the game and screenie again?
-
Yeah I was wondering that too, also he didn't post in a few days it seems. I hope he didn't ditch calc stuff again like he did for a while during Christmas when he got his iPad. :S
-
finally found the original file and screenie! attached.
-
Ooooh Ashbad, looks nice! I like the design, but the title screen, I think, could be improved =D
-
yeah, I was gonna put in a bouncing ball, but this was a test to see how fast I could speed-code a game. this was made in exactly 30 minutes during my science class ;)
EDIT: for some reason it's going really slow, so I'm posting the screenie here in another format to see if it'll go real speed. If not, maybe I need to record them differently?
EDIT2: a bit faster, but it should be going at a decent rate in firefox :( for some reason it's only this screenie.
(http://www.omnimaga.org/index.php?action=dlattach;topic=6471.0;attach=6656;image)
-
NEWS: you can now download 1.1.0 in the downloads section of this site. Thanks for all support!
-
I tried this this afternoon and it was quite fun to play. I noticed a bug, though:
-
I think in the old version there was a way to always force a win without trying. I"ll see if I can replicate it in this version :P
@DJ I think it's using pixel detection so you're essential wallclimbing xD Probably should fix that, Ashbad.
-
EDIT: for some reason it's going really slow, so I'm posting the screenie here in another format to see if it'll go real speed. If not, maybe I need to record them differently?
EDIT2: a bit faster, but it should be going at a decent rate in firefox :( for some reason it's only this screenie.
If you're using chrome, try recording it at 9 FPS.
Also the game looks awesome./me lost
-
/me lost
I hate you more every day :P
-
I love you too :P no homo btw
-
I tried this this afternoon and it was quite fun to play. I noticed a bug, though:
I actually found that a while ago ^-^
I kept it to see how long it would take someone to find it ;D
No joke.
-
Lol, you could do that when playing basketball -- just sit in the basket :P
-
^-^
-
Indeed. That reminds me... would Axe and the calc handle an actual basket ball game well? (I think hockey would be better, tho)
-
Hockey could look pretty cool, but I'm not so sure if the calc could handle all the ai. Maybe a version with less players such as 3 per side instead of 6. I also thought baseball could be possible too. for basetball, not the actual game, but maybe something more like a free throwing game you sometimes see at arcades where the basket moves around.
and Ashbad, that looks great. I just need to go find my usb cable now. :thumbsup:
-
IMO, the AI is a bit too good, and you move too slow i think
Nice game, either (I lost)
-
z80man yeah maybe. I thought about maybe a port of Ice Hockey, which is also available on 68K calcs. Back in 2003, Spitfire Productions (one of the many ancestors of Revsoft) team had someone working on one, but unfortunately the guy vanished. :(
-
I was playing this a bit during school today, some thoughts.
• Is there a pause? If so, could it be moved to MODE?
• Collision detection could use some working on. Sometimes it would shoot through the bottom or side of the basket and be called a score, also sometimes the ball would fall right through the triangle/paddle/whatever
• Maybe an option to change the max scores, maybe to something like 5 or 20 instead of 10
Nice game ;D
-
The ball moves a bit fast for my tastes, but overall it's a very interesting game. Also maybe decrease the chance that the ball will get so low as to bounce into the dead zone to extend gameplay time?
-
Yes, collision detection can be worked on, but that would kill some speed -- and if you know me well, it takes some convincing for me to drop speed in a program >.<
Good to see the feedback -- maybe on monday/tuesday I'll have things like a teacher key, collision detection improvement, max score increase, and a few more things. If yuo want anything else changed, start posting them after this reply.