Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

My Game

0 views
Skip to first unread message

Thorsten Kiefer

unread,
Dec 22, 2009, 9:07:17 AM12/22/09
to
Hi,
please have a look at my game - it's still under development.

http://www.tokis-edv-service.de/index.php/beispiele/spiel-1

Best regards
Thorsten

Knute Johnson

unread,
Dec 22, 2009, 12:22:48 PM12/22/09
to

Very nice. I'm looking at it with Firefox and Windows XP. It stops
periodically for about 1 second and then continues. I don't know what
causes that.

--

Knute Johnson
email s/nospam/knute2010/


--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access

David Lamb

unread,
Dec 22, 2009, 3:16:43 PM12/22/09
to
Knute Johnson wrote:
> On 12/22/2009 6:07 AM, Thorsten Kiefer wrote:
>> please have a look at my game - it's still under development.
>> http://www.tokis-edv-service.de/index.php/beispiele/spiel-1
>
> Very nice. I'm looking at it with Firefox and Windows XP. It stops
> periodically for about 1 second and then continues. I don't know what
> causes that.
>

It's a Java applet, so that might be a garbage collection pause.

Knute Johnson

unread,
Dec 22, 2009, 3:19:29 PM12/22/09
to

It's pretty long.

David Lamb

unread,
Dec 22, 2009, 3:36:41 PM12/22/09
to
Knute Johnson wrote:
> On 12/22/2009 12:16 PM, David Lamb wrote:
>> It's a Java applet, so that might be a garbage collection pause.
>
> It's pretty long.

It may be something else, then. I have no current statistics on how long
a GC takes; maybe they're a lot faster than in the Bad Old Days.

jlp

unread,
Dec 24, 2009, 5:45:07 AM12/24/09
to
David Lamb a �crit :
Force the GC strategy to CMS in your JRE Plug-In, so time pause is minimal.
A list of options :
http://blogs.sun.com/watt/resource/jvm-options-list.html

tricky

unread,
Jan 19, 2010, 5:06:12 PM1/19/10
to
its better to not care about the gc at all.
just use more static and table object management instead of dynamic allocation. look at java quake2 at www.bytonic.de to see how games can be implemented in java.

---
frmsrcurl: http://compgroups.net/comp.lang.java.gui/My-Game

Lew

unread,
Jan 19, 2010, 8:26:56 PM1/19/10
to
tricky wrote:
> its better to not care about the gc at all.
> just use more static and table object management instead of dynamic allocation.

I'm not sure I understand you correctly, but if you are advocating use of
static and other global variables and to avoid creating new instances, then
you are advocating antipatterns in Java.

What do you mean by "static and table object management"?

> look at java [sic] quake2 [sic] at www.bytonic.de to see how games
> can be implemented in java [sic].

Sometimes I get this game to work, sometimes it defeats me. There's a lot of
setup and futzing around to do to get it to build right, for example. I
haven't looked at the source to see if they abuse static variables as I
interpret you to suggest.

--
Lew

0 new messages