Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
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  
  Die Z  (Read 2998 times)
0 Members and 1 Guest are viewing this topic.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Posted 2012-12-31 13:56:49 »

Find Food and Water whilst surviving the Zombie Attack.

[applet archive=zombie4k.jar class=Z width=600 height=400]

Controls:
Movement: WASD or Cursor Keys
Attack : Space Bar

31/12/12: Demo Version: The Zombie AI is yet to be done, I still have 700 bytes.
03/01/13: Added some basic AI, increased hitbox, fixed speed bug. The Jar is now over 4k, but the Gz still has 500 bytes spare.
06/01/13: Minor AI fixes, Added Sound. pack.gz now at 4092 bytes, so 4 bytes spare. Done bar bug fixes.
13/01/13: Player attack only damages zombie in front of player.  Zombie attack damage increased. Player no longer walks on water. Game pauses on player death before resetting. Removed unused Z-buffer code. Code optimised for size. Pack.gz now 4081 bytes.

Time flies like a bird. Fruit flies like a banana.
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #1 - Posted 2012-12-31 14:06:14 »

This is beautiful!  I am really impressed with the grass and trees.

I think the hitbox of the axe should be expanded, since I must almost run over a zombie to kill it. A little feedback on when a zombie is hit would also be nice.

Good job overall !

Offline ra4king

JGO Kernel


Medals: 355
Projects: 3
Exp: 5 years


I'm the King!


« Reply #2 - Posted 2013-01-01 09:13:04 »

How can you do this in 4K?!?! I am also impressed and agree with teletubo that the hit box does need to be wider Smiley

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

JGO Wizard


Medals: 51
Projects: 4


I always win!


« Reply #3 - Posted 2013-01-01 15:58:27 »

I can't believe this is 4k!! Smiley

400 bytes? Maybe an attempt to add mouse support?

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Online Jimmt
« League of Dukes »

JGO Kernel


Medals: 138
Projects: 4
Exp: 3 years



« Reply #4 - Posted 2013-01-01 16:51:47 »

Whoa, 3D!
I agree with the hitbox suggestions, at times it seemed like my axe wasn't doing anything. Forward movement also seems a bit too fast to be realistic.
Nice grass  Smiley
Offline theagentd

« JGO Bitwise Duke »


Medals: 361
Projects: 2
Exp: 8 years



« Reply #5 - Posted 2013-01-01 18:23:46 »

Really cool game, but you the hitboxes really need tweaking. =S

Myomyomyo.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #6 - Posted 2013-01-01 19:32:50 »

Thanks for the kind words.  I agree the hitboxes are too small and will increase them  Smiley

Rendering uses a modified form of raycasting, constructing terrain billboards at a range of depths (a bit like theatre scenary).

Sadly the rendering algorithm doesn't support mouselook (which doesn't really work for applets anyway).  I have used a crosshair cursor in the past for ranged weapons, but feel that a zombie survival should be more close up and personal ... so one has an axe rather than a gun, and don't really need precision aiming.

Currently working on the AI.  This may take a while, as it's back to work tomorrow.

Edit: There's also a player speed bug, which makes player speed vary with machine speed. Will fix in next version.

Time flies like a bird. Fruit flies like a banana.
Offline StephR

Senior Devvie


Medals: 9



« Reply #7 - Posted 2013-01-01 20:44:28 »

Really great and impressive technically. I'm okay with no mouse control. It would be too problematic without fullscreen.

Now take your time to implement a good gameplay ! I don't know what you intend to do, but what about making numbered zombie assault waves coming from the edges of the map ? I know it is not very original. Maybe it is exactly what you intend to do. Still I think it is an interesting and thrilling situation.

Zombies could also have to destroy doors to enter houses, loosing time by doing so. And instead of food and water, the player may gather some wood in order to repair doors.

And if you still have a lot of bytes, implement a gun with a few ammo scattered on the map.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #8 - Posted 2013-01-03 23:48:37 »

Added some basic AI, increased hitbox size and fixed speed bug.  .gz has about 500 bytes spare.
The AI isn't final yet, but I need to play for a bit to see where it's at.

Belated happy new year  Grin

Time flies like a bird. Fruit flies like a banana.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #9 - Posted 2013-01-06 11:35:29 »

Updated AI slightly.  Added Sound. The pack.gz is now 4092 bytes, so this is pretty much it now, bar fine tuning.

