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 [2] 3 4
  ignore  |  Print  
  World Rally Driver 4K  (Read 23298 times)
0 Members and 1 Guest are viewing this topic.
Offline halfwitgoat

Junior Devvie


Projects: 2



« Reply #30 - Posted 2008-12-14 11:51:31 »

I liked this game the first time around. This is great for 4k. If anything it plays a bit better.

Oh, and 1023 on USA.  Grin

Offline timfoden

Junior Devvie


Projects: 2



« Reply #31 - Posted 2008-12-14 12:25:20 »

crap!

 Wink

It looks like Andy may also give it a good go... just a bit more practising on the Sweden track, and if he manages 1000 (which I'm sure he will given his other scores) he'd have 3049, taking him to 2nd place.  But that last track is soooo frustrating... you have to get so much exactly right to get a good score at all.

Try Pipe Extreme -- can you get to the end of the pipe?
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #32 - Posted 2008-12-14 19:16:44 »

My score continues to drop down the list. Oh well, I'm done trying, I think.  Tongue

See my work:
OTC Software
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Ranger
« Reply #33 - Posted 2008-12-21 10:21:00 »

Just noticed a cheatin' dude from Germany cracked the code (or guessed one) and entered an impossible high score in.  I've deleted their score and made the code much harder to crack.  So, Tom from the USA, whoever you are, you're back on top!  Funnily enough, the German called himself M. Schumacher.....I wonder if it actually was him, he has been known to cheat before!  Grin
Offline Don Kiddick

Junior Devvie





« Reply #34 - Posted 2009-01-02 17:06:09 »

Hactually me from the UK, playing through a US proxy. Great game. How'd you do the physics?
Offline Ranger
« Reply #35 - Posted 2009-01-02 21:09:41 »

Hactually me from the UK, playing through a US proxy. Great game. How'd you do the physics?
Thanks Don (or Tom?)!  I'm thinking your time may be unbeatable.  I can't even get higher then 8th!  Smiley  I've changed your flag to now be from the UK.

Physics are pretty simple.  I have a motion direction that lags behind the car direction like this:
1  
2  
3  
4  
5  
6  
7  
8  
9  
if (trackNum == TRACK_ASPHALT) {
   motionDir += (carDir - motionDir) / 5;
}
else if (trackNum == TRACK_DIRT) {
   motionDir += (carDir - motionDir) / 15;
}
else {
   motionDir += (carDir - motionDir) / 25;
}

The bigger the lag, the greater the slide effect.
Offline Ranger
« Reply #36 - Posted 2009-01-05 12:59:39 »

Damn you Tim Foden!!!  I _just_ got a friggin good time after playing my stupid awesome game for way too many hours, and you come along and beat it!  I think I'll go and play Kart blissfully unaware of how much faster everyone else is.

EDIT: And now you've gone an gotten the top score.  I must say, I am impressed.  I didn't think anyone could go that fast!
Offline trembovetski

Senior Devvie




If only I knew what I'm talking about!


« Reply #37 - Posted 2009-01-07 04:07:00 »

Damn you Tim Foden!!!  I _just_ got a friggin good time after playing my stupid awesome game for way too many hours, and you come along and beat it!  I think I'll go and play Kart blissfully unaware of how much faster everyone else is.

EDIT: And now you've gone an gotten the top score.  I must say, I am impressed.  I didn't think anyone could go that fast!

Looks like we need a save/restore or something, so that others can d/l the race and watch.. That'd be what, 2-3 bytes? =)
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #38 - Posted 2009-01-07 06:14:53 »

It would just be a big array of key presses, no? Just gotta make sure fps matches.

See my work:
OTC Software
Offline Ranger
« Reply #39 - Posted 2009-01-07 08:58:22 »

Looks like we need a save/restore or something, so that others can d/l the race and watch.. That'd be what, 2-3 bytes? =)
I actually did code that up.  Unfortunately, the call to JOptionPane (so you could copy the data) took _way_ too many bytes and pushed me well over the 4k limit.   Cry
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline timfoden

Junior Devvie


Projects: 2



« Reply #40 - Posted 2009-01-07 12:48:02 »

Damn you Tim Foden!!!  I _just_ got a friggin good time after playing my stupid awesome game for way too many hours, and you come along and beat it!  I think I'll go and play Kart blissfully unaware of how much faster everyone else is.

Smiley

... and now trio of German players have managed to go even faster... hey what happened to their scores?

For USA it's now very hard to find many more points aver 1023 (but one of the disappearing German scores had 1025).
For Australia maybe a few more points are available... but I had a blast to get that 1040.
For Sweden I feel that it's possible to get at least 1045, and perhaps a bit more.

[new edit] Just got home and continued trying to beat my scores... and I got a great 1048 on Australia, but the score entry system doesn't seem to accept the code.  Have you changed the way it's encoded since yesterday (I have left the program running on my PC for about the last 3 days now)?

Cheers, Tim.

Try Pipe Extreme -- can you get to the end of the pipe?
Offline Ranger
« Reply #41 - Posted 2009-01-08 03:38:39 »

... and now trio of German players have managed to go even faster... hey what happened to their scores?
Someone was trying to crack the code at the same time the German players entered their codes.  My code cracking detection wasn't the greatest, and I couldn't tell if their times were real or not, so I deleted them.  Big apology if they were real times.

[new edit] Just got home and continued trying to beat my scores... and I got a great 1048 on Australia, but the score entry system doesn't seem to accept the code.  Have you changed the way it's encoded since yesterday (I have left the program running on my PC for about the last 3 days now)?
Yes, sorry, last night I improved my code cracking detection, and I also made a new seed for the code, so you will need to close and reopen the page as it now generates different codes.  So you will lose your current progress, sorry!!  Roll Eyes
Offline timfoden

Junior Devvie


Projects: 2



« Reply #42 - Posted 2009-01-08 07:33:54 »

Yes, sorry, last night I improved my code cracking detection, and I also made a new seed for the code, so you will need to close and reopen the page as it now generates different codes.  So you will lose your current progress, sorry!!  Roll Eyes

OK.  Just for posterity then, here's a jpegged screen print of my success!   Smiley   [I left the code in as it's not valid any more anyway]



