giacobua
Senior Newbie 
|
 |
«
Posted
2009-07-10 17:17:18 » |
|
Hi all! Here is my version of pac-man!!! space = start and arrows to move a joystick button = start and x,y axis to move f11=toggle fullscreen, default on f = toggle fps, default off d = toggle debug mode, default off: shows the frame duration in yellow, the display time in orange and the update time in red when fps are on v = toggle vsync, default on (i strongly recommend to enable vsync in the video card option, and don't touch the v key, for very smooth movements. And if you are really a pac-maniac use a crt monitor!!!) esc = quit enjoy and send feedback http://www.cortegaia.com/pacman/pacman.jnlp
|
|
|
|
gouessej
|
 |
«
Reply #1 - Posted
2009-07-11 08:34:04 » |
|
Hi! It is a nice game. If you have already done it, put it into the Java Game Tome 
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #2 - Posted
2009-07-11 09:06:00 » |
|
I made it just to make the experience of developing a complete game in java, with jogl joal and jinput. And i put it here because i want to test the online score system. The server is running on my pc and is visible through dyndns.
I'd like to share it with the whole world but i don't know if there are copyrights on pac-man.
|
|
|
|
Games published by our own members! Check 'em out!
|
|
systat
Senior Newbie  Projects: 2
|
 |
«
Reply #3 - Posted
2009-07-11 13:15:58 » |
|
I see splash screen and then this Failed to validate certificate. The application will not be executed. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: java.io.IOException: Response is unreliable: its validity interval is out-of-date at sun.security.validator.PKIXValidator.doValidate(Unknown Source) at sun.security.validator.PKIXValidator.doValidate(Unknown Source) at sun.security.validator.PKIXValidator.engineValidate(Unknown Source) at sun.security.validator.Validator.validate(Unknown Source) at sun.security.validator.Validator.validate(Unknown Source) at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source) at com.sun.javaws.security.AppPolicy.grantUnrestrictedAccess(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source) at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source) at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) at com.sun.javaws.Launcher.launch(Unknown Source) at com.sun.javaws.Main.launchApp(Unknown Source) at com.sun.javaws.Main.continueInSecureThread(Unknown Source) at com.sun.javaws.Main$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.security.cert.CertPathValidatorException: java.io.IOException: Response is unreliable: its validity interval is out-of-date at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source) at sun.security.provider.certpath.PKIXCertPathValidator.doValidate(Unknown Source) at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source) at java.security.cert.CertPathValidator.validate(Unknown Source) ... 17 more Caused by: java.io.IOException: Response is unreliable: its validity interval is out-of-date at sun.security.provider.certpath.OCSPResponse$SingleResponse.<init>(Unknown Source) at sun.security.provider.certpath.OCSPResponse$SingleResponse.<init>(Unknown Source) at sun.security.provider.certpath.OCSPResponse.<init>(Unknown Source) at sun.security.provider.certpath.OCSPChecker.check(Unknown Source) ... 21 more |
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #4 - Posted
2009-07-11 18:36:34 » |
|
Ummm... The jarsigner output is: The signer certificate will expire within six months. And i signed it today... Is there anybody that knows what that exception means? 
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #5 - Posted
2009-07-15 16:25:46 » |
|
I disabled the v,f end d keys. Only f11 and esc are now enabled.
|
|
|
|
elias4444
|
 |
«
Reply #6 - Posted
2009-07-15 22:41:01 » |
|
Nice remake! I would love it if it had keyboard controls. 
|
|
|
|
teletubo
|
 |
«
Reply #7 - Posted
2009-07-16 19:43:02 » |
|
very neat ... but I would definetly enable keyboard input . Mouse control is very awkward and it happens very often that it takes a turn I didn't mean to ... other than that, very nice. Congrats !
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #8 - Posted
2009-07-17 12:12:55 » |
|
I improved joystick controls. Now all the devices are scanned and you can start with a device then continue with the other, just press a button to use joystick... Also added rz and z axis for directions... The keyboard input device is still there, just press space to start and arrows to move the mouse imput device is no longer enabled
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
teletubo
|
 |
«
Reply #10 - Posted
2009-07-17 14:50:21 » |
|
Sorry, I didn't see i was possible to use keyboard .
but another comment, I don't think you should install an icon in the desktop and the start menu . Maybe you should ask the user if he wants it . I personally don't like to have a million icons in my desktop/start menu .,
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #11 - Posted
2009-07-18 09:38:51 » |
|
In the jnlp file you can specify if the icon should be added to the start menu and/or to the desktop. I don't know if it's possible how to make the jnlp let the user choose... Anyone can tell me how to do that? It seems that I need further study about jnlp...
|
|
|
|
h3ckboy
|
 |
