Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (497)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 12
  ignore  |  Print  
  Virus Effect (2D Platformer RPG Shooter)  (Read 79872 times)
0 Members and 1 Guest are viewing this topic.
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Posted 2008-05-14 04: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

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2008-05-14 09:16:33 »

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

Kev

Offline gouessej

« In padded room »



TUER


« Reply #2 - Posted 2008-05-14 13: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)

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Markus_Persson

JGO Wizard


Medals: 12
Projects: 19


Mojang Specifications


« Reply #3 - Posted 2008-05-14 14: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!
Online SimonH
« Reply #4 - Posted 2008-05-14 15: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)

People make games and games make people
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #5 - Posted 2008-05-15 04: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

Senior Newbie





« Reply #6 - Posted 2008-05-15 04:29:10 »

java 1.6, xp.

Key input wouldnt respond for me.
Offline gouessej

« In padded room »



TUER


« Reply #7 - Posted 2008-05-15 09: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.

Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #8 - Posted 2008-05-15 11: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
« Reply #9 - Posted 2008-05-15 11: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! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Markus_Persson

JGO Wizard


Medals: 12
Projects: 19


Mojang Specifications


« Reply #10 - Posted 2008-05-15 12:35:58 »

Still hangs for me.

Play Minecraft!
Offline princec

JGO Kernel


Medals: 282
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #11 - Posted 2008-05-15 14:00:18 »

Same here.

Cas Smiley

Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #12 - Posted 2008-05-15 23: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

Senior Newbie





« Reply #13 - Posted 2008-05-16 00: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

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #14 - Posted 2008-05-16 02: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 Wizard


Medals: 12
Projects: 19


Mojang Specifications


« Reply #15 - Posted 2008-05-16 09:28:15 »

Nope, still hangs, both in IE and FireFox

Play Minecraft!
Offline elix

Senior Newbie





« Reply #16 - Posted 2008-05-16 13:04:39 »

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

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #17 - Posted 2008-05-16 21: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
« Reply #18 - Posted 2008-05-16 21: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.

Online SimonH
« Reply #19 - Posted 2008-05-16 22:26:15 »

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

People make games and games make people
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #20 - Posted 2008-06-03 11: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 Wizard


Medals: 12
Projects: 19


Mojang Specifications


« Reply #21 - Posted 2008-06-03 13: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 Knight


Medals: 5
Projects: 7


games4j.com


« Reply #22 - Posted 2008-06-03 16: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

Junior Member





« Reply #23 - Posted 2008-06-03 17: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 Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #24 - Posted 2008-06-03 21:58:28 »

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

Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #25 - Posted 2008-06-04 10: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

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #26 - Posted 2008-06-05 01: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

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #27 - Posted 2008-06-05 09: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

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #28 - Posted 2008-06-16 22: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

Senior Newbie





« Reply #29 - Posted 2008-06-16 23: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
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (12 views)
2014-04-15 18:08:23

BurntPizza (11 views)
2014-04-15 03:46:01

UprightPath (24 views)
2014-04-14 17:39:50

UprightPath (10 views)
2014-04-14 17:35:47

Porlus (27 views)
2014-04-14 15:48:38

tom_mai78101 (49 views)
2014-04-10 04:04:31

BurntPizza (108 views)
2014-04-08 23:06:04

tom_mai78101 (208 views)
2014-04-05 13:34:39

trollwarrior1 (176 views)
2014-04-04 12:06:45

CJLetsGame (182 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
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!