I guess I'll start again with the new version this evening.

Cheers, Tim.

Try Pipe Extreme -- can you get to the end of the pipe?
Offline toasten

Junior Devvie





« Reply #43 - Posted 2009-01-08 10:48:50 »

I actually did code that up.  Unfortunately, the call to JOptionPane (so you could copy the data) took _way_ too many bytes and pushed me well over the 4k limit.   Cry
Why not just copying it to clipboard?
Offline Ranger
« Reply #44 - Posted 2009-01-08 11:23:40 »

OK.  Just for posterity then, here's a jpegged screen print of my success!   Smiley   [I left the code in as it's not valid any more anyway]
I guess I'll start again with the new version this evening.
I just manually updated your score.

The German people are back, and it looks like they didn't crack the code.  I'm blown away by the Sweden time, almost 2 seconds faster then anyone else!  Shocked
Offline Ranger
« Reply #45 - Posted 2009-01-08 12:09:21 »

Why not just copying it to clipboard?
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(""), null);   ==> adds 150 bytes
JOptionPane.showInputDialog(this, null, "");  ==> adds 61 bytes
 Sad
So, if I removed zooming, or textures, or something like that, I could probably fit it in.  But I like the zooming and textures. Cool
Offline timfoden

Junior Devvie


Projects: 2



« Reply #46 - Posted 2009-01-08 20:10:06 »

I just manually updated your score.

Thanks for that... but I've actually beaten it now!   Tongue

The German people are back, and it looks like they didn't crack the code.  I'm blown away by the Sweden time, almost 2 seconds faster then anyone else!  Shocked

Hmm... 1092 does seem rather high.  Perhaps there is some way for me to go faster by using the brakes?  Smiley  (At the moment I just lift off the accelerator to slow down, but in real racing the cars slam the brakes really hard.)  Still, it's a big gap between my 1041 and his score.

Cheers, Tim.

Try Pipe Extreme -- can you get to the end of the pipe?
Offline Ranger
« Reply #47 - Posted 2009-01-09 09:26:03 »

Hmm... 1092 does seem rather high.  Perhaps there is some way for me to go faster by using the brakes?  Smiley  (At the moment I just lift off the accelerator to slow down, but in real racing the cars slam the brakes really hard.)  Still, it's a big gap between my 1041 and his score.

You are now officially the fastest person again.  The German dude slipped up today and tried to submit a score that was way over the top (a full second faster on USA).  So now I know the Sweden time is also a cheat.  I can only guess that they have decompiled my game to work out the codes (as they never submit incorrect codes).  I'm going to try to see if I can hide the calculation of the codes better.  Any ideas on how to do this would be most welcome!  Smiley
Offline moogie

JGO Knight


Medals: 13
Projects: 6
Exp: 10 years


Java games rock!


« Reply #48 - Posted 2009-01-09 12:13:34 »

i think the best option is to actually remove the score "code" from the game and implement the playback feature.To submit a score you submit your replay and the server will then play the replay to calculate the score.

