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 (589)
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 [3]
  ignore  |  Print  
  4Kanabalt  (Read 9699 times)
0 Members and 1 Guest are viewing this topic.
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #60 - Posted 2010-12-08 10:14:41 »

I also got the high score bug . I think it has something to do with subsequent plays . I played like 5 times, and every time I restarded, things were a little crazier, with the score/ speed bar flickering between 0 and one of my previous scores



after a few more plays, in the middle of the game I see a title screen flickering and some of my clicks don't register. I'm almost sure that there are 2 (or more) instances of the game running on top of each other, and some of my clicks are registered in one instance and one in another .

I think you can reproduce it playing 7-8 times in a row .

@ java 1.6_021 - Firefox

Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 831
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #61 - Posted 2010-12-08 10:23:22 »

It's probably that the thread that updates the (previous) applet is not stopped, leaving multiple applets or multiple threads in the background, drawing to the same (native) surface.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #62 - Posted 2010-12-08 11:18:51 »

I use a isActive() check to stop that. It's actually more likely the thread that spawned to handle uploading a highscore - are you skipping adding your name? If so, thats a bug at the moment. Fixed next update.

Kev

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

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #63 - Posted 2010-12-08 13:40:28 »

Updated:

http://dl.dropbox.com/u/1668516/fourkay/kanabalt.html

* Fixed threading issue (hopefully)
* Added keyboard control - any key to jump
* Added ceilings to some buildings
* Added falling buildings

Kev

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #64 - Posted 2010-12-08 13:55:33 »

oh brilliant, falling buildings and ceilings really add a whole new layer to the gameplay, its much more challenging and enjoyable now Smiley
Offline pjt33
« Reply #65 - Posted 2010-12-08 14:29:39 »

The score still jumps when I dismiss the dialog. Is it a sequence thing - you bring up the dialog before doing a repaint with the final score? I notice that it's not repainting anything except the parallax background while the dialog is open.

PS Ceilings IMO are the only problem the original game had.
Offline kulpae

Senior Newbie


Exp: 9 years



« Reply #66 - Posted 2010-12-08 14:40:14 »

nice little game .... 3760 (my fingers were faster than brain and my eyes were outta control, thx for that experience )
Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #67 - Posted 2010-12-08 16:47:09 »

Updated again:

http://dl.dropbox.com/u/1668516/fourkay/kanabalt.html

* Should have that score bug fixed.

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #68 - Posted 2010-12-09 08:23:57 »

High scores fixed again.

Can't reproduce the highscore offset bug any more.

Still plenty of room to add more features.

Kev

Offline pjt33
« Reply #69 - Posted 2010-12-09 09:43:18 »

Can't reproduce the bug any more either. Now to wait and see whether my score shows up on the leaderboard as 3170, which is what it displayed on the applet.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #70 - Posted 2010-12-09 09:51:15 »

There it is, on the scoreboard, congratulations on top Smiley

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #71 - Posted 2010-12-09 15:28:32 »

Ok, music seems to be out (the dataline type stuff just sounds too rough to me). I have some space left, what should I add? Suggestions thus far are:

* Breaking glass
* More defined birds
* More background detail
* The spacecraft that zoom in and drop bombs

Anyone got any other ideas?

Kev

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #72 - Posted 2010-12-09 15:38:00 »

* Breaking glass

+1 Smiley

could just be a black line that breaks into 4/5 small lines.
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 831
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #73 - Posted 2010-12-09 15:54:19 »

Ok, music seems to be out (the dataline type stuff just sounds too rough to me).

If you're interested in how I did it...
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  
      try
      {
         AudioFormat af = new AudioFormat(sampleRate, 16, 1, true, true);
         DataLine.Info info = new DataLine.Info(SourceDataLine.class, af);
         SourceDataLine source = (SourceDataLine) AudioSystem.getLine(info);
         source.open(af);

         // increase master gain to 75%
         Type type = FloatControl.Type.MASTER_GAIN;
         FloatControl fc = (FloatControl) source.getControl(type);
         fc.setValue(fc.getMaximum() * 0.75f);

         source.start();

         while (this.isActive())
         {
              // stuff

              source.write(raw, 0, raw.length);
         }

         // adds 20 bytes :o(
         source.drain();
         source.stop();
         source.close();
      }
      catch (Exception e)
      {
         // System.out.println(e);
      }


Easy enough to feed some noise in the audio line, when the buildings crumble.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #74 - Posted 2010-12-09 15:57:23 »

I tried out Alan_W sample from last years contest, while it played nice music it just sounds a bit wierd for the game.

Kev

Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #75 - Posted 2010-12-09 19:37:10 »

Updated:

http://dl.dropbox.com/u/1668516/fourkay/kanabalt.html

* Added breaking glass when you exit buildings

3724 bytes

Kev

Offline michael bliem

Senior Newbie





« Reply #76 - Posted 2010-12-14 18:50:53 »

hi

does not work on my mac 10.6 firefox...?
i only see 'click mouse...' but nothing happens
after clicking

regards
Offline kevglass

« JGO Spiffy Duke »


Medals: 195
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #77 - Posted 2010-12-14 21:09:48 »

Works on 10.6 here on safari and chrome.

Will get firefox tomorrow to test.

Kev

Offline michael bliem

Senior Newbie





« Reply #78 - Posted 2010-12-14 21:14:19 »

works with safari but not firefox and firefox now!

yeaH! i played this on iphone Smiley
Offline CatWeazle

Senior Newbie





« Reply #79 - Posted 2011-01-03 20:49:51 »

Awesome! Cheesy
Offline pjt33
« Reply #80 - Posted 2011-01-03 21:32:47 »

On my IcedTea / Firefox / Linux box it clearly does something because it renders in black (rather than the grey of a failed applet), but it doesn't do anything else.
Offline Pit

Junior Devvie


Projects: 2



« Reply #81 - Posted 2011-01-05 23:40:35 »

Awesome game. Feels very smooth and just great as you go faster and faster.
And I really like the birds and the breaking glass effects.
Offline heX-

Junior Devvie





« Reply #82 - Posted 2011-01-05 23:44:49 »

PAIN , PAIN FOR MY EYES ! OOO IT BURNZZ .
sry for upper spam.
really u need more colours and slow things down , my eyes hurt.

Goal : Learn Java
my blog >> http://hex.ws.mk/
Pages: 1 2 [3]
  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.

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

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

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

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

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

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

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

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

CopyableCougar4 (71 views)
2014-11-01 23:36:41

DarkCart (156 views)
2014-11-01 14:51:03
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!