Note that the buildings are enterable and have more supplies then outside (But you can't see the zombies coming).

Alan

Time flies like a bird. Fruit flies like a banana.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline StephR

Senior Devvie


Medals: 9



« Reply #10 - Posted 2013-01-12 17:09:03 »

Your game is the most technically advanced I have seen in this contest. And it could be even better if it was more challenging.

Your zombies are not at all aggressive and they behave very strangely sometimes, running away from the player. Their IA should be more straightforward.

I'm not convinced by your food and water management. I would prefer more intense zombie action.

I find the added value of your sound effects very weak.

I regret there is no possibility to rate one's advancement into the game.

What about removing your sound effects and your food and water management, and replacing them with a short range shotgun and its ammo management ? But keep the axe of course, and make zombies dealing much more damages. And more aggressive !

You should also consider what I already wrote about numbered zombie assault waves. So each player may rate her/his advancement for each game session. So they could tell : I survived until wave X...
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #11 - Posted 2013-01-12 22:50:54 »

@Steph
I'm sorry to hear that the gameplay doesn't meet expectations.   It's intended as a survival horror, not a shooter.   I could have done a shoot-em-up using the same graphics engine, but it would be a different game, and wouldn't feature zombies.
This is what I'd been aiming for: http://www.youtube.com/watch?v=mOB7YGgREFg

Time flies like a bird. Fruit flies like a banana.
Offline StephR

Senior Devvie


Medals: 9



« Reply #12 - Posted 2013-01-13 10:23:01 »

@ Alan_W
I thought that survival horror games were a very challenging kind of game.

In order to increase the difficulty of your game, your food and water may deplenish a bit faster, or they may be already at a low level when the game starts. Zombies may also be more aggressive and deal a lot more of damages, to punish the player for not attacking them skillfully.

I never asked for a shooter. Just a shotgun with a limited range and a few ammo hard to find. You may trade it with your sound effects and the management of food or water, which are redundant.

And just add a timer so the player will be able to tell : I survived Z minutes.

Don't worry, I won't annoy you anymore after this message.  Lips Sealed
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #13 - Posted 2013-01-13 19:04:44 »

Update
- Zombies now do more damage.  Player attacks now only effect zombies in front of player.
- Pause added after player death before game reset.

Bugs
- Player attack fails to do damage: Fixed
- Player walks on water: Fixed (Try walking to the edge of the island)

Time flies like a bird. Fruit flies like a banana.
Online Jimmt
« League of Dukes »

JGO Kernel


Medals: 138
Projects: 4
Exp: 3 years



« Reply #14 - Posted 2013-01-13 20:01:16 »

I just noticed this playing it again - why does the axe go down and stay down as you hold the mouse? I'd like it better if holding the mouse made you pull your axe back, and then releasing the mouse made the axe go down, like in mount&blade.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #15 - Posted 2013-01-13 20:15:34 »

I just noticed this playing it again - why does the axe go down and stay down as you hold the mouse? I'd like it better if holding the mouse made you pull your axe back, and then releasing the mouse made the axe go down, like in mount&blade.

Test Version [not compressed] with axe reversed.  Comments please  Smiley

[applet archive=zombie4kaxereversed.jar class=Z width=600 height=400]

Ah. I've found a draw back.  My keyboard can't recognise Up cursor, Left Cursor and Space all held down at the same time.  It's cramping my style.  Undecided

Time flies like a bird. Fruit flies like a banana.
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #16 - Posted 2013-01-26 09:18:47 »

Mine neither, Alan_w Smiley
Up, Right and Space seems fine, though.

This is incredible for 4k!

@StephR: The sounds are made using code and not actual wave-files. Its pretty hard to do good sound in 4k. At least the game HAS sound, although I do agree they could be more...what's the word...saying? I have no idea what makes the sounds start or why Cheesy

- Jonas
Offline GabrielBailey74
« Reply #17 - Posted 2013-01-27 04:14:20 »

Very nice, no externally loaded resources too.

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.

trollwarrior1 (33 views)
2014-11-22 12:13:56

xFryIx (73 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (40 views)
2014-11-12 21:09:33

kovacsa (65 views)
2014-11-07 19:57:14

TehJavaDev (69 views)
2014-11-03 22:04:50

BurntPizza (67 views)
2014-11-03 18:54:52

moogie (82 views)
2014-11-03 06:22:04

CopyableCougar4 (82 views)
2014-11-01 23:36:41
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!