Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (491)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (556)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  Ghost Forest - Beta  (Read 8544 times)
0 Members and 1 Guest are viewing this topic.
Offline hazard1994

Junior Member


Projects: 2



« Posted 2012-08-19 22:20:33 »

[size=10pt]Ghost Forest Beta:[/size]

Here is Ghost Forest beta!!

Bugs have been fixed, and new features have been implemented! Smiley

Any more bugs found or feedback, please leave in the comments.

Any help is greatly appreciated!

Hope you enjoy! Smiley


Still to do:

More weapons

Sound track


Screenshots:








Controls:

WASD - Movement
Mouse - look
R - reload
SPACE - open chest ($100 required)/buy perk($500 required)
E - take item from chest
P - pause
Esc - exit


Download:

https://www.dropbox.com/s/yae5jjbfr6frc86/GhostForest.jar
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #1 - Posted 2012-08-19 23:59:58 »

I get this:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space
        at java.awt.image.DataBufferByte.<init>(Unknown Source)
        at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
        at java.awt.image.Raster.createWritableRaster(Unknown Source)
        at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
        at javax.imageio.ImageReader.getDestination(Unknown Source)
        at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
        at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
        at javax.imageio.ImageIO.read(Unknown Source)
        at javax.imageio.ImageIO.read(Unknown Source)
        at twoPointFiveD.Entity.<init>(Entity.java:19)
        at twoPointFiveD.Object.<init>(Object.java:21)
        at twoPointFiveD.Tree.<init>(Tree.java:6)
        at twoPointFiveD.Main.run(Main.java:121)
        at java.lang.Thread.run(Unknown Source)

The 2.5D window loads, but there's nothing in it.
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #2 - Posted 2012-08-20 02:19:11 »

Runs fine here on Win7, 4gb ram, dualcore 2,5GHz, Geforce 525M laptop.
Pretty cool Smiley Had a bunch of scares while playing Shocked

A few things, though. With the few bullets I have in a magazine, I get pretty upset every time a shot goes straight through a ghost without damaging it. It seems I have to shoot a bit to the left of them to hit them, but then when I try to compensate for that, it changes when I move around. Almost like it depends on which angle (map-wise) I'm shooting at them. Perhaps the hitboxes are a bit displaced?

There are so many ghosts, that I never have time to open the chest and get the goodies. Probably because it takes a full mag to kill each of them, with the concern listed above, and me being a bit tired Smiley

Also, they can kill you in less than a second. While this does add to the feeling of being in a horrible peril, I think you could lower it a bit. Especially since it seems that if 2 ghosts are within damage-range at the same time, they both count (as they should!), and with 30 ghosts chasing you...well, you get the picture.

The .bat file is temporary, right? Cause for deployment, it's not very "slick".

If you can fix these things, you have potential for a fun little game here. Please do post a new version, cuz I'd love to play it Cheesy

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

Junior Member


Projects: 2



« Reply #3 - Posted 2012-08-20 10:09:50 »

Jimmt: This is because you do not have enough RAM available, which is not your fault, the game is a RAM-guzzler at the moment, and this definitely needs fixing. Thanks for testing anyway Smiley
Offline hazard1994

Junior Member


Projects: 2



« Reply #4 - Posted 2012-08-20 10:14:26 »

Wow, thanks for the amazing feedback!! Smiley
I'm glad you enjoyed it, and I will most definitely be taking your feedback on board.
I already knew about the bullet bug, and I will fix it promptly!
Also, the .bat file is just there in case the .jar doesn't work.

Finally once the graphics have been updated, there will be more than just a bunch of scares! Mwahahaha! Tongue

Anyways, thank you so much for playing, and keep an eye out for GhostForest (temporary name) Beta  Smiley
Offline hazard1994

Junior Member


Projects: 2



« Reply #5 - Posted 2012-08-20 13:55:05 »

Shooting bug fixed Smiley

Not killed as easily Smiley
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #6 - Posted 2012-08-20 14:58:41 »

Shooting bug fixed Smiley

Not killed as easily Smiley
Cool! That was fast. When can I try it? Smiley

Wow, thanks for the amazing feedback!! Smiley
I'm glad you enjoyed it, and I will most definitely be taking your feedback on board.
I already knew about the bullet bug, and I will fix it promptly!
Also, the .bat file is just there in case the .jar doesn't work.

Finally once the graphics have been updated, there will be more than just a bunch of scares! Mwahahaha! Tongue

Anyways, thank you so much for playing, and keep an eye out for GhostForest (temporary name) Beta  Smiley
You're welcome Smiley Good, good, good. I think the ghosts are horrifying as they are, but lets see what you can dish up Cheesy

