Arkanoid Back to Basic

People are still making stuff for the Sinclair related machines. Tell us about new games and other software that runs on the Spectrum, ZX80/ZX81, Pentagon and Next.
Post Reply
User avatar
Andre Leao
Bugaboo
Posts: 3176
Joined: Mon Nov 13, 2017 9:28 am
Location: Portugal
Contact:

Arkanoid Back to Basic

Post by Andre Leao »

User avatar
Andre Leao
Bugaboo
Posts: 3176
Joined: Mon Nov 13, 2017 9:28 am
Location: Portugal
Contact:

Re: Arkanoid Back to Basic

Post by Andre Leao »

Full map of this fantastic game...

Image
User avatar
Daveysloan
Manic Miner
Posts: 373
Joined: Tue Jun 08, 2021 12:57 pm
Contact:

Re: Arkanoid Back to Basic

Post by Daveysloan »

So impressive, can't believe it was written in Basic. Imagine if this had've been on Horizons!
User avatar
cha05e90
Dizzy
Posts: 66
Joined: Sun Nov 19, 2017 7:02 pm

Re: Arkanoid Back to Basic

Post by cha05e90 »

Plays really well - esp. on a ZX Spectrum Next with 7MHz! :-)
48K/+/+/+/+128K/Vega/Next&80/81&88
User avatar
Andre Leao
Bugaboo
Posts: 3176
Joined: Mon Nov 13, 2017 9:28 am
Location: Portugal
Contact:

Re: Arkanoid Back to Basic

Post by Andre Leao »

cha05e90 wrote: Tue Sep 28, 2021 12:57 pm Plays really well - esp. on a ZX Spectrum Next with 7MHz! :-)
Will try that :)
+3code

Re: Arkanoid Back to Basic

Post by +3code »

Really smooth movement (I was waiting character-based), nice work. BASIC rulez
User avatar
Pegaz
Dynamite Dan
Posts: 1210
Joined: Mon Nov 13, 2017 1:44 pm

Re: Arkanoid Back to Basic

Post by Pegaz »

cha05e90 wrote: Tue Sep 28, 2021 12:57 pm Plays really well - esp. on a ZX Spectrum Next with 7MHz! :-)
Very true.
I tried on ZX-UNO with 7MHz and literally hooked to the game. :)
User avatar
patters
Manic Miner
Posts: 472
Joined: Thu Apr 11, 2019 1:06 am

Re: Arkanoid Back to Basic

Post by patters »

+3code wrote: Tue Sep 28, 2021 5:53 pm Really smooth movement (I was waiting character-based), nice work. BASIC rulez
Am I missing something? It seems to be character based movement for me. And the ball always seems to be at 45 degrees despite [mention]Andre Leao[/mention]'s review mentioning varying angle. It's fast for BASIC, but I don't find it playable. The paddle moves so slowly.
+3code

Re: Arkanoid Back to Basic

Post by +3code »

patters wrote: Thu Sep 30, 2021 6:51 am
+3code wrote: Tue Sep 28, 2021 5:53 pm Really smooth movement (I was waiting character-based), nice work. BASIC rulez
Am I missing something? It seems to be character based movement for me.
?? must be my glasses then...
patters wrote: Thu Sep 30, 2021 6:51 am It's fast for BASIC, but I don't find it playable. The paddle moves so slowly.
Well, I find it quite playable, I'm becoming old, I supose :lol:
equinox
Dynamite Dan
Posts: 1075
Joined: Mon Oct 08, 2018 1:57 am
Location: SE England

Re: Arkanoid Back to Basic

Post by equinox »

This is neat. There seems to be a bug though. I saw the ball pass through the top of the screen, and then it stopped with "B Integer out of range".

This was on level 6, and I had the laser, if that's relevant...
equinox
Dynamite Dan
Posts: 1075
Joined: Mon Oct 08, 2018 1:57 am
Location: SE England

Re: Arkanoid Back to Basic

Post by equinox »

One other little point: in the "level start" music, I think one of the notes is the wrong note. Listen carefully ;)
equinox
Dynamite Dan
Posts: 1075
Joined: Mon Oct 08, 2018 1:57 am
Location: SE England

Re: Arkanoid Back to Basic

Post by equinox »

Aaaaand... the ball can bounce off a falling power-up!
That gave me a shock as I thought I was about to collect an extra life, I can tell you.
User avatar
Andre Leao
Bugaboo
Posts: 3176
Joined: Mon Nov 13, 2017 9:28 am
Location: Portugal
Contact:

Re: Arkanoid Back to Basic

Post by Andre Leao »

patters wrote: Thu Sep 30, 2021 6:51 am
+3code wrote: Tue Sep 28, 2021 5:53 pm Really smooth movement (I was waiting character-based), nice work. BASIC rulez
Am I missing something? It seems to be character based movement for me. And the ball always seems to be at 45 degrees despite @Andre Leao's review mentioning varying angle. It's fast for BASIC, but I don't find it playable. The paddle moves so slowly.
No, it has different degrees, depending the place the ball touches the paddle...
User avatar
PeterJ
Site Admin
Posts: 6932
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Arkanoid Back to Basic

Post by PeterJ »

Message from Igna:

Hello!

I have released a new version 1.2 of my Basic 48kb game, with a bug fixed and speed improvement for Multiball and Laser PowerUps:
Please, update you database with this info.


Download it from https://ignacobo.itch.io/arkanoid-back-to-basic

Thank you very much!

