Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (117)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Applet Templates  (Read 1152 times)
0 Members and 1 Guest are viewing this topic.
Offline namrog84

JGO Ninja


Medals: 46
Projects: 4


Keep programming!


« Posted 2012-11-27 02:25:24 »

There used to be some decent basic game loop/render templates on the java4k website and several other places, but all the links seem to be dead.

Any one recommend any particular one?  Is there anything major changed about 1.7 worth noting in a change in the templates(as most I've found are very old)

As was in the 2011, any recommended 2013 applet templates?
http://www.java-gaming.org/topics/applet-templates/21626/view.html


I always have the absolute worst time getting the keyboard/mouse working with any of the templates,  I mean they work, but movement is always super jittery constantly going between slow and fast. It's quite annoying Sad

"Experience is what you get when you did not get what you wanted"
Offline davedes
« Reply #1 - Posted 2012-11-27 05:22:45 »

One of those audio templates crashed on me...

I'm currently using this for audio + per-pixel graphics (it's adapted from various sources). It plays a simple melody and renders a 3D sphere using lambert shading. Ideally it would be better with a fixed framerate.

http://www.java-gaming.org/?action=pastebin&id=321

Online Riven
« League of Dukes »

JGO Overlord


Medals: 800
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #2 - Posted 2012-11-27 11:20:05 »

The main problem with old render loops is that they often don't use AWT / Swing appropriately. Older games like Left4kdead flicker with every frame or don't render anything at all in todays jvms/plugins.

So for posterity, I hope fewer people will be naughty in their AWT code, so that their game is playable in the next five years.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Pages: [1]
  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.

radar3301 (12 views)
2014-09-21 14:33:17

BurntPizza (30 views)
2014-09-20 17:42:18

BurntPizza (22 views)
2014-09-20 16:30:30

moogie (20 views)
2014-09-20 15:26:15

UprightPath (28 views)
2014-09-20 11:14:06

BurntPizza (33 views)
2014-09-18 18:14:18

Dwinin (48 views)
2014-09-12 00:08:26

Norakomi (74 views)
2014-09-10 04:57:51

TehJavaDev (103 views)
2014-09-09 21:39:09

Tekkerue (50 views)
2014-09-08 17:24:56
List of Learning Resources
by Longor1996
2014-08-16 01:40:00

List of Learning Resources
by SilverTiger
2014-08-05 10:33:27

Resources for WIP games
by CogWheelz
2014-08-01 07:20:17

Resources for WIP games
by CogWheelz
2014-08-01 07:19:50

List of Learning Resources
by SilverTiger
2014-07-31 07:29:50

List of Learning Resources
by SilverTiger
2014-07-31 07:26:06

List of Learning Resources
by SilverTiger
2014-07-31 02:54:12

HotSpot Options
by dleskov
2014-07-07 16:59:08
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!