qpong

Anything QL Software or Programming Related.
Post Reply
User avatar
NL_QL_Usr
Bent Pin Expansion Port
Posts: 95
Joined: Sun Jan 08, 2023 8:42 am
Location: Harz DE

qpong

Post by NL_QL_Usr »

Just trying a bit graphics.

Off course one will miss the analog pots....
not a serious try just sharing

But have fun


User avatar
dilwyn
Mr QL
Posts: 3077
Joined: Wed Dec 01, 2010 10:39 pm

Re: qpong

Post by dilwyn »

Hi NL_QL_Usr,

Just spent a happy quarter of an hour playing this. Nice work! Looks good - simple and effective graphics.

Thought I'd write a little bit of feedback.

It ran OK on my QPC2 system. Without looking at the code, I'm not sure how to change the speed, or is that an auto-speed, e.g. speeds up the better your score or slows down if you have a low score?

A few screen shots below to show a couple of graphical wobbles which happened. Not sure if it's something to do with me running it in high resolution on QPC2 or not. I hope the JPG screen shots don't lose the fine detail of what happens on the right of the screen.

Picture 1. Sometimes I get a "double bat" (or is a bat called a paddle in a pong game?) on the left hand side.
Picture 2. Sometimes the ball goes through the bat on the right hand side and leaves gaps in it. Hope the screen dump is detailed enough to show the missing pixels in the bat.
Picture 3. Sometimes you get some dots from the ball left on the right hand side when you miss the ball.
Feedback 1
Feedback 1
pong_fb1.jpg (4.58 KiB) Viewed 1799 times
Feedback 2
Feedback 2
pong_fb2.jpg (3.98 KiB) Viewed 1799 times
Feedback 3
Feedback 3
pong_fb3.jpg (4.43 KiB) Viewed 1799 times


User avatar
pjw
QL Wafer Drive
Posts: 1610
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: qpong

Post by pjw »

Well done!

I only (briefly) tried in QPC2, where it worked perfectly. My only comment is that for SBASIC you should give PAUSE a channel number, thus:

200 PAUSE#mw%; 2

otherwise SBASIC opens a default window, which spoils the display.

SuperBASIC's PAUSE doesnt allow a channel number, so I recently added an SBASIC/MBASIC-compatible PAUSE to Knoware's Q2S compatibility toolkit. Unfortunately Knoware is currently unavailable while Im waiting for a place to host it..


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
User avatar
NL_QL_Usr
Bent Pin Expansion Port
Posts: 95
Joined: Sun Jan 08, 2023 8:42 am
Location: Harz DE

Re: qpong

Post by NL_QL_Usr »

Hey Pjw;

You're very right!!! about the channel off coarse!

I know it is still a lot of work to make it better.

but is it is a start..

Thanks


User avatar
NL_QL_Usr
Bent Pin Expansion Port
Posts: 95
Joined: Sun Jan 08, 2023 8:42 am
Location: Harz DE

Re: qpong

Post by NL_QL_Usr »

Thanks Dilwyn!!

Great to get feedback!!

0. The speed is the pause so when it is smaller, the speed is higher.
It speeds up during the game play

1. I saw the double bats also grinns the over-1 and over 0 and the old positions still need more ork.

2. I noticed the ball going through the bat also the position off the baal against the player must be improved.
And the angle should change also I think to make it even more fun.
3. Yey it happens same over-11 and over again.

It is my first try ....'
A lot of improvement is necessary to make it more stable
But anyway I hd lot off fun trying it out....


User avatar
Popopo
Gold Card
Posts: 429
Joined: Wed Apr 07, 2021 10:37 am

Re: qpong

Post by Popopo »

Hi!
It looks nice and promising! :)

Are you planing to do it for one or two players?
I like your idea to start to practice coding for QL. I will follow your steps too.
Thanks


User avatar
NL_QL_Usr
Bent Pin Expansion Port
Posts: 95
Joined: Sun Jan 08, 2023 8:42 am
Location: Harz DE

Re: qpong

Post by NL_QL_Usr »

Thanks to Dilwyn and PJW

I've cleaned up a little.... :oops:

Now the ghost have disappeared and the pause is adjusted ( I hope )..
Attachments
qpong_bas.zip
(1.35 KiB) Downloaded 102 times


Post Reply