I would think that this would make it a lot more difficult to cheat as much more work would be needed to generate a valid replay which scores well.
Offline timfoden

Junior Devvie


Projects: 2



« Reply #49 - Posted 2009-01-09 12:20:49 »

The German dude slipped up today and tried to submit a score that was way over the top (a full second faster on USA).  So now I know the Sweden time is also a cheat.  I can only guess that they have decompiled my game to work out the codes (as they never submit incorrect codes).  I'm going to try to see if I can hide the calculation of the codes better.  Any ideas on how to do this would be most welcome!  Smiley

They may not be d-compiling the code.  It may be possible to reverse engineer your obfuscation algorithm just by observing the codes generated by different scores on the tracks.

I notice that when one of my scores get better, the numbers on the left of the code rarely change.  This would imply to me that the obfuscation isn't very complex.  It'd be better I think if the whole number changed wildly even if only a small change was made to one of the encoded scores.

In respect to knowing a better way... I don't know if there's a solution to this problem in general.  I've thought about it quite a bit for Pipe Extreme.  I think the conclusion was that the most foolproof way was to submit a vector of controls to the server, and have the server reconstruct the score information by replaying the game.  But this really isn't possible in your case.

Other senarios I've considered all require a direct network connection between the game and the server.

In your case the best would probably be to use a better encryption algorithm... but with the lack of space available this could be a problem.

Cheers, Tim.

Try Pipe Extreme -- can you get to the end of the pipe?
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #50 - Posted 2009-01-09 13:34:49 »

In your case the best would probably be to use a better encryption algorithm... but with the lack of space available this could be a problem.
Better encryption isn't really going to help. All you need to do is decompile the game, isolate the game time/score and poke a suitable high score into it. Once you've done that you can just compile and run and it'll spit out a perfectly legit high score code - no understanding of the actual encryption (however simple or complicated) is required.

In a full, obfuscated java game it'd be quite tricky to narrow down the relevant bits of code, but in a 4k game there's so little code that it's going to be pretty easy.

It's a hard problem - as you say key presses would be pretty foolproof, but complicated and not really practical for a 4k game.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline trembovetski

Senior Devvie




If only I knew what I'm talking about!


« Reply #51 - Posted 2009-01-09 18:44:46 »

> It's a hard problem - as you say key presses would be pretty foolproof, but complicated and not really practical for a 4k game.

Well, if one is very very anal (and some people are =) ) they could write an app which will determine the best sequence of keystrokes to get the best time.. Probably not that much different from the Slot Car Challenge at J1.

Dmitri
Offline timfoden

Junior Devvie


Projects: 2



« Reply #52 - Posted 2009-01-10 12:54:36 »

I recently began to have the applet lock up.  I've figured out how to replicate the problem on my machine now.  After clicking on the applet to activate it, then the applet window is scrolled so that the applet isn't completely displayed, and is then scrolled back so you can see it all, it is now locked up.

This was in Firefox 2.0.0.20, Java Plug-in 1.6.0_07, Windows XP SP2.

Cheers, Tim.

Try Pipe Extreme -- can you get to the end of the pipe?
Offline Ranger
« Reply #53 - Posted 2009-01-10 14:35:05 »

I recently began to have the applet lock up.  I've figured out how to replicate the problem on my machine now.  After clicking on the applet to activate it, then the applet window is scrolled so that the applet isn't completely displayed, and is then scrolled back so you can see it all, it is now locked up.

This was in Firefox 2.0.0.20, Java Plug-in 1.6.0_07, Windows XP SP2.

Cheers, Tim.
Just tried it on my system, and it didn't lock up.  However, I'm running Vista and Firefox 3.  Do any other Applets lock up when you do this?

BTW:  I've almost finished doing the replay data code, so don't bother setting any fast times until I finish it, as I'm going to have to clear out the existing times.
Offline Ranger
« Reply #54 - Posted 2009-01-10 16:33:02 »

i think the best option is to actually remove the score "code" from the game and implement the playback feature.To submit a score you submit your replay and the server will then play the replay to calculate the score.

I would think that this would make it a lot more difficult to cheat as much more work would be needed to generate a valid replay which scores well.

I agree.  And I've now coded it up.

You can now [size=12pt]Save and Load replays![/size]  And the game is still under 4k!

Unfortunately, to fit it into 4k, I had to remove the custom grass and snow textures, as well as the loading progress bar, smooth zooming, and the independent front/rear skid marks.  But, hey, Replays!  Yay!   Grin

Let me know of any problems / thoughts.

Cheers,
Craig.
Offline toasten

Junior Devvie





« Reply #55 - Posted 2009-01-10 19:47:43 »