«
Reply #12 - Posted
2009-07-19 06:48:00 » |
|
In the jnlp file you can specify if the icon should be added to the start menu and/or to the desktop. I don't know if it's possible how to make the jnlp let the user choose... Anyone can tell me how to do that? It seems that I need further study about jnlp...
it is an option in the users jdk. It doesnt have to do with the jnlp. it is in the settings section. It just is a option ot ask/never allow/always allow
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #13 - Posted
2009-07-19 09:24:33 » |
|
And where this option can be set?
|
|
|
|
h3ckboy
|
 |
«
Reply #14 - Posted
2009-07-19 12:09:09 » |
|
control panel > advanced > shortcut creation
hope this helps.
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #15 - Posted
2009-07-19 17:14:04 » |
|
For ubuntu users: System -> Preferences -> Sun Java 6 Plugin Control Panel
|
|
|
|
chunkycheese
Innocent Bystander
|
 |
«
Reply #16 - Posted
2009-07-21 22:58:40 » |
|
This game is great!
How long did it take to write it?
Is the source code available? I'm just getting into Java gaming (a newless clubie?)
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #17 - Posted
2009-07-24 05:00:44 » |
|
1 month + some time for debugging and deploying. The source is not public. There is an online score system and the client must not to be modified. If you are interested in some part of the game, this is the place where you can ask 
|
|
|
|
shatterblast
Senior Newbie 
Noobier Than Thou
|
 |
«
Reply #18 - Posted
2009-07-24 06:48:11 » |
|
The game works well in my Linux environment. It seems like a faithful if slow translation of the originals in the early 1980s. I know there is no desire for exposing code, but may I ask what library you chose? JOGL by chance?
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #19 - Posted
2009-07-24 15:58:25 » |
|
hi I use jogl joal and jinput. It seems like a faithful if slow translation of the originals in the early 1980s. Some days was spent to study ghost psychology and game speeds from the original, i used a timer while playing to measure times in many lvl  Do you mean slow refresh rate? Tell me your pc configuration plz... I have best results on my old pc with a Athlon 1300Mhz processor, a Ati x800 graphic card and a CRT monitor with 100hz of refresh rate. With this configuration i have 100 frames per second and i use almost all the cpu.
|
|
|
|
shatterblast
Senior Newbie 
Noobier Than Thou
|
 |
«
Reply #20 - Posted
2009-07-24 17:06:38 » |
|
hi I use jogl joal and jinput.
My guess would be that your software uses a version of JME? I ask because I'm starting to explore libraries myself. At the moment, I use LWJGL, but I start to consider JOGL again. Some days was spent to study ghost psychology and game speeds from the original, i used a timer while playing to measure times in many lvl  Do you mean slow refresh rate? Tell me your pc configuration plz... The refresh rate seemed fast. It maybe hit at least the 50 FPS mark. I meant the game play's pace. The AI also appeared about twice as aggressive in chasing the player-controlled character than in much older versions. The classic style use to launch an accelerated game where the player's character could reach any cornering edge of the screen in less than 3 seconds, but the ghosts had a limit placed on the pursuit AI that grew in difficulty as levels became faster. It probably just performed the AI routine for the route adjustment with increased frequency as the levels grew in number. In this game, it seems reversed where the ghosts chase better early on, but the slow pace allows for an easier opportunity to take one's time. Modern public arcade versions that also offer the Galaga shooter tend to mix both quick pace along with relatively high AI aggression.
|
|
|
|
Cero
|
 |
«
Reply #21 - Posted
2009-07-24 18:36:19 » |
|
WinXp Sp2, AMD ATI 32 bit machine 1024 MB DDR RAM standard PCI 5.1 Soundcard
I dont get sound, other than that everything works fine
|
|
|
|
|
Cero
|
 |
«
Reply #23 - Posted
2009-07-25 10:49:53 » |
|
still no sound 
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #24 - Posted
2009-07-25 10:55:47 » |
|
The ghosts ai in this game is the same for each lvl. What is different is the speed. Every lvl has a table with start and max values of speeds for each ghost, and duration of blue, scatter and attack mode. The values in the table are not proportional with the lvl number but as i measured. Of course i adjusted all to reach the max funny playability. 
|
|
|
|
giacobua
Senior Newbie 
|
 |
«
Reply #25 - Posted
2009-07-25 11:31:12 » |
|
Hi Cero I just tried on a winxp with 8.1 audio system and it works fine. I saw that the oalinst file didnt install the alut dll, that seems not needed... But you can try to download it from http://connect.creativelabs.com/openal/Downloads/ALUT/freealut-1.1.0-bin.zipIn the zip there is the alut.dll and you can try to copy it in your dll dir. In the zip there are 2 examples. To make them work i copied it their dir.
|
|
|
|
|