Pong [raxiss]

Want to talks about games you like, would like to see developed on the Oric, it's here.
User avatar
rax
Flying Officer
Posts: 193
Joined: Tue Jul 24, 2018 3:16 pm

Pong [raxiss]

Post by rax »

Hello, everyone :)

This is a first game i made 3 years ago. it's nothing special, but...
I had some free time and decided to publish it (I have been inviting for 2 years). Now also supports IJK joystick.
Maybe I had to do it in graphical mode :)

For levels, there are no levels, but:
- Every 5 of your points, the computer raises the level.
- Every 20 of your points, the speed of the ball increases.



I tried to find another "PONG" for Oric, but I couldn't. Is there one?

pong-V1.00.tap
(6.17 KiB) Downloaded 218 times
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: Pong [raxiss]

Post by jbperin »

Excellent !!

I retrieve the feeling of the first video game I played on a TV :-)
It's full of memory.

I don't have the menu at startup as it is shown in the video. Perhaps is it because I don't have joystick or because I'm on oricutron.

Anyway the game works nice !!!

hyper cool

Thanks
User avatar
rax
Flying Officer
Posts: 193
Joined: Tue Jul 24, 2018 3:16 pm

Re: Pong [raxiss]

Post by rax »

Ty :)
jbperin wrote: Tue Mar 23, 2021 8:30 pm I don't have the menu at startup as it is shown in the video. Perhaps is it because I don't have joystick or because I'm on oricutron.
You may have pressed a key before the end of loading. There should be a menu.
The game is not made very cleverly :)
User avatar
iss
Wing Commander
Posts: 1641
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Pong [raxiss]

Post by iss »

Well, new ver.1.10 is available:
- Oric-1 and Atmos (Pravetz-8D) compatible;
- first time menu is fixed (thanks to @jbperin for feedback ;)).

I'm attaching the fixed file here and @rax will update his first post.

EDIT: see next posts for an "more" updated version :).
Last edited by iss on Wed Mar 24, 2021 9:42 am, edited 1 time in total.
User avatar
coco.oric
Squad Leader
Posts: 720
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: Pong [raxiss]

Post by coco.oric »

Nice implementation ... pressing E at 14-10

May be some things could be applied :)
- speed
- width
- ball size
- missiles ;)
- or some other funny ideas we encountered in breakwalls

to make it more exciting.

Anyway, it's the first software for 2021. Thanks Rax / Iss

! Seems that there's a compatibility defect with Euphoric.
! Whatever V1.00 or V1.1 is loaded, menu is "cut"

Didier
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: Pong [raxiss]

Post by Dbug »

coco.oric wrote: Wed Mar 24, 2021 7:14 am Anyway, it's the first software for 2021. Thanks Rax / Iss
Technically my 256 bytes intro was released before :D
User avatar
iss
Wing Commander
Posts: 1641
Joined: Sat Apr 03, 2010 5:43 pm
Location: Bulgaria
Contact:

Re: Pong [raxiss]

Post by iss »

coco.oric wrote: Wed Mar 24, 2021 7:14 am ! Seems that there's a compatibility defect with Euphoric.
! Whatever V1.00 or V1.1 is loaded, menu is "cut"
Thanks, @coco.oric!

Attached version 1.20 contains:
- real fix for the menu;
- euphoric compatible.

pong-v1.20.tap
(6.16 KiB) Downloaded 217 times
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: Pong [raxiss]

Post by jbperin »

It's ok I've got the menu with this 1.20 version.

I tried all options and it works very nice !!

I only got a little glitch when I pressed E key while in the menu.
Sometimes it starts the game .. sometimes it goes back to menu after flashing the game (depending on how long you press the key).
But that's really minor issue.

This game is neat. Hope to see source code sometimes. ;-)

Once again big congrats to the killing RaxIss team !!
User avatar
rax
Flying Officer
Posts: 193
Joined: Tue Jul 24, 2018 3:16 pm

Re: Pong [raxiss]

Post by rax »

jbperin wrote: Wed Mar 24, 2021 1:21 pm Hope to see source code sometimes. ;-)
This is a OSDK version: https://github.com/raxrax/oricPong

In the new version has a only joystick support and the a color flashing title screen (I don't currently have Windows and can't update the code).
User avatar
coco.oric
Squad Leader
Posts: 720
Joined: Tue Aug 11, 2009 9:50 am
Location: North of France
Contact:

Re: Pong [raxiss]

Post by coco.oric »

Technically my 256 bytes intro was released before
ok, it seems i've missed it.
anyway, i'll modify the text : Pong is the first game (instead of software) of the year. ;)
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
User avatar
jbperin
Flight Lieutenant
Posts: 480
Joined: Wed Nov 06, 2019 11:00 am
Location: Valence, France

Re: Pong [raxiss]

Post by jbperin »

rax wrote: Wed Mar 24, 2021 8:14 pm This is a OSDK version: https://github.com/raxrax/oricPong
Thank you rax :D

That's cool to read your code.

It's crazy because when I was posting the message saying that I would love to see the code, I was trying hard to put some escape sequence in a printf format string.
The \nnn notation works with sprintf but printf doesn't seem to support this notation.
So I was really wondering how I could add some attribute in some text page of my game without having to change all printf() into sprintf();

And then I watched your code and I felt on the line 618 of the main. :shock:
I was surprised by the \033L
I ran the code and then I understood that the \033L was making the text blink.
I was still surprised because I was expecting the attribute value 12 for Standard Flashing and I couldn't correlate with the \033L.
I looked at the Oric Manual and found that the keyboard sequence to enter the escape code Standard Flashing was ESCAPE L
Google told me that \033 was Esc .. and then I finally understood how to put some escape sequence in printf format string.

Now I'm putting some \033 everywhere in my code :-)
Post Reply