Java-Gaming.org
Java4K - to go         Javadoc:
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources or peek at the official java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 12
  Print  
  Virus Effect (2D Platformer RPG Shooter)  (Read 45264 times)
0 Members and 1 Guest are viewing this topic.
Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« on: 2008-05-13 22:01:13 »

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.

-Features coming soon.
  • NPCs and Missions
  • Dual Wielding
  • Melee Weapons
  • Customizations: Equipment

-Known issues
  • Going down slopes, not always able to jump.

Virus Effect
YouTube Video of Game Play







"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5199
Medals: 46


Mentally unstable, best avoided.


« Reply #1 on: 2008-05-14 03:16:33 »

Locks up here. Initially don't see player, saw a flash and then nothing responds.

Kev

Offline gouessej

JGO Kernel
*****

Posts: 3429
Medals: 26


TUER


« Reply #2 on: 2008-05-14 07:10:21 »

Hi!

I got this but it works fine:

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)

Julien Gouesse
Games published by our own members! Go get 'em!
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #3 on: 2008-05-14 08:06:50 »

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.

Play Minecraft!
Offline SimonH

JGO Strike Force
***

Posts: 883
Medals: 13



« Reply #4 on: 2008-05-14 09:14:23 »

Us java 1.5 people aren't too happy either;

1  
2  
java.lang.UnsupportedClassVersionError: Bad version number in .class file
   at java.lang.ClassLoader.defineClass1(Native Method)

Stickmen Wars 2 is in development.
Meanwhile try Bloodridge
Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #5 on: 2008-05-14 22:05:26 »

Well sorry for all the errors, I updated the demo. I changed a couple of things that hopefully fix everything. But I can't be sure because I don't get any problems here. Tell me more.

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline Ru5tyNZ

JGO n00b
*

Posts: 34



« Reply #6 on: 2008-05-14 22:29:10 »

java 1.6, xp.

Key input wouldnt respond for me.
Offline gouessej

JGO Kernel
*****

Posts: 3429
Medals: 26


TUER


« Reply #7 on: 2008-05-15 03:34:54 »

Well sorry for all the errors, I updated the demo. I changed a couple of things that hopefully fix everything. But I can't be sure because I don't get any problems here. Tell me more.
I got the same exception but it still works fine under Mandriva Linux 2007, Java 1.6 update 4. I got 62 FPS.

Julien Gouesse
Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #8 on: 2008-05-15 05:14:32 »

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.

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline CommanderKeith

JGO Wizard
****

Posts: 1447
Medals: 9



« Reply #9 on: 2008-05-15 05:17:28 »

i can't see any player, and the keys don't do anything after I press space bar. The web site looks quite nice though.

Java 6 update 10, Win XP

Games published by our own members! Go get 'em!
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #10 on: 2008-05-15 06:35:58 »

Still hangs for me.

Play Minecraft!
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 7800
Medals: 77


Eh? Who? What? ... Me?


« Reply #11 on: 2008-05-15 08:00:18 »

Same here.

Cas Smiley

Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #12 on: 2008-05-15 17:08:29 »

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.

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline ACE91

JGO n00b
*

Posts: 13



« Reply #13 on: 2008-05-15 18:55:57 »

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.
Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #14 on: 2008-05-15 20:00:44 »

You're right about that. So I added 1-5 keyboard weapon switching. Suggestions appreciated Smiley Project X

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #15 on: 2008-05-16 03:28:15 »

Nope, still hangs, both in IE and FireFox

Play Minecraft!
Offline elix

JGO n00b
*

Posts: 21



« Reply #16 on: 2008-05-16 07:04:39 »

same,
after I press space, the game screen comes but hangs there
Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #17 on: 2008-05-16 15:19:01 »

I just put up a version that should work with JVM 1.5

Do you guys get any output in the java console?

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline EgonOlsen

JGO Strike Force
***

Posts: 810
Medals: 6



« Reply #18 on: 2008-05-16 15:22:12 »

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.

Offline SimonH

JGO Strike Force
***

Posts: 883
Medals: 13



« Reply #19 on: 2008-05-16 16:26:15 »

Yup, works fine now on 1.5... but what are you supposed to do in the game?  Huh

Stickmen Wars 2 is in development.
Meanwhile try Bloodridge
Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #20 on: 2008-06-03 05:32:13 »

There have been many updates since the last post, your thoughts are much appreciated. Project X

There aren't any enemies yet, but once I finish adding sounds i'll start working on enemies. Current v1.21

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline Markus_Persson

JGO Kernel
*****

Posts: 2092
Medals: 10


Mojang Specifications


« Reply #21 on: 2008-06-03 07:03:22 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
Cookie-service är ej tillgänglig - använd cache för att bestämma "Cookie"
Cookie-service är ej tillgänglig - använd cache för att bestämma "Cookie"
Exception in thread "Thread-8" java.lang.NullPointerException
   at sun.plugin.util.AnimationPanel.createTranslucentImage(Unknown Source)
   at sun.plugin.util.AnimationPanel.createGradientShapeImage(Unknown Source)
   at sun.plugin.util.AnimationPanel.initBackground(Unknown Source)
   at sun.plugin.util.AnimationPanel.preloadResources(Unknown Source)
   at sun.plugin.util.AnimationPanel.doPaint(Unknown Source)
   at sun.plugin.util.AnimationPanel.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
java.lang.InterruptedException
Loading Maps/Tutorial.data map.
Loading Maps/Tutorial.data map.
Loading Maps/Tutorial.data map.
Thread didn't sleep.
Loading Maps/Tutorial.data map.

Play Minecraft!
Offline jojoh

JGO Ninja
***

Posts: 541
Medals: 6


games4j.com


« Reply #22 on: 2008-06-03 10:34:06 »

I kept falling through the floor  Shocked

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.

Offline nva225

Sr. Member
**

Posts: 298



« Reply #23 on: 2008-06-03 11:33:12 »

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.
Offline ChrisM

JGO Neuromancer
****

Posts: 1176
Medals: 17


END OF LINE.


« Reply #24 on: 2008-06-03 15:58:28 »

Works fine for me!  Neat little particle effects, good inertia on the ice, etc.  OS X 10.5 & Firefox.

Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #25 on: 2008-06-04 04:20:45 »

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,  Undecided

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.

I love all the feedback, any info is good info. Thanks to all.

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline kevglass
« League of Dukes »

JGO Kernel
*****

Posts: 5199
Medals: 46


Mentally unstable, best avoided.


« Reply #26 on: 2008-06-04 19:28:07 »

Still locking up here - guess I'm just unlucky. I see the brown blocks of the level and some messages saying to jump over it - but no player or anything. None of the controls seem to do anything.

Sorry Sad

Kev

Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #27 on: 2008-06-05 03:44:24 »

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

*Current v1.28

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline Corvinex

Full Member
**

Posts: 207


Work Hard, Go Pro.


« Reply #28 on: 2008-06-16 16:13:17 »

I changed some code, and I would appreciate if you guys could run the new demo to see if it works. If it doesn't run please inform me.

v1.29

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline Simeon

JGO n00b
*

Posts: 20



« Reply #29 on: 2008-06-16 17:19:22 »

Yeah, it works here.. at first I thought it didn't work because loading took some time (with a white screen) but after that, I could jump and shoot around.
Pages: [1] 2 3 ... 12
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.218 seconds with 20 queries.