Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (517)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (577)
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  
  The Forkée Graveyard [Work in Progress]  (Read 2639 times)
0 Members and 1 Guest are viewing this topic.
Offline Groboclown
« Posted 2010-12-14 03:23:44 »

An early version of a new game I'm trying out.  It requires sound to play right. No sound means it's still playable, but it's preferred to have it.

http://groboclown.net/games/graveyard-4k.html

I still need to add the old woman update and add to the animation, and add a few more bits to the graveyard.

It's based off of the concept game The Graveyard by Tale-of-Tales, with some notable differences.  I also have a German version available.


Offline kevglass

JGO Kernel


Medals: 191
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2010-12-14 07:28:39 »

I get one of these:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
Exception in thread "Thread-10" java.lang.RuntimeException: javax.sound.sampled.LineUnavailableException: Audio Device Unavailable
   at A.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:662)
Caused by: javax.sound.sampled.LineUnavailableException: Audio Device Unavailable
   at com.sun.media.sound.HeadspaceMixer.nResume(Native Method)
   at com.sun.media.sound.HeadspaceMixer.implOpen(HeadspaceMixer.java:346)
   at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:286)
   at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:323)
   at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:103)
   at com.sun.media.sound.MixerSourceLine.open(MixerSourceLine.java:39)


Which presumably means my audio is broken locally?

Kev

Offline Groboclown
« Reply #2 - Posted 2010-12-14 14:32:42 »

I get one of these:

1  
Exception in thread "Thread-10" java.lang.RuntimeException: javax.sound.sampled.LineUnavailableException: Audio Device Unavailable


Which presumably means my audio is broken locally?

Kev

Yes, it means that you had another program using the audio line, or your system doesn't support audio.  I have that issue on my Linux box when I have another multimedia app running.

I raise this exception because my frame timing logic is based off of the audio write call, rather than a sleep or yield loop.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

JGO Kernel


Medals: 191
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #3 - Posted 2010-12-14 14:52:37 »

Know if theres anyway of finding out what stole my audio?

Kev

Offline icza

Junior Duke


Projects: 2



« Reply #4 - Posted 2010-12-14 15:02:59 »

I raise this exception because my frame timing logic is based off of the audio write call, rather than a sleep or yield loop.
Maybe that is the cause of what I experienced: the game runs really slow... even though the CPU is hardly used. I did not get any exceptions.
Offline Groboclown
« Reply #5 - Posted 2010-12-14 15:12:14 »

Maybe that is the cause of what I experienced: the game runs really slow... even though the CPU is hardly used. I did not get any exceptions.

I'll look at reworking the timing, as my assumptions about the output line writes may not be consistent across all platforms, which would also fix Kev's problem.  (On a side note, it's supposed to be slow movement, but not choppy)

Out of curiosity, which platform are you running on, icza?

Offline Groboclown
« Reply #6 - Posted 2010-12-14 15:17:05 »

Know if theres anyway of finding out what stole my audio?

Kev

You can see what sound devices are open with lsof | grep snd and see which app is using the raw audio output.  There's a good writeup about this at this link.

Offline kevglass

JGO Kernel


Medals: 191
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #7 - Posted 2010-12-14 15:23:05 »

Thanks for that really useful. Unfortunately now I do have it working it's really painfully slow. Hopefully the sound update will resolve it

Kev

Offline icza

Junior Duke


Projects: 2



« Reply #8 - Posted 2010-12-14 15:50:51 »

I'll look at reworking the timing, as my assumptions about the output line writes may not be consistent across all platforms, which would also fix Kev's problem.  (On a side note, it's supposed to be slow movement, but not choppy)

Out of curiosity, which platform are you running on, icza?
Win7 64 bit. When I have a chance, I will measure how long it takes me to get to the first building.
Offline Abuse

JGO Knight


Medals: 13


falling into the abyss of reality


« Reply #9 - Posted 2010-12-14 16:07:24 »

Win7 64 bit. When I have a chance, I will measure how long it takes me to get to the first building.

38 seconds for me. Painfully slow.

Same as above, Win7 64bit.

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline zeroone
« Reply #10 - Posted 2010-12-14 16:17:13 »

Quote
38 seconds for me. Painfully slow.

My experience is similar.  I'm not sure what to do in the game after you reach the building and it (very slowly) displays the text.  None of the keys seem to have an affect after that point.
Offline Groboclown
« Reply #11 - Posted 2010-12-14 16:41:32 »

My experience is similar.  I'm not sure what to do in the game after you reach the building and it (very slowly) displays the text.  None of the keys seem to have an affect after that point.

That's the game.  Perhaps I released this a bit too early.  The main character animation will show that you're controlling an elderly person slowly walking between the gravestones.

If you haven't played the original, you can get a good feel for it here:
http://www.youtube.com/watch?v=TKwZ6oZybCA

Offline Groboclown
« Reply #12 - Posted 2010-12-14 22:56:29 »

I've updated the game enough to restructure the audio playback (you no longer have to have audio), and the main character is present with just example animation.

http://groboclown.net/games/graveyard-4k.html

Offline Nate

JGO Kernel


Medals: 153
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #13 - Posted 2010-12-15 04:41:40 »

What button shoots?

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #14 - Posted 2010-12-15 19:51:13 »

Very laggy on Mac OS X, probably related to the Left4kDead-lifted active rendering code.

See my work:
OTC Software
Offline pjt33
« Reply #15 - Posted 2010-12-16 13:16:39 »

`t is a funny name.

Basically it's Desert Bus without the game, right?
Offline CommanderKeith
« Reply #16 - Posted 2010-12-16 13:38:25 »

What button shoots?

Lol!

I like the fog and grey scales, and the anticipation, but it would be cool if more happened and the text went faster.

Offline Groboclown
« Reply #17 - Posted 2010-12-20 06:15:18 »

I like the fog and grey scales, and the anticipation, but it would be cool if more happened and the text went faster.

There will be more coming - not much additional action, but a bit more.  Essentially, it will end the story.

Offline Nate

JGO Kernel


Medals: 153
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #18 - Posted 2010-12-20 21:28:22 »

Granny gets down now! Looks good (not in a dirty way).

Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #19 - Posted 2010-12-24 12:40:42 »

I made it to the bench. Phew! Time for a cup of tea.  Smiley

Time flies like a bird. Fruit flies like a banana.
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.

TehJavaDev (37 views)
2014-10-27 03:28:38

TehJavaDev (29 views)
2014-10-27 03:27:51

DarkCart (43 views)
2014-10-26 19:37:11

Luminem (24 views)
2014-10-26 10:17:50

Luminem (29 views)
2014-10-26 10:14:04

theagentd (35 views)
2014-10-25 15:46:29

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

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

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

lcass (46 views)
2014-10-15 16:18:58
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!