Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  Print  
  XIQ - a kind of Qix remake  (Read 8287 times)
0 Members and 3 Guests are viewing this topic.
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« on: 2006-12-09 11:54:48 »

Hi,

Here's a small game I've written this week... It was meant to be for the 4k contest but I couldn't resist adding new things until the thing exploded the 4k limit... Grin

Play XIQ : http://www.javapause.com/games/xiq

The game isn't finished yet : scoring and enemy AI need improvements, and there are weird speed bugs from time to time.

For those of you who don't know qix, the goal is to draw closed shapes on a game surface (filling them as soon as they are closed), while avoiding nasty bugs flying around you and your track.


If you like the game, there's an online scoring system waiting for your entries !

I'll update the game in the coming days when I have more time, to add new gameplay elements and fix framerate issues, I'll post here when it's done.

your comments are welcome !

Lilian Smiley

Former java games developer...
Offline erikd

JGO Kernel
*****

Posts: 2561
Medals: 7


Maximumisness


« Reply #1 on: 2006-12-11 13:12:27 »

It's a good QIX clone  Smiley
All ran nice and smoothly.

However, when an enemy hit the line I was currently drawing, it barfed:
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  
NEXT STATE menu
reading scores !
NEXT STATE start level
NEXT STATE play
dist too long
dist too long
dist too long
dist too long
NEXT STATE level failed
NEXT STATE start level
NEXT STATE play
dist too long
NEXT STATE level failed
NEXT STATE start level
NEXT STATE play
NEXT STATE game over
Exception in thread "Thread-3" java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.0)
   at java.security.AccessControlContext.checkPermission(Unknown Source)
   at java.security.AccessController.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkExit(Unknown Source)
   at javax.swing.JFrame.setDefaultCloseOperation(Unknown Source)
   at xiq.XiQApplet.showGameOver(XiQApplet.java:986)
   at xiq.GameApplet.run(GameApplet.java:104)
   at java.lang.Thread.run(Unknown Source)
[/quote]

Offline steveyO

Sr. Member
**

Posts: 310
Medals: 4



« Reply #2 on: 2006-12-11 18:24:16 »

Yeah,, very nice, crashed a few times after dying (didnt check my console, maybe same problem as above).. Will defo try this again when the little problems have been ironed out, got loads of potential  (didnt get very far tho, about 30% but will try again in a few days).
Shame ya missed the 4k..

www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Games published by our own members! Go get 'em!
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #3 on: 2006-12-12 07:50:37 »

small (but important) update : I've fixed the score submission problem and some deadlocks : the game is much more playable now.

Lilian Smiley

Former java games developer...
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #4 on: 2006-12-12 08:45:21 »

The speed of the 'thingies' seems to vary quite a bit between reloads of the applet. Maybe it's my imagination, but sometimes it's really hard, and when I hit F5 in frustration, seems (?) dead-easy.

Further the bouncing with random angles is a bit annoying: it happens very often that the enemies come straight at me, when you expect them to head in a completely different direction. It made finishing the first level almost impossible, until I just tried taking half the remaining part at a time.


Update:
Hm... that was all yesterday, today it's much easier Grin

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #5 on: 2006-12-12 10:17:14 »

yes, there was a bug in a post animation trigger that caused the bouncing enemies to be animated twice per frame...

about bouncing : it will change soon, but for the enemies aiming at you ... it's on purpose (and it happen more and more once you reach higher levels) but there are strategies to avoid it (like drawing "fences").

Lilian Smiley

Former java games developer...
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #6 on: 2006-12-12 12:48:22 »

updated (again) !

now with better oponents, easier gameplay, and amazing (well, IMHO) images to discover !



Lilian Smiley

Former java games developer...
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #7 on: 2006-12-12 13:36:26 »

In the version i played the game was won when i had roughly 25% of the map... shuold that be 75% again (according to the text above the applet you need to get 3/4 of the map)

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #8 on: 2006-12-13 02:23:47 »

