Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / An Indeterminate Number of HOOPS v1.1.0
- - By Spooner Date 2011-04-27 00:50 Edited 2011-12-15 14:06


Yes, it is just Dance, Dance, whatever. Not too original or thrilling, but I wanted a nice simple game to just write and finish within a week before Ludum Dare. I really like the style of my version, but the game-play is sort of bland (which is, as much as anything, a limitation of the type of game itself).

* 2 players on one keyboard (but no interaction, so you can just play as one of them and it works fine). WASD or Arrows to control each dancer.
* 4 difficulty levels.
* 2 dancy/chippy tunes included (both free, so not brilliant, but did I say they were free?).
* Add your own Ogg Vorbis music files to the playlist.

* Website
* Downloads
Parent - - By jlnr (dev) Date 2011-04-29 02:30
The cats! The cats!! I like it, but the rhythm could be more connected to the music...

Also, I have attached a Windows preview build of 0.7.30, but I am on the way out and have no sound-intensive projects on Windows to test it with. I had to mess with a LOT of the Audiere port... Can you just try if your game still works with it & maybe see if current_song also works as expected now?
Attachment: gosu.for_1_9.so (559k)
Parent - - By Spooner Date 2011-04-29 11:38
Sadly, can't really think of a way to link the patterns to the music. Someone also suggested I write song-specific patterns, but I think that would be a lot of effort and wouldn't line up with the music anyway, as well as making the system for users registering their own songs with the game impossible. I did think, however, about using the song-name as a seed, so that the pattern would always be consistent.

I'd also considered making more sensible patterns than just completely random, so I'd have rising and lowering note scales and repeating groups of notes. Not sure if the effort would be worthwhile; I think I could put a lot of effort into the last 10% of this game and still not get a game I enjoyed playing (I enjoyed making it, but the grind to make it great would probably be wasted effort).

Thanks for that; I tested it with 1.9.2 and it was fine.
Parent - - By RavensKrag Date 2011-04-30 06:30
If you used MIDIs for audio you could parse them to get an idea of the beat or melody, and then use that information to generate the patterns.  I suppose this would have the same problem of not really letting users use their own music though.
Parent - - By Spooner Date 2011-04-30 14:18
That is a decent idea, but since I still can't tell where the playback is up to, any matching to the midi would get out of sync in a 3-4 minute track?
Parent - - By jlnr (dev) Date 2011-04-30 17:15
I think a MIDI library has been mentioned on the boards that actually parsed the MIDI data, so you could synthetize it yourself (Mario Paint style) and then adjust the beats with that. That's pretty ambitious though for a result that probably won't excite, compared to the current plain MP3 music. Audio sync is a tough topic :)
Parent - By Spooner Date 2011-04-30 17:16
Yeah, that was pretty much my feelings on the matter :(
Parent - - By Spooner Date 2011-05-17 23:23 Edited 2011-12-15 15:51
v0.1.1 - tiny tweak to the code, but more importantly added an OS X executable. Banisterfiend said it didn't work, but only had time to test it for 2 seconds, so hopefully it is actually OK. Just used the build script from Wrath, so it _should_ work (but tell me if it doesn't!)
Parent - - By timgaleckas Date 2011-05-18 01:52
Got the error:
LSOpenURLsWithRole() failed with error -10810 for the file /Users/tgaleckas/Downloads/hoops_v0_1_1_OSX_10_6/Hoops.app.

When trying the osx executable.
Parent - - By jlnr (dev) Date 2011-05-18 07:14
The error as seen in Console.app is:
18.05.11 15:13:21  [0x0-0xe93e93].com.github.spooner.hoops[78971]  /Users/jlnr/Desktop/hoops_v0_1_1_OSX_10_6/Hoops.app/Contents/Resources/Main.rb:2:in `require_relative': no such file to load -- /Users/jlnr/Desktop/hoops_v0_1_1_OSX_10_6/Hoops.app/Contents/Resources/wrath/bin/hoops.rb (LoadError)

After changing the b0rked Main.rb the game worked fine :)

require_relative File.join('wrath'  ->  'hoops', 'bin', 'hoops.rb')
Parent - By Spooner Date 2011-05-18 10:45
Ah, the joys of copy and paste code! Thanks yet again for being my international debugging assistant, jlnr!

Fixed version uploaded as v0.1.1a
- - By Spooner Date 2011-12-15 14:04
v1.0.0

Downloads

  * All releases now include source code.
  * Added Windows INSTALLER.
  * Stopped spitting out more than one hoop at once, since there is a good chance that the keyboard can't read two keys at once.
  * Added menu on game-over, so you can go replay the same game or go back to menu or quit.
  * Added one-player mode to allow player to control either dancer (previously only 2-player mode was available).
  * Reduced font size so that it is easier to use the GUI.
  * Removed beeps when you play correctly (still get buzz when you fail).
  * Fixed occasional graphical glitches.
  * OSX package now runs on OS X 10.5 or later.
  * Linux version now works with Ruby 1.9.3
Parent - By Spooner Date 2011-12-22 23:21
Hoops v1.1.0

Downloads

* Added two new tracks from KanonBaum (Brian Peppers).
* Can now choose length of game (30s, 60s, 90s, etc), rather than being limited to the track length.
* Read track length from .ogg file (yeah, asking the user to enter it manually was dumb!).
* Prevented user from adding multiple copies of the same track to their tracklist.
Up Topic Gosu / Gosu Showcase / An Indeterminate Number of HOOPS v1.1.0

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill