Videopac / Odyssey2 forum
August 11, 2022, 02:02:28 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: If you have some news and you want it to be shown here, pm Janzl!
 
   Home   Help Login Register links videopac.nl  
Pages: [1] 2   Go Down
  Print  
Author Topic: A better basketball game  (Read 2452 times)
Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« on: November 21, 2021, 07:46:26 PM »

I always thought Basketball for the O˛ could look better. So, in the vein of "Golf Tournament", I decided to take a stab at making a better basketball court. You can move the guys around and the green guy is actually dribbling the ball, but that's as far as I have so far.

Please note that the reason I make all these games I make is because I have no life and CAN sit at the computer all day every day just coding away. Also, if I didn't, all I'd do is just sit and watch TV. But there's never anything good on, so I'd just watch my DVDs over and over again until the laser broke.

Anyway, let me know what you think.
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
immergruen
Freedom Fighter
****
Posts: 303


« Reply #1 on: November 21, 2021, 07:57:07 PM »

I really appreciate your contribution for the community, but feel kind of sad reading this.
Maybe we can have a beer one day somewhere and spend a cheerful and memorable night!
Logged
Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« Reply #2 on: November 21, 2021, 09:26:58 PM »

What I meant to say was nobody is forcing me to work on Odyssey 2 projects all the time. In case people were wondering why I'm making so many. I do it for the same reasons as everyone else: love. It's just that I tend to make more stuff than other people do.
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
Pickaxe Brad!
Played Munchkin once...
**
Posts: 87



« Reply #3 on: November 22, 2021, 04:53:18 AM »

You've already addressed the three biggest issues with the game:
Dribbling +1.
3D court +1.
A net (instead of making the ball go through the wall to count) +1.

All that's left is allowing scores 100 and higher.

A Better Bowling! / Better Basketball! cartridge is just what we need...Please tell me you're going to fix the bowling game as well.  I always wanted a version of Bowling! with visible pin action and correct strike/spare scoring.  To help out mocked up a BB!/BB! box for you!

Also, if I can get in on that beer night, I'll buy the first round.
Logged

I make 0.196 posts per day.
Rafael
Pedit5
I take the Videopac and leave the Canoli!
*
Posts: 2832



« Reply #4 on: November 22, 2021, 04:55:42 AM »

Interestingly, I started something, both for Basketball and for bowling,
but I don't know if I will work on it. In any case, any single player sports game is welcome
Logged

Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« Reply #5 on: November 22, 2021, 05:19:29 PM »

I was going to make this a 2-player game. Anyway, I noticed something. The ball is a character. The nets are characters. If characters overlap, funky things can happen with the screen. So I had to replace the nets with sprites. All the sprites are used up now, but it looks a little better.
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« Reply #6 on: November 22, 2021, 07:34:51 PM »

I suddenly lost the ability to do this. I want to have ballx be the same value as player2x and I can't. I tried this, which I copied and pasted from another game I made, and it won't work in this code.
Code:
mov r0,#005h    ; get player 2x
movx a,@r0
mov r1,#031h    ; get ball x
;add a,#0          ; don't add anything yet
movx @r1,a       ; put player2x data in register 031h
It won't work. How do I do this?
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
manopac
Game & App Development
Give this man a Jopac!
*
Posts: 1171



« Reply #7 on: November 22, 2021, 08:15:40 PM »

did you enable exram before trying to copy values in exram ?
Logged

sex, lies, and videopac
Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« Reply #8 on: November 22, 2021, 09:04:31 PM »

I don't know.
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« Reply #9 on: November 22, 2021, 09:17:08 PM »

I fixed it. r3 is x and r4 is y.
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« Reply #10 on: November 22, 2021, 11:51:25 PM »

OK, gang. I got it so you can shoot the basketball. If you miss, either guy can pick up the basketball when it's on the floor with ACTION. A gentle tap will be a gentle shot and if you hold it longer it's a more forceful shot. The green guy shoots on the left side hoop and the blue guy shoots on the right side hoop. I admit the shot arc needs a lot of work. No scoring yet, though.
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« Reply #11 on: November 23, 2021, 10:55:41 PM »

Fixed the controls. Apparently everything was wrong with them on a real Odyssey˛, but I think I cleared it up. I have a bug: Sometimes when the player steals the ball, he shoots it at the same time, thus causing the ball to fly out of his hands and on to the floor. That also happens sometimes in a real basketball game, so I'll leave it in. And I got the scores working. You can score over 100 points. Next thing to do is the timer, which will be made up of quads 0 and 1. Perhaps even a quarter number could be displayed as well?
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
Chris!
Give this man a Jopac!
******
Posts: 1298



WWW
« Reply #12 on: November 24, 2021, 06:37:26 AM »

I put in the clock. Each quarter is 5 minutes. If the score is tied after 4 quarters, then an overtime is 5 minutes. Each additional needed overtime is 5 minutes. Thoughts?
Logged

All my Odyssey2 projects, now in one place!
http://www.atari2600land.com/odyssey2.html
Pickaxe Brad!
Played Munchkin once...
**
Posts: 87



« Reply #13 on: November 24, 2021, 08:15:03 PM »

allowing scores 100 and higher. +1

Exciting that Better Basketball! is taking shape.  Keep up the good work.
Logged

I make 0.196 posts per day.
Rafael
Pedit5
I take the Videopac and leave the Canoli!
*
Posts: 2832



« Reply #14 on: November 25, 2021, 03:41:32 AM »

There is a bug. At a certain point, the ball began to travel dagonally until it disappeared from the screen.
Logged

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!