- Jonas
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #7 - Posted 2012-08-21 00:38:26 »

Hm. The RAM problem is a major issue, though. I have 4 gigs of RAM, 2.99 usable, which is not that much but it's pretty average. What exactly is taking up so much?
Offline hazard1994

Junior Member


Projects: 2



« Reply #8 - Posted 2012-08-21 09:05:25 »

Hmmm, really??? Well that is definitely enough!
Maybe you should try changing the RAM available for java.

Here's how:
http://www.duckware.com/pmvr/howtoincreaseappletmemory.html
Offline akzyl

Senior Newbie





« Reply #9 - Posted 2012-08-21 12:35:37 »

I have the same problem as Jimmt (laptop with Windows XP).
Hmmm, really??? Well that is definitely enough!
Maybe you should try changing the RAM available for java.

Here's how:
http://www.duckware.com/pmvr/howtoincreaseappletmemory.html
I did it before you write it unfortunately, it didn't help.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline hazard1994

Junior Member


Projects: 2



« Reply #10 - Posted 2012-08-21 13:36:28 »

Hmmm, this is a big issue Sad
At the moment, the game takes up around 650mb of RAM.
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #11 - Posted 2012-08-21 13:41:49 »

How? Don't you reuse textures? Or do you load a new texture for each ghost or something? You should make sure all textures are only loaded into ram once, and that only that one instance of it it used by each object using that texture.
I really don't see how anything but images could produce that much of a load on ram

- Jonas
Offline hazard1994

Junior Member


Projects: 2



« Reply #12 - Posted 2012-08-21 14:29:29 »

Yeah, I think that's the issue, I'm working on it now Smiley
Also, the new graphics are AWESOME!!
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #13 - Posted 2012-08-21 15:48:56 »

I got one of these.
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
java.io.IOException: mark/reset not supported
        at java.util.zip.InflaterInputStream.reset(Unknown Source)
        at java.io.FilterInputStream.reset(Unknown Source)
        at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(Unkno
wn Source)
        at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
        at twoPointFiveD.Sound.<init>(Sound.java:23)
        at twoPointFiveD.Main.run(Main.java:131)
        at java.lang.Thread.run(Unknown Source)
java.io.IOException: mark/reset not supported
        at java.util.zip.InflaterInputStream.reset(Unknown Source)
        at java.io.FilterInputStream.reset(Unknown Source)
        at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(Unkno
wn Source)
        at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
        at twoPointFiveD.Sound.<init>(Sound.java:23)
        at twoPointFiveD.Main.run(Main.java:132)
        at java.lang.Thread.run(Unknown Source)
java.io.IOException: mark/reset not supported
        at java.util.zip.InflaterInputStream.reset(Unknown Source)
        at java.io.FilterInputStream.reset(Unknown Source)
        at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(Unkno
wn Source)
        at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
        at twoPointFiveD.Sound.<init>(Sound.java:23)
        at twoPointFiveD.Main.run(Main.java:133)
        at java.lang.Thread.run(Unknown Source)
java.io.IOException: mark/reset not supported
        at java.util.zip.InflaterInputStream.reset(Unknown Source)
        at java.io.FilterInputStream.reset(Unknown Source)
        at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(Unkno
wn Source)
        at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
        at twoPointFiveD.Sound.<init>(Sound.java:23)
        at twoPointFiveD.Main.run(Main.java:134)
        at java.lang.Thread.run(Unknown Source)

Offline hazard1994

Junior Member


Projects: 2



« Reply #14 - Posted 2012-08-21 15:50:31 »

Hmmmm, I've never seen that error message before, something to do with the sound, either your soundcard, or my coding
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #15 - Posted 2012-08-21 15:58:27 »

I got the same out of memory error that Jimmt and other are having, same 2.5D blank screen.

The problem is that your .bat file is like that:

1  
java -cp GhostForest.jar twoPointFiveD.Main -Xmx1024m


Java will think that -Xmx1024m are arguments to YOUR application, not to the java VM.

I changed it to

1  
java -Xmx1024m -cp GhostForest.jar twoPointFiveD.Main


And then I could run the game.

I do fancy the graphics, but gameplaywise I couldn't do anything except shoot a few bullets, then run out of ammo... and die!

Also, I don't see why it start aiming at the sky, I took like 2 deaths to realize I had to reposition my view to see the game itself.

It looks good, I hope you improve the gameplay so this can turn out a nice 2.5d game!

Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #16 - Posted 2012-08-21 16:04:43 »

I couldn't do anything except shoot a few bullets, then run out of ammo... and die!
R reloads your weapon.

Cool that you found a workaround for the memory problem. OP, you shouldn't assign extra heap, unless you're absolutely sure you need it. It usually just covers up memory leaks for some time. It'll still crash eventually