yes, the 25% was for a test and I forgot to remove it for an hour or son.

now, levels start with slower and fewer ennemies, and a completion target of 60%

The new yellow ennemies are trickier as they are meant to chase you from time to time, whereas the others are just randomly bouncing.

I'm going to work on bonus now (shields, extra points when you capture an enemy on a smaller surface, etc.)

Any ideas and comments welcome !

Lilian Smiley

Former java games developer...
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #9 on: 2006-12-13 07:16:29 »

Too easy now.

Oh, and I wonder why taking a large piece of land doesn't give you the allocated pixel + 2x1000 points.

To get a high-score now, you need to get a lot of 'small' chunks of land, while that's easy, and taking large pieces it really hard. You should be rewarded to claim larege areas, not punished.

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Games published by our own members! Go get 'em!
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #10 on: 2006-12-13 09:41:39 »

you are right, I've updated the scoring system and difficulty.

Level 4 is where things become interesting.

Lilian Smiley

Former java games developer...
Online kappa
« League of Dukes »

JGO Kernel
*****

Posts: 2360
Medals: 59


★★★★★


« Reply #11 on: 2006-12-13 19:22:49 »

absolutely loving this game, for some reason i keep comming back to play it, works great on my windows computer, but on the linux computer the game freezes up every now and then for a few seconds (ff2.0,jre1.5), other than that brilliant game.
Online kappa
« League of Dukes »

JGO Kernel
*****

Posts: 2360
Medals: 59


★★★★★


« Reply #12 on: 2006-12-14 02:54:35 »

was playing when i got stuck at the bottom of the screen and keep getting 500 points every second or so when an enemy respawns there.


Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #13 on: 2006-12-14 09:25:05 »

fixed ! (deadlock should cause instant death now)

I've also increased the highscore listing to show the 50 best scores... I wonder if I should limit the number of scores submitted by a single user... You and Riven seem to have all the slots !

edited : There's also a new scoring for enemy capture, taking into account the capture surface and the number of enemies captured in a single frame.


Lilian Smiley

Former java games developer...
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #14 on: 2006-12-14 12:48:16 »

... and then I cancel most of my games Wink

Anyway, nice work!

Next thing - if you want to polish it - would be to give the 'droids' some slick icons.

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Offline steveyO

Sr. Member
**

Posts: 310
Medals: 4



« Reply #15 on: 2006-12-14 17:47:33 »

Yep, still very addicting,, had enough for tonight,  cant even get close to Riven...
A couple of things,, every now and again runs out of heap space:-
Exception in thread "Thread-839" java.lang.OutOfMemoryError: Java heap space
and after I submit a high-score the game stops responding.   browser refresh fixes problem which is no bother but would be nice to eliminate all the little minor bugs for better playability..

www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #16 on: 2006-12-14 19:10:18 »

To name such a 'minor bug':

On the start of a new level (or on pressing F5: applet-load-time), sometimes (eh, quite often) the 'state' of 1 of the arrow-keys is already 'pressed'.

When the game thinks UP is pressed, you're pretty much stuck (it seems), the game won't react to DOWN, until you press and release UP to forcibly reset the state.


IIRC the static (?) variables in an applet can keep their values when the applet is reloaded, which might cause this behaviour?
Maybe setting all states to false in the init() method will fix this?

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #17 on: 2006-12-14 19:11:22 »

Wow kapta, you're getting way too close Smiley

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Online kappa
« League of Dukes »

JGO Kernel
*****

Posts: 2360
Medals: 59


★★★★★


« Reply #18 on: 2006-12-14 19:30:13 »

Wow kapta, you're getting way too close Smiley

hehe, damn just missed it by a bit  Grin
could swear the game is rigged to go super crazy when reaching your score  Grin
Online kappa
« League of Dukes »

JGO Kernel
*****

