Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  RhythmSphere  (Read 4193 times)
0 Members and 1 Guest are viewing this topic.
Offline ShannonSmith
« Posted 2009-01-15 05:55:49 »

This is my first 4K entry and I must say it was more difficult than I imagined. I had a hard time packing a sequencer/synthesizer song and game logic into 4K. My first cut was over 20k, and after some ruthless optimization I finally got it down to about 5K. I was beginning to despair until I realized statically initializing a massive array of shorts with what look to the Java compiler like int literals is a bad idea. Used a unicode string instead and hey presto I'm down to 3228. Room for another couple of songs even, any requests (keeping with game tunes)?

 
Offline tom
« Reply #1 - Posted 2009-01-15 07:22:07 »

Fantastic! Finally a game that uses a synth.

Offline moogie

JGO Knight


Medals: 13
Projects: 6
Exp: 10 years


Java games rock!


« Reply #2 - Posted 2009-01-15 07:25:18 »

am still alive ... Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Addictman

Senior Duke


Medals: 3
Projects: 1


Java games rock!


« Reply #3 - Posted 2009-01-15 07:45:26 »

Really cool Smiley Good job!
Offline moogie

JGO Knight


Medals: 13
Projects: 6
Exp: 10 years


Java games rock!


« Reply #4 - Posted 2009-01-15 07:53:14 »

You could save more space by injecting the song data directly into a compiled class file as an Attribute.

http://www.java-gaming.org/topics/tool-to-inject-data-into-class-files/17869/view.html
Offline Jono
« Reply #5 - Posted 2009-01-15 08:00:24 »

Fun game! For me it was more like "guess where the ball is heading next" until I'd played enough to have an idea of the tune. Are we supposed to know the tune beforehand?

Also, it's probably just be my crappy pulseaudio setup, but a couple of times I heard what sounded like over/underflow or clipping.

Now to try hard level  Grin

Edit: Hehe. I'm an idiot. Just worked out what the rain is for.  Undecided
Offline pjt33
« Reply #6 - Posted 2009-01-15 14:34:22 »

I get "Bad version number in class file". Is it 1.6 only?
Offline ShannonSmith
« Reply #7 - Posted 2009-01-15 17:45:22 »

@pjt33 Thought I had it compiled for 1.5 but I'll double check tonight.

@Jono It's not pulseaudio it is the crappy default Sun Audio Mixer. You can change it by editing a properties file for the JVM. I can also get it to work by searching through all mixers on the system and picking the first one that is not the Sun Mixer that supports the AudioFormat I am using but it uses up quite a few bytes.

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #8 - Posted 2009-01-15 18:58:46 »

Fantastic! Finally a game that uses a synth.
My game uses a synth.  Tongue

Also, this game won't run for me. Is it in 1.6?

God I am tired of asking that. Apple needs to hurry their butts up and get me 1.6.

See my work:
OTC Software
Offline ShannonSmith
« Reply #9 - Posted 2009-01-15 20:35:45 »

Yeah, I think I must have compiled for 1.6 (lost track in all the optimization steps). I'll recompile for 1.5 tonight.

Edit: Ok, should now be 1.4+ friendly for those of us still in the Cretaceous period.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline tom
« Reply #10 - Posted 2009-01-16 08:34:34 »

My game uses a synth.  Tongue
I should have specified softsynth. General MIDI is not used much in 4k games because the JRE don't have a soundbank. Very few people will hear it and the judges are instructed to ignore the sound when setting the score.

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #11 - Posted 2009-01-16 08:41:38 »

Really cool. Smiley Unfortunately, I found it really hard to correspond my fingers with the music, unlike I have done with Flash Flash Revolution. Do you think you have enough bytes left to change them from small droplets to arrows? Having that extra visual association always really helped me. I'm much worse at Guitar Hero because I basically start to lose track of where my fingers are relatively. If the keys are up/down/left/right then you always know which one you'r pressing. If they're in a row, however, you can't be sure if you're pressing 2 or 3.

Does that make sense?

See my work:
OTC Software
Offline ShannonSmith
« Reply #12 - Posted 2009-01-16 18:21:49 »

Does that make sense?

Sort of, but generally I find if I have one finger on each button I am fine. Are you suggesting I switch to the arrow keys? I think that would confuse the hell out of me (I am used to Guitar Hero). I was thinking about using different coloured notes/spheres to help with spacial orientation but I preferred the all blue look.

Offline Abuse

JGO Knight


Medals: 13


falling into the abyss of reality


« Reply #13 - Posted 2009-01-16 18:49:03 »

hmm, not sure the enabling/disabling of the channel(s) with the notes in is working properly for me.
Sometimes I get the blue pulse indicating I hit the note, but hear either nothing, or the tail end of the note.

I don't think that bouncing ball thing helps at all  Roll Eyes

p.s.

The tune & timing doesn't seem completely right to me either, some notes appear to be missing & the pace seems a little too slow too.

p.p.s

Also, after 2 or 3 runs I start getting pops in the audio =/
Java Sound isn't realy selling itself to me  Roll Eyes

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #14 - Posted 2009-01-16 19:40:51 »

Sort of, but generally I find if I have one finger on each button I am fine. Are you suggesting I switch to the arrow keys? I think that would confuse the hell out of me (I am used to Guitar Hero). I was thinking about using different coloured notes/spheres to help with spacial orientation but I preferred the all blue look.


That's true, I guess I'm just not liking it because I'm bad at Guitar Hero and good at DDR. If you switch it then it will probably be the same for people in the opposite case. Oh well.

See my work:
OTC Software
Offline pjt33
« Reply #15 - Posted 2009-01-20 22:43:59 »

How are you meant to play? Is it like DDR where you have to hit the key at a certain point or like Guitar Hero where the key has to be down at a certain point?
Offline ShannonSmith
« Reply #16 - Posted 2009-01-20 22:50:18 »

More like DDR I guess, you have to hit the keys at the point the ball bounces on the appropriate sphere.

Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #17 - Posted 2009-01-21 11:48:49 »

Very neat!

I'm not sure all the sounds play properly though... it feels as though it misses a note here and there, much like Abuse said. I had much the same problem when I tried to use a synthesizer though... I'm guessing it's the java synth that isn't all that great. :/

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (42 views)
2014-10-17 03:59:02

Norakomi (33 views)
2014-10-16 15:22:06

Norakomi (26 views)
2014-10-16 15:20:20

lcass (30 views)
2014-10-15 16:18:58

TehJavaDev (60 views)
2014-10-14 00:39:48

TehJavaDev (60 views)
2014-10-14 00:35:47

TehJavaDev (50 views)
2014-10-14 00:32:37

BurntPizza (66 views)
2014-10-11 23:24:42

BurntPizza (38 views)
2014-10-11 23:10:45

BurntPizza (80 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!