- Jonas
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #17 - Posted 2012-08-21 16:48:53 »

Hmmmm, I've never seen that error message before, something to do with the sound, either your soundcard, or my coding

FFFFFFFUUUUUUUUUUUU-

..and that's it? Lips Sealed

Edit: Well, how about this?

Offline hazard1994

Junior Member


Projects: 2



« Reply #18 - Posted 2012-08-21 21:09:18 »

Mads: Thank you for the stackoverflow post! Smiley
Sound still works for me, when I do a new release the new sounds should work.

Good news people!!!!
Game takes up way less memory and loads in seconds!
Ultroman was right, it's because I wasn't reusing textures.

teletubo: thanks for the information Smiley I did not realise this was the case.

New release will be out soon, maybe tonight Smiley
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #19 - Posted 2012-08-22 03:54:12 »

I think you should update the .bat file with what teletubo did (it worked for me too), unless you've already done it.
I do get the same error as Mads, however(with the sound).
Anyways, the actual game review:
Pretty nice, kinda like slender with the flashlight and woods, except slender is pure 3d  Grin
You should probably add more enemy types, and a more obvious signal that you are reloading.
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #20 - Posted 2012-08-22 04:05:42 »

I think you should update the .bat file with what teletubo did (it worked for me too), unless you've already done it.
I do get the same error as Mads, however(with the sound).
Anyways, the actual game review:
Pretty nice, kinda like slender with the flashlight and woods, except slender is pure 3d  Grin
You should probably add more enemy types, and a more obvious signal that you are reloading.
He won't need the batch-file anymore, since he fixed his memory problem.
What kind of soundcard do you guys with the error have? My laptop has an onboard Conexant SmartAudio HD and it works fine. I can try it with my Waveterminal when I get home tomorrow.

I do agree with the reload-thing. I never know how much ammo I have, or when I've actually reloaded. I spend most of my time running scared, keeping tabs on the ghosts ^^

- Jonas
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #21 - Posted 2012-08-22 06:05:52 »

I still get the same error though  Undecided

Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #22 - Posted 2012-08-22 12:22:27 »

I still get the same error though  Undecided
Well, he hasn't released a new version with the fix yet.

OP should look at: http://www.java-gaming.org/topics/play-clip-more-than-once/24285/view.html
and
http://www.java-gaming.org/topics/need-a-really-simple-library-for-playing-sounds-and-music-try-tinysound/25974/msg/228380/view.html#msg228380
On that last one, I'd recommend reading the linked post, and the next one by kuusisto (creator of TinySound).

Good luck fixing it.

- Jonas
Offline hazard1994

Junior Member


Projects: 2



« Reply #23 - Posted 2012-08-23 09:04:17 »

Anyone who uses this website a lot, should I release Ghost Forest 'beta' as a new post, or should I just edit this one??
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #24 - Posted 2012-08-23 10:14:36 »

Anyone who uses this website a lot, should I release Ghost Forest 'beta' as a new post, or should I just edit this one??

Just reply to this thread, and edit the OP.

Offline hazard1994

Junior Member


Projects: 2



« Reply #25 - Posted 2012-08-23 10:28:22 »

Thank you Smiley
update up soon
Offline hazard1994

Junior Member


Projects: 2



« Reply #26 - Posted 2012-08-23 16:12:59 »

Beta is up!! Smiley

Enjoy!
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #27 - Posted 2012-08-23 16:36:44 »

That's really cool! Sounds works too, now. Smiley I'm interested in as to how the 2.5D works.

Offline Tim Spekler
« Reply #28 - Posted 2012-08-23 20:26:21 »

Works fine on my computer. The graphics and the sounds are really coherent. The gameplay is pretty fun.
I only think that the GUI could be improved. You put everything in only one corner, so when I focus on the action, I don't clearly see how many ammo I have left for instance.
Great little game for the moment !  Smiley
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #29 - Posted 2012-08-23 20:45:55 »

It seems each sound plays twice for me, so when I shoot I hear 2 shooting sounds, and the same thing when I reload. Not when I get attacked by ghosts, though, which is peculiar.

- Jonas
Pages: [1] 2
  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.

Nickropheliac (15 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

CopyableCougar4 (29 views)
2014-08-22 19:31:30

atombrot (41 views)
2014-08-19 09:29:53

Tekkerue (39 views)
2014-08-16 06:45:27

Tekkerue (35 views)
2014-08-16 06:22:17

Tekkerue (25 views)
2014-08-16 06:20:21

Tekkerue (36 views)
2014-08-16 06:12:11

Rayexar (72 views)
2014-08-11 02:49:23

BurntPizza (49 views)
2014-08-09 21:09:32
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!