Posts: 2360
Medals: 59


★★★★★


« Reply #19 on: 2006-12-15 14:15:03 »

err... was playing when the game just crashed with following error on console
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
Exception in thread "Thread-142" java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2760)
   at java.util.Arrays.copyOf(Arrays.java:2734)
   at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
   at java.util.ArrayList.add(ArrayList.java:351)
   at xiq.XiQApplet.fillSurface(XiQApplet.java:513)
   at xiq.XiQApplet.paintImage(XiQApplet.java:420)
   at xiq.XiQApplet.showPlay(XiQApplet.java:1091)
   at xiq.GameApplet.run(GameApplet.java:125)
   at java.lang.Thread.run(Thread.java:619)


also like the new images very nice.

btw Riven good play on the comeback Smiley
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #20 on: 2006-12-15 14:36:40 »

Thanks,

I'll have a look at that bug tomorrow

Lilian Smiley

Former java games developer...
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #21 on: 2006-12-15 15:25:57 »

btw Riven good play on the comeback Smiley

I beat your score a minute after you beat me Smiley

Now you're only 1000 short of my score... Shocked I bet your felt like pulling your hair out Smiley

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #22 on: 2006-12-15 16:07:40 »

Hm... i was about to make yet another highscore Wink then the game locked up after i drew a region, which didn't get filled (!), then i drew another, which got filled, and the next crashed the game.

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #23 on: 2006-12-16 04:41:56 »

updated !

I've added some checks to avoid infinite loops, that should help solving most bugs (there's one I haven't been able to find, but the new checks will hopefully make it non blocking.

Btw, nice one Kapta Smiley

Lilian

Former java games developer...
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #24 on: 2006-12-21 14:32:26 »


Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #25 on: 2007-01-06 04:43:39 »

Riven, your screenshot seems out of place...

SWPalmer, well done ! ( I've cleaned up the highscores as you were about to fill every slot from number 1 to number 20 ! ). You must have played a lot these days to get to that skills Smiley

Lilian Smiley

Former java games developer...
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #26 on: 2007-01-06 06:53:14 »

Arg, I overwrote a file on the server.. Embarrassed


The image was basicly a screenshot which a lot of non-filled enclosed areas that I made.

The enemies were bouncing off the lines without me losing lifes.

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #27 on: 2007-01-06 07:57:11 »

And now that I played it again, I had 2 lives remaining, I wasn't hit by any enemy, then the "enter your name" dialog popped up, and I lost...

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Offline c_lilian

JGO Ninja
***

Posts: 643


Java games will probably rock someday...


« Reply #28 on: 2007-01-06 09:36:28 »

I'm working on a new version where this bug should be fixed (well... the empty paths will disapear when a deadlock situation occurs)

Thanks for reporting the problem. (but about the highscores and 2 lives... Huh)

Lilian Smiley

Former java games developer...
Online Riven
« League of Dukes »

JGO Kernel
*****

Posts: 5872
Medals: 255


Hand over your head.


« Reply #29 on: 2007-01-06 10:42:46 »

Dead on 'X'

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
--------------------------
|                        |
|                        |
|                        |
|                        |
|                        |
|                        |
--------------------------
|X<---<----<------|
|                 |
|                 ^
-->------>--->----|

Hi, appreciate more people! Σ ♥ = ¾

Learn how to award medals... and work your way up the social rankings
Pages: [1] 2
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

obsidian_golem 2012-05-23 10:14:50

Danny02 2012-05-21 17:10:34

Danny02 2012-05-21 17:07:10

Danny02 2012-05-21 16:56:12

davedes 2012-05-21 13:59:23

obsidian_golem 2012-05-20 20:28:41

darkjava55 2012-05-12 16:14:40

Ultroman 2012-05-12 09:36:05

Ultroman 2012-05-11 22:49:53

Ultroman 2012-05-11 22:20:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.253 seconds with 17 queries.