![]() |
|
Haiku Game - A Musical Instrument |
Mark Oates
Member #1,146
March 2001
![]() |
Gufah?!
Alright, I wanted to create an app that demonstrated the animation possibilities of my framework (also inspired by the haiku thread). Since the turret game was pretty dry, colorless, and not developed, I wanted to create something that had more life. This is what I came up with. I hope you enjoy it! Screenshot
{"name":"600075","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/2\/d2d2ddc4b4dbf5acf82af2a5330cfaad.png","w":794,"h":491,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/2\/d2d2ddc4b4dbf5acf82af2a5330cfaad"} Download
Instructions
Issues
Questions
-- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
Paul whoknows
Member #5,081
September 2004
![]() |
Loading screen was displayed, then the menu appeared(first screenshot you post), and then game got frozen, tried to choose an element but nothing happened, tried to exit the game by pressing x with no good results, had to kill the application. ____ "The unlimited potential has been replaced by the concrete reality of what I programmed today." - Jordan Mechner. |
Mark Oates
Member #1,146
March 2001
![]() |
does the cursor change to a hand when you hover over an element? -- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
Paul whoknows
Member #5,081
September 2004
![]() |
Yes, but it takes a while, could it be that the game is just running extremly slow? ____ "The unlimited potential has been replaced by the concrete reality of what I programmed today." - Jordan Mechner. |
Mark Oates
Member #1,146
March 2001
![]() |
That's probably it. Does the title animation play smoothly? My best guess is something specific to your computer that I didn't account for, similar to Felix. What does your processor/memory speed look like? -- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
Timorg
Member #2,028
March 2002
|
It worked flawlessly for me, (no crash on exit.) A way to improve it would be to be able to serialise the board to a string, so that you can cut and paste other peoples setup, that way we could post our creations here, and people could just cut and paste it into the program to hear it. It makes me think of public art, put it up on on a touch screen, with a large display for everyone else to see, some big speakers, then let the public at it. (Most likely committing crimes against music.) ____________________________________________________________________________________________ |
Paul whoknows
Member #5,081
September 2004
![]() |
I didn`t see any title animation at all, just a still image, like the first screenshot you posted. ____ "The unlimited potential has been replaced by the concrete reality of what I programmed today." - Jordan Mechner. |
Dario ff
Member #10,065
August 2008
![]() |
It works, really smooth, even on my sister´s computer with an Onboard Geforce 6100 and AMD sempron 2.1 GHZ. The animations are beautiful IMO There was a crash when I quitted though, but nothing that needed the task manager. Oh, there´s now way to win this game? EDIT: A nice option could be the feature to save the melody. TranslatorHack 2010, a human translation chain in a.cc. |
Mark Oates
Member #1,146
March 2001
![]() |
Paul: It looks like you have enough hardware to me. The game only takes about 2MB of graphics, and possibly another 2 of offscreen memory. I'll try some different programs in the future and see if I can find where the problem is. In the mean time... dario ff said: Oh, there´s now way to win this game?
Here, just copy this photoshoped screenshot: [edit: new screenshot] -- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
Dario ff
Member #10,065
August 2008
![]() |
I won! TranslatorHack 2010, a human translation chain in a.cc. |
Mark Oates
Member #1,146
March 2001
![]() |
If you wanna spice it up, it's possible to replace some of the wav files with different sounds. more screenshots, people! -- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Mark, see your other thread for performance related suggestions. -- |
Trent Gamblin
Member #261
April 2000
![]() |
Works fine here, nice use of the technology, didn't make a good song so no screenshot.
|
Mark Oates
Member #1,146
March 2001
![]() |
Matthew Leverton said: for performance related suggestions right You know, I could just use punctuation from the original, leaving out the comma and adding an extra apostrophe at the end. -- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
Anomie
Member #9,403
January 2008
![]() |
Beautiful! I did have issues with some sounds not playing (usually when under heavy load). I also saw that while under stress, the pause when placing a piece in a new position was noticeable (I assume it was loading the audio on first use). {"name":"600087","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/1\/b1b43d35576270cef21dc98b7972b975.jpg","w":1024,"h":600,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/1\/b1b43d35576270cef21dc98b7972b975"} Animations were nice and smooth, and the background coloring added a lot. ______________ |
Mark Oates
Member #1,146
March 2001
![]() |
Anomie said: I did have issues with some sounds not playing (usually when under heavy load) The sample limit is set to 32, so that's to be expected. Quote: the pause when placing a piece in a new position was noticeable Ah, it appears that I forgot to preload the fire sounds (good thing there's the backup, eh? Also, would you try this exe instead? It uses al_reserve_samples(128) instead of 32 so there should be no drop-outs. Also, I preloaded the fire sound in it, so that's fixed. -- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
Peter Wang
Member #23
April 2000
|
Fun! Worked perfectly here. If I had to make a suggestion, the wind sound is a bit inconsequential so maybe you could replace it with something else. Random doodle: EDIT: well, not quite perfectly if I do this. The sound starts to crackle, possibly due to Allegro.
|
Anomie
Member #9,403
January 2008
![]() |
The 128 sample exe fixed the dropped samples, but performance suffered and the audio would stutter under a relatively light load. Trimming silence from the samples fixed the stuttering, but a full board still gives choppy animations which seems like a bit of a problem. I didn't check to see if it did this in the original, but I'm on a netbook so it could just be the onboard graphics being worse than I thought. I've uploaded a 5.5MB 7z archive with trimmed samples and both execs. I've also removed the *.ilk and *.pdb files, as well as the 'unused' directory. I'm not sure why they were in there, but the program seems to work fine without them. Linky [tatman.uuuq.com] to my server because dial-upz won't allow me to attach the file here before my login times out. ______________ |
kazzmir
Member #1,786
December 2001
![]() |
Really beautiful, thanks. I'm on windows 7. Peter Wang said: If I had to make a suggestion, the wind sound is a bit inconsequential so maybe you could replace it with something else. +1 Quote: EDIT: well, not quite perfectly if I do this. The sound starts to crackle, possibly due to Allegro. Same for me. I tried both the Haiku and Haiku128_samples exes. Sound was better with the 128 one, less drop-offs. You should really develop this! |
Mark Oates
Member #1,146
March 2001
![]() |
Peter Wang said: the wind sound is a bit inconsequential so maybe you could replace it with something else. Ah my young student, you must give wind room to breathe, otherwise it has nowhere to go. {"name":"600116","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/1\/f1c3c5ef7b47d64383eed6960daf5513.png","w":800,"h":494,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/1\/f1c3c5ef7b47d64383eed6960daf5513"} kazzmir said: The x button never closed the window for me. OK. I've fixed this for future stuff. This is the classic "events getting backed up" syndrome. Anomie said: Trimming silence from the samples fixed the stuttering That's one way to do it. There are long soft reverb trails on each of the samples; I wanted them to fully breathe so I left them in. Another way to fix it is to limit the number of tokens on the board. But I found that more annoying than the dropouts. The right way to fix it is to use dry samples and run them through a reverb processor in real-time. There would be no stutters, probably not even for a fully stacked board and only 16 reserved samples. But I haven't even begun looking into sound processing yet. kazzmir said: Really beautiful, thanks. Thank you. Anomie said: I've also removed the *.ilk and *.pdb files, as well as the 'unused' directory. I'm not sure why they were in there, but the program seems to work fine without them. haha, yea. The whole reason I put that stuff in the "unused" folder was to take it out before release. ahhh.... more screenshots! {"name":"600117","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/a\/d\/adfd4d09056376c8f43e31cac99f94ee.png","w":1083,"h":675,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/a\/d\/adfd4d09056376c8f43e31cac99f94ee"} -- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Mark Oates said: Each sound has it's own personality
{"name":"600118","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/7\/c77800a73e75ee37b963ac8b88adb65b.png","w":1018,"h":593,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/c\/7\/c77800a73e75ee37b963ac8b88adb65b"} You could probably turn this into an iPhone game and rip a bunch of suckers off 99 cents at a time. -- |
Fishcake
Member #8,704
June 2007
![]() |
Cool! After seeing some of the "win" screenshots posted here, I actually tried to figure out how to win the game before realizing those screenshots are Photoshoped.
|
Matthew Leverton
Supreme Loser
January 1999
![]() |
-- |
Mark Oates
Member #1,146
March 2001
![]() |
Matthew Leverton said: So can it do this yet: That would be the next iteration, I suppose. I do have another composition program called FullScore. It's the real workhorse. Using it, I was able to write everyhing in almost a 10th of the time. Everything is only 1 or 2 keystrokes or mouse clicks away. I'd post screenshots of the program and all that stuff but I'm a hotel room. -- AllegroFlare [clubcatt.com] • AllegroFlare Docs [www.allegroflare.org] • AllegroFlare GitHub [github.com] |
|