It says my code is not valid, but i Simply copied it.  Sad
Quote
Sorry, your replay data is not valid: 2

Edit: Just some hints, it may be helpfull: driving is slow here (compared to my mahcine at work) as my CPU is always at 100%
And i saved hte score, just in case u wanna see it.
Offline moogie

JGO Knight


Medals: 13
Projects: 6
Exp: 10 years


Java games rock!


« Reply #56 - Posted 2009-01-10 22:28:35 »

hmm... i cant play the game.... the back ground turns white and only spasmodically flashes the track Sad

this pc is a laptop with the following characteristics:

java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)

------------------
System Information
------------------
Time of this report: 1/11/2009, 08:51:55
       Machine name: KERO
   Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.080814-1233)
           Language: English (Regional Setting: English)
System Manufacturer: ASUSTeK Computer Inc.
       System Model: F3JP               
               BIOS: Default System BIOS
          Processor: Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz (2 CPUs)
             Memory: 1024MB RAM
          Page File: 673MB used, 1786MB available
        Windows Dir: C:\WINDOWS
    DirectX Version: DirectX 9.0c (4.09.0000.0904)
DX Setup Parameters: Not found
     DxDiag Version: 5.03.2600.2180 32bit Unicode

------------
DxDiag Notes
------------
  DirectX Files Tab: No problems found.
      Display Tab 1: No problems found.
        Sound Tab 1: No problems found.
        Sound Tab 2: No problems found.
          Music Tab: No problems found.
          Input Tab: No problems found.
        Network Tab: No problems found.

--------------------
DirectX Debug Levels
--------------------
Direct3D:    0/4 (n/a)
DirectDraw:  0/4 (retail)
DirectInput: 0/5 (n/a)
DirectMusic: 0/5 (n/a)
DirectPlay:  0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow:  0/6 (retail)

---------------
Display Devices
---------------
        Card name: ATI Mobility Radeon X1700 (Omega 3.8.442)
     Manufacturer: ATI Technologies Inc. (Omega 3.8.442)
        Chip type: ATI Radeon Graphics Processor (0x71D5)
         DAC type: Internal DAC(400MHz)
       Device Key: Enum\PCI\VEN_1002&DEV_71D5&SUBSYS_12421043&REV_00
   Display Memory: 512.0 MB
     Current Mode: 1280 x 800 (32 bit) (60Hz)
          Monitor: Default Monitor
  Monitor Max Res:
      Driver Name: ati2dvag.dll
   Driver Version: 6.14.0010.6755 (English)
      DDI Version: 9 (or higher)
Driver Attributes: Final Retail
 Driver Date/Size: 12/5/2007 13:34:08, 269312 bytes
      WHQL Logo'd: n/a
  WHQL Date Stamp: n/a
              VDD: n/a
         Mini VDD: ati2mtag.sys
    Mini VDD Date: 12/5/2007 15:56:40, 2782208 bytes
