Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
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  
  Treasure4k  (Read 3921 times)
0 Members and 1 Guest are viewing this topic.
Offline SquashMonster

Senior Member


Medals: 1
Projects: 2



« Posted 2009-01-15 03:13:53 »

EDIT:
Barring a few possible balance changes, the game is done.  The new version is attached, please enjoy.

Some screenshots:


A dire bat lurks around the corner, waiting to strike our hapless hero.  But, knowing that it's coming, he can lead it in a circle around the nearby wall, baffling the vile beast and making his way to the exit in relative safety.  Meanwhile, a pair of deadly cave slimes are oblivious to anything that happens.


Once you've ventured far enough into the caverns, the game gives you the option of starting from the farthest level you've cleared.  This means you can slowly pick at the levels and eventually reach the scariest and most dangerous parts of the game without entirely superhuman levels of skill.  However, because it only lets you go to the last level you cleared, not the last one you reached, you'll need to clear at least two levels to move your starting point ahead.


These giant centipedes are thankfully only found in the deepest regions of the cave, for they are incredibly deadly.  While our intrepid hero might try to lure them around a wall like a dire bat, the centipede is much less likely to lose interest in the chase.

--------------------------------
Original post:

I'm almost done with a 4k version of Treasure, a game I've been making in various platforms since I first started programming.

Treasure is a pretty simple game: you find the treasure, then run down a hole to get to the next level.  Everything that moves wants to kill you, but there's a unique way to avoid each of them.  There are new features to discover down to level 10.  I say this because the game is monstrously hard, so many people won't see all of it.

 I have a little under a hundred bytes left to use, so I thought I'd post it on the forum so I could get a few more eyes on it before I submit.  Can anyone find any bugs or obvious missing features?


(The screenshot is a little broken: this is because of the screenshot program I used, not the game.  I recommend looking at the game for yourself.)
Offline SimonH
« Reply #1 - Posted 2009-01-15 03:41:44 »

I like it - the scale and graphics are good, but the movement's jerky, the players seems to jitter a bit as they move... Also needs a pause or something from when you die to the restart screen.
Good - feels much bigger than 4K!

People make games and games make people
Offline Hsaka
« Reply #2 - Posted 2009-01-15 03:53:59 »

Nice game!

Quote
..monstrously hard
You weren't kidding.. [I hate those fake chests..]  Grin

As a suggestion, maybe you could animate the player with your excess bytes?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SquashMonster

Senior Member


Medals: 1
Projects: 2



« Reply #3 - Posted 2009-01-15 04:06:01 »

Thank you both.

SimonH - I managed to fit in a simple death animation, but I can't do anything about the jitter.

Hsaka - Because (much to my chagrin) I had to break perspective when drawing the sprites, I couldn't think of a way to animate the player that would actually make sense visually.  But now he's a little animated when he dies, so maybe that counts  Grin.


New version attached.  I also made it slightly easier at later levels.

EDIT: If anybody downloaded this before the edit mark, delete that and download this one.  There was a rather silly bug in that.
Offline SquashMonster

Senior Member


Medals: 1
Projects: 2



« Reply #4 - Posted 2009-01-19 04:08:14 »

I've updated the game quite a bit, and would like some final feedback before I submit.

A handful of features since last update:
- Slightly better bat AI
- A new wardrobe for the player character
- Smooth scrolling
- Start from the last level you cleared

See the (edited) first post for details and the most recent jar.
Offline ElderlyTheodoreGrampa

Innocent Bystander





« Reply #5 - Posted 2009-01-20 20:23:53 »

Man this is a fun game.

It's fast paced.
It's always different (Randomly generated levels are like that.)
It's simple and effective.
Offline pjt33
« Reply #6 - Posted 2009-01-20 20:40:05 »

The key detection on the title screen is awful. In the game, though, it works fine. I don't understand.
Offline SquashMonster

Senior Member


Medals: 1
Projects: 2



« Reply #7 - Posted 2009-01-22 05:41:16 »

ETG - thank you.

ptj33 - I've been trying to figure out what could cause this, because it simply does not happen for me.  I think I finally figured it out though: it's detecting the key fine, there's just a big delay between your keypress and the game starting as it generates the level and graphics.  I'll see if I can find room for a loading message, but right now I have only 3 bytes left.

