Glimmer

Hey all,

So I was working on a more major project, the sequel to my other game Wounded, when I decide to delve into the basics of actual graphics and reflex-based game play. What resulted was this odd little game with only the barest threads of story, chase down the miasma with your powerful soul while avoiding the black spirits!

You can download the current build here:
http://www.java-gaming.org/user-generated-content/members/254501/glimmer.jar

I know it needs a lot of work, but one of my biggest concerns right now is that the soul flare power only seems to tick down some of the time when the player holds down the space bar. The relevant code for that is as follows if anyone is interested in that particular problem:


//in the keyPressed method
if (keyCode == e.VK_SPACE)
	{
		if(flareCharge > 200)
		{	
		flaring = true;
		flareCharge = flareCharge - 20;
		}
		else
		{
			flareCharge = 0;
			flaring = false;
		}
	}

...

//in the keyReleased method
if (keyCode == e.VK_SPACE)
	{
		flaring = false;
	}


I’d love to hear any comments anyone has! Sorry in advance for the music, I’m not much of a composer : ).

EDIT: The music will not work unless this file: https://drive.google.com/file/d/0BwGA6KgZlY6ZcklleDZtV0Z3dzA/edit?usp=sharing is in the same folder as the .jar file. Man, I hadn’t noticed that because they were both on my desktop when I was running the test .jar. See, this is why we test : ).

Is there any way to restart the game?

I chased the red thingy and it forced it off screen. “Game over” appears, did I won or lose? I bet there are something I missed. :stuck_out_tongue:

In the current build, game over is displayed when the player runs out of corpus (health) which is displayed in the red bar at the upper right corner of the screen. The red and black enemies can drain your health, but the red enemy should flee from you if you hold down spacebar to activate your soul flare when you chase it. Currently there’s no way to “win” the game, but you can get really high scores.

I still have to figure out how to get a re-set to work.