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   
  Show Posts
Pages: [1]
1  Games Center / 4K Game Competition - 2011 / Re: Can't get anything to work on a mac on: 2010-12-19 12:54:27
works now on my mac Smiley
2  Games Center / 4K Game Competition - 2011 / Re: Can't get anything to work on a mac on: 2010-12-18 11:20:18
still white only
3  Games Center / 4K Game Competition - 2011 / Re: 4Kanabalt on: 2010-12-14 22:14:19
works with safari but not firefox and firefox now!

yeaH! i played this on iphone Smiley
4  Games Center / 4K Game Competition - 2011 / Re: Can't get anything to work on a mac on: 2010-12-14 22:05:43
you could try enabling/disabling out of process applets to see if it helps.

does not help...

there are working applets, maybe the coders of these applets could tell about how they make their apps mac-compatible!!?

working on my mac
4Kanabalt (what went wrong in firefox?)
CraftCraft
Mage Wars
Oh My Glob!
Before Z
ShrinCube
Graveyard 4k

error
Shift4k
Castlevania 4K
Super Mario Land 4K
Demon Attack 4K
Keystone Kapers 4K
Gradius 4K
Out Run 4K (please make it work on mac!!!)
Wolfenstein 4K
Jackal 4K

5  Games Center / 4K Game Competition - 2011 / Re: Can't get anything to work on a mac on: 2010-12-14 19:59:19
same problem here, almost all games dont work on my mac...

core2duo
3gb ram
snow leopard
java 1.6
firefox and safari


6  Games Center / 4K Game Competition - 2011 / Re: 4Kanabalt on: 2010-12-14 19:50:53
hi

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

regards
7  Games Center / 4K Game Competition - 2011 / Re: Before Z on: 2010-12-14 19:26:05
hi

i am on mac with snow leopard, java1.6, safari and firefox
both of ur applets are white only for me...?

regards
8  Games Center / 4K Game Competition - 2010 / Re: flux4k on: 2010-02-28 23:18:48
soundtrack update: music by heinrich mader (heinrichmader.com)
9  Games Center / 4K Game Competition - 2010 / Re: flux4k on: 2009-12-05 13:07:28
does anyone have problems with the controls?
seems that on some Windows-Systems Arrow-Keys are not responding all the time?
please tell me if so!
10  Games Center / 4K Game Competition - 2010 / Re: pack200 applet on: 2009-12-02 20:34:26
Hm... I have JDK 1.5.14 installed, how can I run the Applets with the 1.5.x browser plug-in? It seems to be gone from Firefox's Plugins list. I need to download and reinstall the 1.5 jdk?

maybe with appletviewer of jdk1.5?
11  Games Center / 4K Game Competition - 2010 / Re: pack200 applet on: 2009-12-02 19:50:37
is there a java-plugin for mac?
testing my version of java for applets gives me java 1.5.0_19
there is no java 1.6 for my machine, but maybe a plugin?


java applets compiled 1.6 will not work on any apple powerpc
nor will they work for most leopard systems
only snow-leopard can handle 1.6 applets

compiling with javac option -source 1.5 would help,
but dont know if pack200 will work with 1.5?
12  Games Center / 4K Game Competition - 2010 / Re: pack200 applet on: 2009-12-02 19:12:47
'dont reach the square' doesnt work for me (Applet G notloaded)

machine:
Apple Powerbook G4
OSX 10.4.11 (fully updated)
Java 1.5.0_19 (fully updated)
13  Games Center / 4K Game Competition - 2010 / Re: flux4k on: 2009-12-02 14:29:51
sure, if someone wants to know how it is done, i will explain!
just tell me what you wanna know exactly

graphics:
interpolated raytracing
(rotating) texturemapping
realtime algorithmic texture
precalculated fractal textures
lighting effects

sound:
instruments (sound, mix, hall, melody)
patterns (0-8 instruments playing at same time)
track (chain of patterns)
14  Games Center / 4K Game Competition - 2010 / flux4k on: 2009-12-01 19:59:54
flux4k submitted

please tell me, if you have sound-playback-troubles (or other troubles)
comments are welcome as well of course

hope you enjoy it!!!
15  Games Center / 4K Game Competition - 2010 / applet and osx on: 2009-11-29 13:55:22
just some notes concerning java and osx:
apple no longer supports java for all mac users
powerpc macs only can run java 1.4 automatically (1.5 if user installs it manually)
32bit intel macs run java 1.5 but NOT 1.6
64bit intel macs run also java 1.6 (if manually installed)

so java version 1.4 is safe to run on any mac
with java 1.5 some mac users will be unable to get the games running
java 1.6 games are unplayable for most mac users
16  Games Center / 4K Game Competition - 2009 / Re: Links, tips and goodies on: 2008-12-07 20:35:33
think you'll find if the user refreshes the web page, the init method will be called again, kicking off another thread, and the old thread will continue to run.
Also, I think you want to override the paint method, not the update method.
Finally, you may like to look at using VolatileImages.
...but I could be wrong.

You can override update-method to ensure repaint is only done when you call repaint().
paint-method is called more often (when os calls the applet to repaint eg)
17  Games Center / 4K Game Competition - 2009 / Re: Links, tips and goodies on: 2008-12-07 19:23:39
I have overridden the init, destroy, processKeyEvent, and paint, methods.  I have also implemented the run method from the Runnable interface.  The init method starts my game loop thread.  The destroy method sets a boolean flag to tell the run method to stop.  It is a _lot_ of overhead, and I am hoping there is a more efficient way?

this is my best working applet-structure:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
public class Name extends Applet implements Runnable {
   Image I;
   public void init() { (new Thread(this)).start(); }
   public void update(Graphics g) { g.drawImage(I,0,0,this); }
   public void run() {
      while(true) {
         // code here
        repaint();
         Thread.sleep(30);
      }
   }
}

for double-buffering use another Image (eg. J) and paint everything
to J and at the end draw J to I, this should work quite well.
maybe you can replace the update-method too, by replacing
repaint() with getGraphics().drawImage(I,0,0,null), if so you
dont need I to be global, but I have not tested this...
18  Games Center / 4K Game Competition - 2009 / Re: Links, tips and goodies on: 2008-12-07 16:03:16
Quick question if it's ok.

In an Applet, is it most efficient to start your game loop from the init method, and stop it from the destroy method?  I would like to save some bytes and not worry about the destroy method, however, if I do this, the game starts up multiple game loops if the page is refreshed.

Thanks!

There are several ways to make an applet run.
How does your Applet look like? Which methods have you written?
I never used the destroy method, but Applet needs more overhead than Frame, but maybe I am wrong?
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

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 (31 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

ctomni231 (60 views)
2014-07-18 06:55:21
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!