Slightly updated version attached.


EDIT - I looked into adding a loading message, and I need 22 bytes more room to do it.  I have no idea where I'll find that space at this point, so probably not happening.
Offline pjt33
« Reply #8 - Posted 2009-01-22 09:43:28 »

ETG - thank you.

ptj33 - I've been trying to figure out what could cause this, because it simply does not happen for me.  I think I finally figured it out though: it's detecting the key fine, there's just a big delay between your keypress and the game starting as it generates the level and graphics.  I'll see if I can find room for a loading message, but right now I have only 3 bytes left.

Slightly updated version attached.


EDIT - I looked into adding a loading message, and I need 22 bytes more room to do it.  I have no idea where I'll find that space at this point, so probably not happening.
Could you hide the message? That's just one if-test, so might fit into 3 bytes.
Offline SquashMonster

Senior Member


Medals: 1
Projects: 2



« Reply #9 - Posted 2009-01-22 18:48:06 »

I tried what you suggested, and it put me just 2 bytes over.  Looking for those two bytes, I actually ended up with enough room to print "Loading" too, so here's a version with a loading screen.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline luisoft

JGO Coder


Projects: 6


Java games rock!


« Reply #10 - Posted 2009-01-23 00:13:54 »

Is the source code for this game available? The scroll is very smooth. My implementation of the scroll is very jerky... I'd like to learn from it.
Offline SquashMonster

Senior Member


Medals: 1
Projects: 2



« Reply #11 - Posted 2009-01-23 01:09:17 »

I'm considering releasing the source, but at the very least I'd like to wait until after the competition.

But the scrolling code is quite simple.  It's just a weighted average between the current location and the location where it belongs.  This is run once per frame:
screenX = (screenX * 3 + xs[OBJECT_PLAYER] - SCREEN_HALF) / 4;
screenY = (screenY * 3 + ys[OBJECT_PLAYER] - SCREEN_HALF) / 4;
Offline Hsaka
« Reply #12 - Posted 2009-01-23 01:15:58 »

I really like the new additions you've made [especially the "Start from the last level you cleared" one..  Grin]

Fun game, nice job.
Offline zeroone
« Reply #13 - Posted 2009-03-05 00:23:58 »

Treasure4k was definitely inspired by Indiana Jones.  The player graphic and bat graphic is well done.  It would be nice if the player’s legs moved.  The mazes are blocky, though the edges have been bent to hide that to some extent.  The seams (edges) of the repeating sand texture is visible.  How was the maze generated?  Even though the maze is blocky, the overall map itself has a very organic, fractal like property.  The green blobby creatures don’t seem to do much at all; unlike the bats, they seem to stay within a confined region.  The bat doesn’t hunt the player out; perhaps that a feature of the enemy.  It seems pretty easy to pass each level.  The enemies don’t put up that big of fight.  There are no weapons; it’s just a dodge game.  How was the scrolling accomplished?  Is it just a visible region of a large image or is the maze stored as a grid?  Each level is too similar.  I don’t feel motivated to progress through all the levels. 
Offline SquashMonster

Senior Member


Medals: 1
Projects: 2



« Reply #14 - Posted 2009-03-05 04:13:04 »

Actually, Indiana Jones had nothing to do with the game's inspiration.  The Indy-like sprite was added pretty late into the game's development, as I needed a way to give the character a lot of personality in a little bit of space.  Making the player's legs move would call attention to the fact that the graphics break perspective, so I chose not to.

Generating the texture seamlessly would be prohibitively expensive on a lot of computers: some of my friends had loading screens a few minutes long with the seamless version.

The maze is generated using cellular automata: personally, I think fractal terrain is ugly

The bats don't go around corners because otherwise the game would be impossible.  Each of the four enemy types in the game is designed with specific flaws in its AI that can be exploited to get past them.  This is the only way to make it through harder levels.

If you think this game is easy, you probably only played the first few levels.  Try to get to six or so.
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.

CogWheelz (2 views)
2014-07-30 21:08:39

Riven (20 views)
2014-07-29 18:09:19

Riven (13 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (32 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (28 views)
2014-07-23 21:07:15

Riven (29 views)
2014-07-23 20:56:16
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!