Author Topic: JPCT and Applets  (Read 6276 times)

7on

  • Guest
JPCT and Applets
« on: January 18, 2004, 11:54:21 pm »
Hi!

I'm planning to make a little applet game using jpct.
Now at the very beginning, i'm lacking some examles.
Is there some examples/ source code available for
Applets using JPCT?
I'm thankful for every reply.

mfg 7on

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
JPCT and Applets
« Reply #1 on: January 19, 2004, 12:12:43 am »
There are some examples in the API distribution. However, they is no applet example anymore since jPCT0.97, because i decided to remove it. It's code was rather outdated. If you want to, you can still grab 0.96, which contains an applet example, from here: http://www.jpct.net/download/jpctapi_096.zip
Anyway, using jPCT in an applet doesn't really differ from using it in an application...

Anonymous

  • Guest
JPCT and Applets
« Reply #2 on: January 19, 2004, 12:22:28 am »
well thx!
it's just a little time since i've las programmed applets.
so i couldn't manage to convert your examples (fps...)
to applets.
thx for the sources.

7on

  • Guest
JPCT and Applets
« Reply #3 on: January 19, 2004, 12:26:26 am »
just another thing...
does the engine support lightmaps?
and can i use animated 3ds models, or
are they just static?
mfg 7on

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
JPCT and Applets
« Reply #4 on: January 19, 2004, 03:45:17 pm »
No, it doesn't support lightmaps/multitexturing but vertex lighting. You can bake your static lighting into the textures if you want to, but you have to do this yourself. The reason for not supporting lightmaps/multitexturing is performance of the software renderer. It's the price you pay for the flexibility.
About the animation: You can do keyframed animations by either creating the animation in your code (by combining several meshes into an Animation) or by using the MD2-loader to load MD2-models. Using the animation out of a 3DS-file is not supported as it would require a completely different animation framework.

Hope this helps.

BTW: What kind of game are you planning to make?

7on

  • Guest
Type of game
« Reply #5 on: January 19, 2004, 11:11:08 pm »
I'm planning to do a kind of online rpg with social hierarchies, quests, items
and so on.
For two (to four) friends of mine will develop with me (one of them a 3d artist) i think there could be quite nice results.
But the main motivation is to practize java programming with servlets/applets. And i think gamedevelopment is the most exciting way.

mfg 7on