In the making: Arukanoido – an Arkanoid clone

Discussion, Reviews & High-scores

Moderator: Moderators

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Sun Nov 08, 2015 9:27 am

The inevitable happened: it got a MINIGRAFIK viewer and the C64 conversion of the splash screen went in.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Thu May 12, 2016 10:51 pm

This is my best worst hangover ever. Woke up with Arkanoid music and sound effect routines for the VIC in my email folder… :D More on that later with all the credits.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
mrr19121970
Vic 20 Nerd
Posts: 795
Joined: Tue Jan 19, 2016 9:22 am
Location: Germany
Occupation: IT service manager

Re: In the making: Arukanoido – an Arkanoid clone

Postby mrr19121970 » Sat May 14, 2016 11:33 pm

Just downloaded. I hope I can use paddles.

Update


Only tried joystick, but there is no sound. Is it me, or by design? seems to be on the 'to do list':

pixel wrote:Missing:
* Enlarging bonus
* Breaking bonus (opening a door out to the next level)
* 29 levels and the DOH
* Floating enemies
* Scores
* Music & sound


Update 2


Paddles support, graphics (the bat) becomes very flickery.

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Sun May 15, 2016 8:04 am

mrr19121970 wrote:Only tried joystick, but there is no sound. Is it me, or by design? seems to be on the 'to do list':

Nope. No sound. Just got the routines and need to port Arukanoido to ca65 – using my own assembler doesn't make much sense where team work makes the dream work.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Sat Apr 29, 2017 4:40 am

There's a new version: https://github.com/SvenMichaelKlose/arukanoido/blob/master/arukanoido.prg

Good news:
* Music and sound by beamrider (not fully utilised yet).
* Dynamic frame rate.
* Runs on NTSC.at the same speed as PAL does.

Bad news:
* Screen is too high for NTSC.
* Ball/vaus collision detection disappoints at times.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
rhurst
Omega Star Commander
Posts: 1302
Joined: Thu Jan 31, 2008 2:12 pm
Website: https://robert.hurst-ri.us
Location: Providence, RI
Occupation: Office of the CIO

Re: In the making: Arukanoido – an Arkanoid clone

Postby rhurst » Sat Apr 29, 2017 5:08 am

Sweet! 8)
Any technology distinguishable from magic is insufficiently advanced. See also magic.

User avatar
tokra
Vic 20 Nerd
Posts: 803
Joined: Tue Apr 27, 2010 5:32 pm
Location: Germany

Re: In the making: Arukanoido – an Arkanoid clone

Postby tokra » Sat Apr 29, 2017 6:13 am

Very nice! Tried it for a little while, here's my bug report:

- joystick detection does not work unless run/stop-restore is done before "RUN" when loading from disk. This is probably due to comparing to numerical values instead of set bits? This is a common problem - disk access sets (or erases?) some bits in the VIA-registers that are also used for the joystick and if you compare to numerical values the joystick will never work. Mike could explain in more detail :P

- the color of the "pipes" at the border of the screen seems to switch from cyan to pink depending on when you start the game from the title screen. Maybe this has do to with $900e (volume register and auxiliary color)

- when getting the "Laser"-extra it does not fire for a few times until it finally works. Maybe a counter needs to be reset? (could not test this extensively).

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Sat Apr 29, 2017 6:40 am

tokra wrote:- joystick detection does not work unless run/stop-restore is done before "RUN" when loading from disk. This is probably due to comparing to numerical values instead of set bits? This is a common problem - disk access sets (or erases?) some bits in the VIA-registers that are also used for the joystick and if you compare to numerical values the joystick will never work. Mike could explain in more detail :P

That just worked on the real machine here. Did you use VICE?
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
tokra
Vic 20 Nerd
Posts: 803
Joined: Tue Apr 27, 2010 5:32 pm
Location: Germany

Re: In the making: Arukanoido – an Arkanoid clone

