Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
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 / Archived Projects / Sgt PCMan Is it really too hard? on: 2012-01-26 12:55:29
Thanks for the previous advice and to all who have had a go at Sgt PCMan ( Maybe I can ask for a bit more advice and issue a small challenge?

I've had quite a few people try this out and hardly any have been able to complete the experiment. This might be due to boredom or lack of motivation, it does take 25min, but everyone signs-up with their eyes open. However, due to the feedback I got, I suspect it may be due to task difficulty so I've put in a practise phase so participants can get the hang of the keyboard controls. Even so, it has to be said, the completion rate is dismal.

My question, is it really too hard? If so, can you think of a good way to help explain this to a non-gamer so they might be able to pick up the ideas more quickly. Maybe they could play another game with similar controls before starting - I could link them to it from my site.

My challenge, if you would like to try the game, can you complete it 100%? Obviously during development I know how this works so I have a distorted view of the difficulty level. It would be really useful to know that it is possible to play the game to completion when coming at it for the first time.

Chrs, Steve.
2  Games Center / Archived Projects / Re: Sgt PCMan Experiment Game on: 2012-01-19 08:39:00
Well, it is slightly scary, but only slightly for "artistic" effect. I should say though, no game characters, clones or otherwise, were actually hurt in the making of this game  Smiley
3  Games Center / Archived Projects / Sgt PCMan Experiment Game on: 2012-01-18 20:27:34
Hi, I'm an experimental psychologist interested in using games as a medium for the study of behaviour. I've had a go at something which passes as a game (just!) and which should produce results with some scientific value. It is based on well established principles that have been used in traditional laboratory studies of learning over many years. If you'd like to take a look it can be found at At the end there is a box for comments and if you've got anything to say, from a gaming or participant PoV you can add something there or contact me by email at the address on the virtualpsyclab site.

Chrs, Steve

4  Game Development / Newbie & Debugging Questions / Re: applet/jar class not found problem on: 2011-12-28 15:31:01
OK, sorted, using # in the jar file name was causing the problem.
5  Game Development / Newbie & Debugging Questions / applet/jar class not found problem on: 2011-12-28 12:34:04
Hi, this seems to be a common problem but, despite looking at a lot of examples, I'm still stuck. Any help would be much appreciated.

Whenever I try to run my applet from a web page I keep getting the dreaded error

load: class MainExperiment.class not found.
java.lang.ClassNotFoundException: MainExperiment.class
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$ Source)
   at Source)
Exception: java.lang.ClassNotFoundException: MainExperiment.class

It runs fine in Eclipse. So I export it to a jar called we#3.jar with the following contents:


In the same directory as the jar file I have my web page which has the applet code:-

    classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase = ",0,0,5"
    WIDTH = "1024" HEIGHT = "768" >
    <PARAM NAME = CODE VALUE = "MainExperiment.class" >
    <PARAM NAME = ARCHIVE VALUE = "we#3.jar" >
    <param name = "type" value = "application/x-java-applet;version=1.6">
    <param name = "scriptable" value = "false">
            type = "application/x-java-applet;version=1.6" \
            CODE = "MainExperiment.class" \
            ARCHIVE = "we#3.jar" \
            WIDTH = "1024" \
            HEIGHT = "768"
       scriptable = false
       pluginspage = "">
<APPLET CODE = "MainExperiment.class" ARCHIVE = "we#3.jar" WIDTH = "1024" HEIGHT = "768">

Any suggestions for what I'm doing wrong here? Thanks, stegzzz
6  Game Development / Newbie & Debugging Questions / Re: loading mysql connector jar on: 2011-07-31 14:29:11
Ah, OK, I see what you mean SteveyO and Mickelukas. I'll look into URLConnection.

Chrs, Steve.
7  Game Development / Newbie & Debugging Questions / Re: loading mysql connector jar on: 2011-07-30 20:34:41
SteveyO erm, no intention to introduce a security risk, just to optimise the downloading so it can take place at a convenient time in the game rather than cause delays on startup if loaded via the html applet archive tag.

How does the what I'm doing differ and make a security risk?
8  Game Development / Newbie & Debugging Questions / Re: loading mysql connector jar on: 2011-07-30 20:31:16
Thanks Woogley, I'm connected Smiley
9  Game Development / Newbie & Debugging Questions / Re: loading mysql connector jar on: 2011-07-29 19:12:19
Hi, yes BURI.resolve("mysql-connector-java-5.1.14-bin.jar").toURL() does seem to return the correct name. And applying getName() to
Class.forName("com.mysql.jdbc.Driver", true, cl) results in com.mysql.jdbc.Driver which I took to indicate the driver was loaded correctly by forName().

But, still get the error....

10  Game Development / Newbie & Debugging Questions / loading mysql connector jar on: 2011-07-29 16:47:42
Hi, I'm trying to load the mysql connector jar file "on-the-fly" but getting a "no suitable driver" message when I try to get the connection.

I've got an applet sitting on my server along with the mysql jar file and when I run the applet from a web page with the jar named as an archive it all works fine. But, to shorten the load time I want to load the mysql jar later in the program while the user is paused reading some instructions. So here's the code:

URL BURL=getCodeBase();
URLClassLoader cl = null;
cl = new URLClassLoader(new URL[] {BURI.resolve("mysql-connector-java-5.1.14-bin.jar").toURL()});
Class.forName("com.mysql.jdbc.Driver", true, cl);
//Class.forName("com.mysql.jdbc.Driver", true, cl).newInsance();
Connection C=null;

The comment lines are among variations I've tried but I keep ending with the same problem when getConnection is called "no suitable driver found".

Any ideas?

Thanks, Steve
11  Games Center / Archived Projects / Re: Site review screen capture applet (not a game) on: 2011-05-13 18:51:20
 Smiley Thanks KLite did the trick, now I can edit my screen capture with movie maker, just the ticket!
12  Games Center / Archived Projects / Re: Site review screen capture applet (not a game) on: 2011-05-13 17:00:51
Hi, tried this and it records pretty good but wanted to edit using movie maker. MM cannot import due to lack of codec, so I installed the xvid codec you referred to but still no joy. Any ideas?

Thanks, Steve
Pages: [1]
ivj94 (583 views)
2018-03-24 14:47:39

ivj94 (48 views)
2018-03-24 14:46:31

ivj94 (374 views)
2018-03-24 14:43:53

Solater (62 views)
2018-03-17 05:04:08

nelsongames (109 views)
2018-03-05 17:56:34

Gornova (151 views)
2018-03-02 22:15:33

buddyBro (693 views)
2018-02-28 16:59:18

buddyBro (92 views)
2018-02-28 16:45:17

xxMrPHDxx (493 views)
2017-12-31 17:17:51

xxMrPHDxx (733 views)
2017-12-31 17:15:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!