[mention]R-Tape[/mention] are you OK to update our version?
User avatar
R-Tape
Site Admin
Posts: 6473
Joined: Thu Nov 09, 2017 11:46 am

Re: Arkanoid Back to Basic

Post by R-Tape »

PeterJ wrote: Sun Nov 07, 2021 8:46 am @R-Tape are you OK to update our version?
Sorted. It's in the queue ready for the next update.
IgnaCoBo
Drutt
Posts: 18
Joined: Tue Nov 16, 2021 9:11 am

Re: Arkanoid Back to Basic

Post by IgnaCoBo »

patters wrote: Thu Sep 30, 2021 6:51 am
+3code wrote: Tue Sep 28, 2021 5:53 pm Really smooth movement (I was waiting character-based), nice work. BASIC rulez
Am I missing something? It seems to be character based movement for me. And the ball always seems to be at 45 degrees despite @Andre Leao's review mentioning varying angle. It's fast for BASIC, but I don't find it playable. The paddle moves so slowly.
Hello,

at the beginning the ball moves at 4px horizontal and vertical, so 45degree angle.
After a couple of minutes (or hitting a yellow and red brick) the ball accelerates vertically, so it moves 8px vertically and 4px horiz (30degree angle).
A couple of minutes more, (or hitting the edge of the paddle) the ball moves 4px vertically and 8px horiz (60degree).
And some more minutes after, the ball accelerates and moves 8px vertically AND horizontally(45degree).

A good comparison can be seen when picking the 3Ball Power Up, as the 3 balls move with different speed and angles each other.

The paddle and PowerUp move per caracter.

Hava a look at the new version 1.2 as it moves faster, specially the 3ball and Laser.

Thank you for playing my game!!!
tomorrow I will post some of the tricks I use to improve speed in Basic

https://ignacobo.itch.io/arkanoid-back-to-basic
User avatar
patters
Manic Miner
Posts: 472
Joined: Thu Apr 11, 2019 1:06 am

Re: Arkanoid Back to Basic

Post by patters »

Thanks for the detail [mention]IgnaCoBo[/mention]. I didn't play it for long before, but did you now speed up the bat movement relative to the ball in this new version? It seems so. Before it seemed to me like if you weren't very precisely following where the ball would land laterally then it seemed like you had very little chance to catch up with it. That seems to me to have been improved. That's what I had meant when I wrote that the bat was so slow - I meant relative to the ball rather than in absolute terms. :)
IgnaCoBo
Drutt
Posts: 18
Joined: Tue Nov 16, 2021 9:11 am

Re: Arkanoid Back to Basic

Post by IgnaCoBo »

patters wrote: Tue Nov 16, 2021 6:54 pm Thanks for the detail @IgnaCoBo. I didn't play it for long before, but did you now speed up the bat movement relative to the ball in this new version? It seems so. Before it seemed to me like if you weren't very precisely following where the ball would land laterally then it seemed like you had very little chance to catch up with it. That seems to me to have been improved. That's what I had meant when I wrote that the bat was so slow - I meant relative to the ball rather than in absolute terms. :)
Mnnnnn, it was just your impression...

Actually, the bat moves faster, at 8px, and the ball moves horizontally 4px or 8px.


The new version improves overall speed, and drastically the 3ball PowerUp.

Thanks for playing it
IgnaCoBo
Drutt
Posts: 18
Joined: Tue Nov 16, 2021 9:11 am

Re: Arkanoid Back to Basic

Post by IgnaCoBo »

Rev_Stuart_Campbell wrote: Tue Nov 16, 2021 10:18 pm Now it's dressed :D

Image
Whaaatttt is that!!!!!!

It is AWESOME!!!!


Can I borrow it and add it to my game!!!!?
Credits to author, of course
IgnaCoBo
Drutt
Posts: 18
Joined: Tue Nov 16, 2021 9:11 am

Re: Arkanoid Back to Basic

Post by IgnaCoBo »

Cover screen added!

Thank you Rev_Stuart_Campbell

Image
+3code

Re: Arkanoid Back to Basic

Post by +3code »

IgnaCoBo wrote: Tue Nov 16, 2021 10:09 am
Thank you for playing my game!!!
tomorrow I will post some of the tricks I use to improve speed in Basic

https://ignacobo.itch.io/arkanoid-back-to-basic
Waiting for an interesting reading.
IgnaCoBo
Drutt
Posts: 18
Joined: Tue Nov 16, 2021 9:11 am

Re: Arkanoid Back to Basic

Post by IgnaCoBo »

+3code wrote: Wed Nov 17, 2021 8:11 pm
IgnaCoBo wrote: Tue Nov 16, 2021 10:09 am
Thank you for playing my game!!!
tomorrow I will post some of the tricks I use to improve speed in Basic

https://ignacobo.itch.io/arkanoid-back-to-basic
Waiting for an interesting reading.
Tips for Speeding up your basic program:
1- Your main loop should start at the first line of your code
2- Try to make all the conditions in IF sentences to be like IF var or IF NOT var, meaning that var is not 0 or var equals 0, as this conditions are evaluated the fastest
3-Declare first the most used variables, and make them just 1 char long. Also, from var number 13 or 14, it is faster to access memory addresses using POKE and PEEK, instead of LET for byte variables. but this costs memory, and worsens the code readbility.
4-Use simple PRINT commands, including color code within the string . Ah! And end the sentence with a ; as it saves a Carriage Return! And that is some frames less...

Also, check this articles out:
you can read about efficient basic in these five articles (in spanish and english), they are a must! http://blog.jafma.net/2020/02/24/effici ... -spectrum/
Post Reply