Postby tokra » Sat Apr 29, 2017 6:59 am

Yes, but just checked on the real machine. It works even worse there. Most of the times it does not work at all, even if I stop/restore or sys65017 before starting. Some other times it works. I tried other games and all these work fine. Definitely something fishy going on here...

Edit: Just tried with the old 2015-version. No issues there.

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Sat Apr 29, 2017 7:20 am

tokra wrote:Yes, but just checked on the real machine. It works even worse there. Most of the times it does not work at all, even if I stop/restore or sys65017 before starting. Some other times it works. I tried other games and all these work fine. Definitely something fishy going on here...

Edit: Just tried with the old 2015-version. No issues there.

Will have to clean everything up a bit. It's been a long break. The paddle is used as soon as there's a change in register $9008 btw. See https://github.com/SvenMichaelKlose/arukanoido/blob/master/src/controllers.asm#L22
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
Mike
Herr VC
Posts: 2952
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Re: In the making: Arukanoido – an Arkanoid clone

Postby Mike » Sun Apr 30, 2017 3:37 am

pixel wrote:Will have to clean everything up a bit. It's been a long break. The paddle is used as soon as there's a change in register $9008 btw. See https://github.com/SvenMichaelKlose/arukanoido/blob/master/src/controllers.asm#L22

I made a quick peek at the file - at least two issues:

* there's no initialisation for 'old_paddle_value' and 'is_firing':
- this locks the joystick if whatever is in RAM @old_paddle_value is different from what the paddle register returns,
- 'is_firing' might need to be counted down from a much higher value than 9, which corresponds to tokra's observations.

* The comparison 'old_paddle_value' with $9008 should allow for a small tolerance band, as on real h/w the paddle values jitter.

...

Otherwise the joystick registers are read out correctly with masks, so no complaint here. However, it is not necessary to set port A of VIA #1 repeatedly to input. It is already on input as per OS default, and if you want to go by the book, it's sufficient to write to the DDR once at the start of the program.

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Sun Apr 30, 2017 4:27 am

Fixed a lot of things. Joystick works and it got a little bit faster (for NTSC at least). Sounds got prioritised.

Do real paddles work now?
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Sun Apr 30, 2017 4:39 am

Mike wrote:* there's no initialisation for 'old_paddle_value' and 'is_firing':
- this locks the joystick if whatever is in RAM @old_paddle_value is different from what the paddle register returns,
- 'is_firing' might need to be counted down from a much higher value than 9, which corresponds to tokra's observations.

* The comparison 'old_paddle_value' with $9008 should allow for a small tolerance band, as on real h/w the paddle values jitter.

old_paddle_value is set in main.asm. is_firing is now initialised there as well. Thanks!

The joystick/paddle code got mixed up too much and had a bunch of regular bugs. I hope that worked.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose

User avatar
tokra
Vic 20 Nerd
Posts: 803
Joined: Tue Apr 27, 2010 5:32 pm
Location: Germany

Re: In the making: Arukanoido – an Arkanoid clone

Postby tokra » Sun Apr 30, 2017 4:55 am

Looks a little better, but still does not work when I drag and drop the file into VICE. The bat immediately goes to the left and stays there.
It works if I do a manual stop/restore before starting.

Same behaviour on my VIC-20 with Mega-Cart when I start through the file browser. Somehow the VIA-registers are not initalized right.

User avatar
pixel
Vic 20 Nerd
Posts: 867
Joined: Fri Feb 28, 2014 3:56 am
Website: http://hugbox.org/pixel/
Location: various
Occupation: Pan–galactic shaman

Re: In the making: Arukanoido – an Arkanoid clone

Postby pixel » Sun Apr 30, 2017 5:11 am

Hrmph. :(

Now nothing touches the VIA anymore but the IRQ timer and joystick reads.
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose


Return to “Games”

Who is online

Users browsing this forum: vicist and 2 guests