Hey everyone, Im working on this 2D platformer rpg shooter called Virus Effect. I coded it from scratch, physics and all.Check it out at www.VirusEffect.com and tell me what you think.It is an Applet game with MySQL implemented to save games, and all graphics are through Java2D. Create an account to play full version, which includes episodes, enemies, upgradeable weapons, and leveling up with player stat choosing.

Exception in thread "Thread-7" java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) at java.security.AccessController.checkPermission(AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:214) at java.lang.Thread.checkAccess(Thread.java:1263) at java.lang.Thread.setPriority(Thread.java:1013) at TestShooter.run(TestShooter.java:122) at java.lang.Thread.run(Thread.java:619)

locks up here too.If I reload the page, I see a falling player thing, but as soon as it gets close to the ground, it locks up.

It seemed to start running again after I had played around with the console (I was looking for deadlocks in the thread dumps), but when I clicked, it fired a shot and froze immediately before the shot could travel more than a few pixels.

I put up another update, which I believe will get rid of the Thread access exception. I also changed up the start() stop() methods, so hopefully that will fix the frozen in mid air problems. Test please.

If any one knows of a full proof tutorial on applets, I would appreciate the info.

Also I did compile it using the latest Java, is there a better, more widely used version? I thought everyone stayed updated.

Ok I think I've got it this time. I've tested everything with my start() and stop() method, and thats where the problem was with freezing. I'm not sure if this will fix the issue with not having key presses work, but it might. Test demo.

It looks like a pretty well put-together game engine, but unfortunately I can't play it because I don't have a mouse with a scroll wheel, therefore preventing me from switching weapons. It is a bad idea to make a game's controls depend on having certain optional control features, like a scroll wheel or a middle button. You should probably add an alternate way of switching weapons using the keyboard.

Works fine for me (tested on three different machine under XP and Vista). But it's difficult to play this IMHO. Aiming with the mouse while moving with the keys, jumping and crouching at the same time to reach some platforms...the controls are a bit overloaded. Make the player jump higher to make it possible to reach the platforms without dodging...that alone would make it lot better in my opinion.

It seems like the framerate got a bit low inbetween (had a lot of things going on here) and I think that one game loop was enough for the player to fall halfway through the floor. Probably won't happen if I turn off all other things, but still something to have a look at.

I just see the words "Training Grounds" and "Jump over the wall" but am given nothing which I might use to jump over that wall with. I.e., no character/player/person whatever. Are you just mid update and testing it on the server or something?

edit: on second analysis, it appears the game is just locking up, the FPS meter stops changing.

I looked into that exception Markus_Persson and it seems to be a known issue with Java applets, that they can't seem to reproduce. It might have something to do with network stuff also. So there isn't much I can do about it,

I still have one more issue with movement, low fps cause high distances that the movement has to make up for so it goes through walls. Refreshing the page usually fixes it because its usually caused by the initial loading. But if you got stuff going on in the background it will probobly keep falling through the floor until I can figure out a work around.

On a positive note, I added a couple more sounds. I can now continue working on the other features and touching up the sounds and images. Soon i'll be working on enemies.

Well I changed some movement code, so maybe it will fix falling through floors. Works for me when I tried reproducing it. I added "P" to reset the player, just incase the player still falls through.Also potentially fixed stupid mistake that could fix no keys working. I can't be sure.

Updated some weapon sprites, still working on the flamethrower sound. Also updated screen shots on the website.

*Finally got enemies started! Check them out after the training levels.*New sprites

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