redbug
(Miguel Vanhove)
April 23, 2017, 4:35pm
#1
v0.1 of my first Arduboy games is ready.
Diamonds is a mix between a breakout game and a puzzle game.
Original game was released on HP48 more than 20 years ago (yes… Already 20 years…).
50 puzzles to complete. More and more challenging.
Enjoy & comment.
Arduboy: https://github.com/kyuranGames/diamonds/releases/download/v0.1/diamonds.arduboy
Source: https://github.com/kyuranGames/diamonds
5 Likes
MLXXXp
(Scott)
April 23, 2017, 4:48pm
#2
Your music score contains 6 parts but ArduobyPlaytune will only play the first two. The data for 4 of the parts is just wasted space
redbug
(Miguel Vanhove)
April 23, 2017, 5:37pm
#3
Do you said that by looking for the song array (in resources.h) - maybe with the header - or with the midi file ?
I don’t use the entire midi file. I cut the array and add the 0xe0 byte to repeat the song
Thanks
eried
(Erwin)
April 23, 2017, 5:55pm
#4
I am a simple person: if is related to HP calculators, I click like.
1 Like
MLXXXp
(Scott)
April 23, 2017, 5:57pm
#5
Yes, I looked at the song[] array in resources.h
Commands to start a note begin with 0x9 and commands to end a note begin with 0x8. The lower nybble of the command is the channel to use:
0x90 play a note on channel 0
0x91 play a note on channel 1
0x80 stop playing the note on channel 0
0x81 stop playing the note on channel 1
ArduboyPlaytune will only use channels 0 and 1. Start note commands 0x92 and higher, and stop note commands 0x82 and higher, will be ignored.
You can use the -cn option with midi2tones to only process certain channels. -c3 will extract only channels 0 and 1.
You can also try the -s1 and -s2 options with midi2tones to see if they do a better job of extracting the desired parts.
JO3RI
April 23, 2017, 7:00pm
#6
Are you able to shoot a video ?
redbug
(Miguel Vanhove)
April 23, 2017, 7:46pm
#7
Ok. Thanks again. I’ll make the changes for the next version
redbug
(Miguel Vanhove)
April 23, 2017, 7:52pm
#8
Yes.
But not today.
I’ll try to get the serial output of screen mirroring to a video.
PS. Eendracht maakt macht !
JO3RI
April 23, 2017, 8:53pm
#9
@redbug schitterend ! We need to talk … tomorrow
eried
(Erwin)
April 27, 2017, 7:04pm
#12
Was the HP48 version this hard? (at least the first stage is quite hard for 1st stage)
redbug
(Miguel Vanhove)
May 3, 2017, 4:17pm
#13
Yes. It even runs quicker
Brizzlyy
(julien)
August 8, 2017, 8:54pm
#14
Nice work Diamonds !
I’m SunHp (Older HP48 asm game maker) and also senior software engineer.
Would you think possible to build a port of one of my HP48 games? Feel free if you would!
Best regards,
Julien Meyer
http://jadegame.com/games/hp48/
1 Like