Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
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  
  4kProf  (Read 1099 times)
0 Members and 1 Guest are viewing this topic.
Offline me

Senior Member


Projects: 4


Java games rock!


« Posted 2013-01-27 12:28:59 »

Last year I wanted to make this game using polygones. In the end I made a matching game using the technique I wanted to use.

This year the sprites and level design are using different decoding mechanisms.

At the moment it isn't extremely optimized so I think I can add some more levels to the game.

The game is inspired on the Professor Fizzwizzle games.

Click on image to start
Click to Play


Navigate with Arrow Keys and N key for next level if you want to skip one. (P = previous)
ESCape restarts the level.

Basically the sprite decode is like:

chr(nr) = number of sprites .. so for each sprite do
chr(nr) = number of polygones .. for each polygone do
chr(nr) = polygone palette-color reference
chr(nr) = number of points in the polygone so for each polygone-point do
chr(nr) = modulus of coordinate = polygone-x or polygone-y  (sprite width/height determines number of chr)

The level decode is something like this:

chr(nr) = repeat number of objects
chr(nr) = objectnr

The level is still in a multi-dimensional array and I know this can be optimized further using one String technique like the sprites.
So that will be my next task for optimization.

*updated link to java4k*

M.E.
--------
Offline sixtyten

Junior Member


Projects: 1



« Reply #1 - Posted 2013-01-27 20:48:57 »

Looking good... don't quite understand what the rules for object movement are but got the general gist of the game.

Two thoughts:

1. Could you turn on antialiasing to make the look less jagged? (altho maybe you want something deliberately retro)

2. The player animation is well, jumpy Wink I was thinking it's even possible you could get animation for cheap by blending between polygon vertex positions. Assuming the player graphic is made of n polygons and the polygons preserve their identity and approximate relationship (e.g. 1 for face, 1 for body, 1 for arm, etc.), then you could create a smooth animation quite straightforwardly.
Offline me

Senior Member


Projects: 4


Java games rock!


« Reply #2 - Posted 2013-01-27 21:00:28 »

Thanks for looking at it and commenting on the game!

1. Originally the game was designed for 1024x768 but then noticed the 800x600 is maximum on the java4k.com site.
I should redesign the drawing mechanism, or see if the limitation on java4k.com isn't that strict (anymore)
2. I was thinking of a smoother animation but I'm not sure if I can pull it off without losing the number of levels. Will look into it again when things get better optimized!

Best regards from

M.E.
--------
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #3 - Posted 2013-01-27 21:27:59 »

Antialiasing is literally one line of code in your painting method, practically takes no space. iirc you have to set the rendering hints...
Offline StephR

Senior Member


Medals: 9



« Reply #4 - Posted 2013-01-28 19:11:32 »

Nice puzzle game.

me, you should know that the rule has changed concerning the 800x600 limit.

I decided to modify one rule: (not popular after contest starts, I know)

Quote
The Applet window size may not exceed 800 pixels horizontally or 600 pixels vertically. This is a guideline however, games can exceed this limit if it's deemed acceptable by java4k.com, although exceeding this is at your own risk. Some games do require more horizontal or vertical space, and it is allowed to exceed it a tiny bit. But be careful of exceeding the vertical limit, as vertical space is more limited on computer screens.
Green is the new text.

The reason for this is... well, some games actually slipped in that are slightly larger than 800x600, and I don't see any reason to reject the submissions. 800x600 is an arbitrary limit just to set some limit, going slightly larger is fine, but going somewhat larger may not be.

I guess someone is going to say "I spent a lot of time making my game to fit inside 800x600, and are you telling me now that I could have done it in 840x610??? THAT CHANGES EVERYTHING!!". Well, sorry... drama queen Smiley

I think it's better and less hassle just to modify the rule (takes me 30 seconds) rather than tell those forgetful poor souls they need to spend hours in an attempt to squeeze their game into that frame.

The link : http://www.java-gaming.org/topics/java4k-2013/27689/msg/258272/view.html#msg258272.

You should directly ask to appel if your 1024x768 screen size would be a problem for the java4k site.
Offline me

Senior Member


Projects: 4


Java games rock!


« Reply #5 - Posted 2013-02-24 07:56:43 »

Thanks all for commenting.

I have updated the game (and link at top of forum-post)

  • Scaled down to 450x400
  • Antialiassing (penalty: increased bytecode !!)
  • Added levels + implemented the optimization code for level-load
  • Added objects

Best regards from

M.E.
--------
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 (12 views)
2014-08-28 18:26:30

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

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

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

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

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

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

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

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (33 views)
2014-08-08 02:01:56
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!