Device Identifier: {D7B71EE2-3295-11CF-9069-4832A1C2CB35}
        Vendor ID: 0x1002
        Device ID: 0x71D5
        SubSys ID: 0x12421043
      Revision ID: 0x0000
      Revision ID: 0x0000
      Video Accel: ModeMPEG2_C ModeMPEG2_D ModeWMV8_B ModeWMV8_A ModeWMV9_B ModeWMV9_A
 Deinterlace Caps: {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                   {3C5323C1-6FB7-44F5-9081-056BF2EE449D}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                   {552C0DAD-CCBC-420B-83C8-74943CF9F1A6}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                   {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                   {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
         Registry: OK
     DDraw Status: Enabled
       D3D Status: Enabled
       AGP Status: Enabled
DDraw Test Result: Not run
 D3D7 Test Result: Not run
 D3D8 Test Result: Not run
 D3D9 Test Result: Not run

-------------
Sound Devices
-------------
            Description: Realtek HD Audio output
 Default Sound Playback: Yes
 Default Voice Playback: Yes
            Hardware ID: HDAUDIO\FUNC_01&VEN_10EC&DEV_0660&SUBSYS_10430000&REV_1000
        Manufacturer ID: 1
             Product ID: 100
                   Type: WDM
            Driver Name: RtkHDAud.sys
         Driver Version: 5.10.0000.5268 (English)
      Driver Attributes: Final Retail
            WHQL Logo'd: n/a
          Date and Size: 6/14/2006 12:04:12, 4299264 bytes
            Other Files:
        Driver Provider: Realtek Semiconductor Corp.
         HW Accel Level: Full
              Cap Flags: 0x0
    Min/Max Sample Rate: 0, 0
Static/Strm HW Mix Bufs: 0, 0
 Static/Strm HW 3D Bufs: 0, 0
              HW Memory: 0
       Voice Management: No
 EAX(tm) 2.0 Listen/Src: Yes, Yes
   I3DL2(tm) Listen/Src: Yes, Yes
Sensaura(tm) ZoomFX(tm): No
               Registry: OK
      Sound Test Result: Not run

            Description: Modem #0 Line Playback (emulated)
 Default Sound Playback: No
 Default Voice Playback: No
            Hardware ID:
        Manufacturer ID: 1
             Product ID: 81
                   Type: Emulated
            Driver Name:
         Driver Version:
      Driver Attributes:
            WHQL Logo'd:
          Date and Size:
            Other Files:
        Driver Provider:
         HW Accel Level: Full
              Cap Flags: 0x0
    Min/Max Sample Rate: 0, 0
Static/Strm HW Mix Bufs: 0, 0
 Static/Strm HW 3D Bufs: 0, 0
              HW Memory: 0
       Voice Management: No
 EAX(tm) 2.0 Listen/Src: No, No
   I3DL2(tm) Listen/Src: No, No
Sensaura(tm) ZoomFX(tm): No
               Registry: OK
      Sound Test Result: Not run

---------------------
Sound Capture Devices
---------------------
            Description: Realtek HD Audio Input
  Default Sound Capture: Yes
  Default Voice Capture: Yes
            Driver Name: RtkHDAud.sys
         Driver Version: 5.10.0000.5268 (English)
      Driver Attributes: Final Retail
          Date and Size: 6/14/2006 12:04:12, 4299264 bytes
              Cap Flags: 0x0
           Format Flags: 0x0

            Description: Modem #0 Line Record (emulated)
  Default Sound Capture: No
  Default Voice Capture: No
            Driver Name:
         Driver Version:
      Driver Attributes:
          Date and Size:
              Cap Flags: 0x0
           Format Flags: 0x0

-----------
DirectMusic
-----------
        DLS Path: C:\WINDOWS\SYSTEM32\drivers\GM.DLS
     DLS Version: 1.00.0016.0002
    Acceleration: n/a
           Ports: Microsoft Synthesizer, Software (Not Kernel Mode), Output, DLS, Internal, Default Port
                  Microsoft MIDI Mapper [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal
                  Microsoft GS Wavetable SW Synth [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal
        Registry: OK
     Test Result: Not run

-------------------
DirectInput Devices
-------------------
      Device Name: Mouse
         Attached: 1
    Controller ID: n/a
Vendor/Product ID: n/a
        FF Driver: n/a

      Device Name: Keyboard
         Attached: 1
    Controller ID: n/a
Vendor/Product ID: n/a
        FF Driver: n/a

Poll w/ Interrupt: No
         Registry: OK
Offline Ranger
« Reply #57 - Posted 2009-01-10 23:01:18 »

It says my code is not valid, but i Simply copied it.  Sad
And i saved hte score, just in case u wanna see it.
I had a look at at your replay data at it stop exactly at the 32767 character, so I suspect there is a limitation with whatever browser your using.  What browser are you using?

Edit: Just some hints, it may be helpfull: driving is slow here (compared to my mahcine at work) as my CPU is always at 100%
I had to also simplify the game loop to save bytes, so now it's always calling yield, so it will appear as though the CPU is at 100%, even though it's mostly yielding.  Maybe I should change it to always call sleep(1)?
Offline toasten

Junior Devvie





« Reply #58 - Posted 2009-01-10 23:04:44 »

Thanks for having a look.
Browser:  Opera 9.63 Build 10476

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Will try some other Browser for testing.

Edit:  Submitting works with Firefox.   3rd place (for some time)  Cool
Offline Ranger
« Reply #59 - Posted 2009-01-10 23:06:23 »

hmm... i cant play the game.... the back ground turns white and only spasmodically flashes the track Sad
I was worried effects like this may happen.  I think it's because I'm using a VolatileImage as my screen image.  I tried to just use a BufferedImage, however, on a low spec PC, I just couldn't get the performance (dropped to about 10fps).  I create the VolatileImage in the standard way:
1  
this.createVolatileImage(WIDTH_SCREEN, HEIGHT_SCREEN);

Has anyone else used VolatileImages?

Edit:  I have now removed the use of VolatileImages.  I have also put in a check to see if the CPU is struggling, if it is, it turns off anti-aliasing and quality rendering.  Moogie, did this solve the problem?  Thanks.
Pages: 1 [2] 3 4
  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 (34 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 (66 views)
2014-11-07 19:57:14

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

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

moogie (83 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!