Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
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 4 ... 12
  ignore  |  Print  
  Virus Effect (2D Platformer RPG Shooter)  (Read 84791 times)
0 Members and 1 Guest are viewing this topic.
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #30 - Posted 2008-06-21 07:06:19 »

Hey everyone,

I know this game hasn't worked in the past for some reason. I found out that one of my computers couldn't run the game, it gave me the same errors that showed up on other computers that caused the freeze. So now I finally found an error that got it working on that computer. So it should work now.

Please test and give me an update. v1.31

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Offline DzzD
« Reply #31 - Posted 2008-06-21 08:29:21 »

wrork verywell here, nice game. but very hard for me  Undecided, put some sprites plz! then it would be really nice game.

Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #32 - Posted 2008-07-28 23:23:04 »

Hey everyone, I updated the first post.

Project X v1.36

I added player sprites to the game and a few other changes to the game play experience. Most of it is under the hood stuff which is getting ready for a different weapon system, and an economic system. More details are on the site news.

You know have to create a free account to play the full version.

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline wrAthchild

Senior Newbie





« Reply #33 - Posted 2008-07-29 23:16:11 »

Just tried the Training feature now. Impressive work! The grenade launcher recoil feeling is very nice Smiley

/ Anders
Offline viwoj

Senior Newbie





« Reply #34 - Posted 2008-08-05 08:56:20 »

Thanks nice game

Offline zammbi

JGO Coder


Medals: 4



« Reply #35 - Posted 2008-08-15 03:08:14 »

Got this on Linux:

Quote
java.lang.UnsupportedClassVersionError: Bad version number in .class file
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:591)
   at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
   at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1815)
   at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
   at sun.applet.AppletPanel.run(AppletPanel.java:326)
   at java.lang.Thread.run(Thread.java:595)

Current project - Rename and Sort
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #36 - Posted 2008-08-15 09:30:23 »

Thanks for testing. I believe the problem was the build you played was when I was messing with Xlint and I forgot to set it back to jvm 1.5. So it should work for you now.

There are still a few known issues. A bug with initial game play has been rampant, and i've been looking for it for a while. I'll get it sooner or later. Another issue is sometimes when spawning in the room after some gameplay causes a similar freeze up. And currently the gun switching with same guns is glitchy, but this code is going to be changed anyways to prepare for weapon upgrades.

More testing would be appreciated. Thanks.
-New RPG elements v1.44

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

Junior Member





« Reply #37 - Posted 2008-08-15 13:58:01 »

I'm afraid it seems the game locks up on me as soon as I click to start the training. I.e., all I see is the grey pillars of the starting area with white background, no guy in sight. The FPS counter seems locked too.

Interestingly enough, if I change focus away from the window it seems as though it can register this and brings it to the "pause" overlay (but then when I click it does not bring me back into the game).
Offline gouessej
« Reply #38 - Posted 2008-08-15 17:33:56 »

It works fine for me  Grin It is more and more interesting. Keep it up.

Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #39 - Posted 2008-08-15 17:38:46 »

Thanks, will do.

Ok I figured out the bug that occurs when starting the game and nothing shows up but the map. To fix it you have to close everything that you have open... then play the game. Does anybody know why this would be necessary, am I using too much of something ram? cpu?

I use a lot of linked lists for all objects, effects, and maps. I also use the clear method when changing from map to map. Is there a way to track what the game uses, what is cache and garbage collect?

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #40 - Posted 2008-08-15 17:45:46 »

Thanks, will do.

Ok I figured out the bug that occurs when starting the game and nothing shows up but the map. To fix it you have to close everything that you have open... then play the game. Does anybody know why this would be necessary, am I using to much of something ram? cpu?

I use a lot of linked lists for all objects, effects, and maps. I also use the clear method when changing from map to map. Is there a way to track what the game uses, what is cache and garbage collect?
You could show us your source code, it might be more efficient to help you. darkprophet found a big bug in TUER when I explained to him how I had used VBOs. I hope we can help you. I think it is a network problem, I can analyse the trace I get in the java console. You should use a cache, load the data once for all for example.

Offline nva225

Junior Member





« Reply #41 - Posted 2008-08-15 18:13:39 »

Hmm maybe I'll try it later then, unfortunately I tend to have a lot of things open (I do have eclipse and another java application running a large amount of the time?) but I don't really want to close them if I can help it. So more likely I'll just find another computer later, actually.

No idea really why that would be necessary though? Unless you somehow made your threads so low priority that they just... stopped? Could you try affecting the priority on them? (honestly I don't really know what I'm talking about though, I've never seen an issue like this before).

Glhf?
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #42 - Posted 2008-08-16 18:14:45 »

I can't put up all the source code, some has network passwords and stuff. I don't believe it has to do with the thread, I think I just use up too much of something. All the newer model computers I test the game on work fine, but on some older ones it has the initial freeze, unless everything else is closed.

I'll start looking into cache code.

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

JGO Coder


Medals: 4



« Reply #43 - Posted 2008-08-18 05:44:47 »

Still haven't able to get this game working yet on windows.
It's stuck at
Quote
Loading Maps/Training.data map.
I have all my windows closed.

Current project - Rename and Sort
Offline viwoj

Senior Newbie





« Reply #44 - Posted 2008-08-18 07:44:21 »

ok man ...

Offline RXM9600

Junior Newbie





« Reply #45 - Posted 2008-09-04 03:01:45 »

game has many new updates and it should work for everyone now, go check it out !  Wink
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #46 - Posted 2008-09-08 23:49:57 »

Yes the error is fixed. The problem was that if the elasped time got high enough the game would freeze due to one of the oldest methods I had. So it only occured in computers that were slow, or the network was to slow connecting to the MySQL database.

But anyways its fixed!  Grin Thanks for everyones' help. There are a couple of new things, and I would love to hear from those who haven't tried it yet.

I'm currently working on a map editor for my map maker to make maps, its almost done. After that i'm gonna work on the Shop where you will be able to purchase weapons, player upgrades, and gun mods using credx.

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

JGO Coder


Medals: 4



« Reply #47 - Posted 2008-09-09 06:00:18 »

Nice works well on this linux computer. Ill test it on my home computer(windows) later.

Current project - Rename and Sort
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #48 - Posted 2008-09-09 07:54:00 »

I can't put up all the source code, some has network passwords and stuff.

If your intention is to keep strings secret, you've already failed. It's extremely simple to find strings in java. It's almost as simple to decompile .class files into .java files.

I don't mean to be rude, I just want you to make sure you don't have any sensitive information in there.

Play Minecraft!
Offline zammbi

JGO Coder


Medals: 4



« Reply #49 - Posted 2008-09-09 08:20:35 »

Well tested on my computer, but it wasn't as smooth play, though it was still getting 70 fps and only using 80% cpu.

Current project - Rename and Sort
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #50 - Posted 2008-09-09 18:43:47 »

Thanks for testing.

Is there a way to make it more secure, or putting sensitive information somewhere else? All those are method names, can you see actual variables?

"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: 14
Projects: 19


Mojang Specifications


« Reply #51 - Posted 2008-09-10 11:28:45 »

Oh yes. It's all there, in the constant pool. To make it even easier for myself, I downloaded jad and decompiled the file called TestShooter.class.

Here's a short sample, with the password censored for your sanity:

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  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
    public TestShooter()
    {
        speed = 10;
        prevTime = System.currentTimeMillis();
        elapsedTime = 0.0F;
        prevSec = 0;
        fps = 0;
        frameCount = 0;
        mouseX = 0;
        mouseY = 0;
        scrollX = 0;
        scrollY = 0;
        scrollXchange = 0;
        itemLibrary = new ItemLibrary();
        enemyLibrary = new EnemyLibrary();
        entities = new LinkedList();
        projectiles = new LinkedList();
        effects = new LinkedList();
        items = new LinkedList();
        enemies = new LinkedList();
        debug = false;
        incX = 10D;
        incY = 5D;
        shakeX = 0;
        shakeY = 0;
        rangeX = 10;
        rangeY = 10;
        curShake = 0;
        small = new Font("Copperplate Gothic Light", 1, 10);
        regular = new Font("Copperplate Gothic Light", 1, 12);
        bigger = new Font("Copperplate Gothic Light", 1, 18);
        title = new Font("Copperplate Gothic Light", 1, 22);
        screen = 0;
        prevScreen = 0;
        changeScreen = false;
        gameFlag = true;
        ran = new Random();
        teleportTime = 0;
        maxTeleport = 2000;
        halfTeleportDone = false;
        deathTime = 0;
        maxDeath = 2000;
        tk = Toolkit.getDefaultToolkit();
        imageLoader = new ImageLoader(new MediaTracker(this), tk);
        imageLibrary = new ImageLibrary(imageLoader);
        map = new Map(600, 400, imageLoader);
        antiGravityExplosion = new Audio("Sounds/antiGravityExplosion.wav");
        explosion = new Audio("Sounds/explosion1.wav");
        teleport = new Audio("Sounds/enemyExplode.wav");
        bubbles = new Audio("Sounds/bubbles.wav");
        equip = new Audio("Sounds/pickUp.wav");
        enemyDying = new Audio("Sounds/enemyDying.wav");
        enemyAttack = new Audio("Sounds/enemyAttack.wav");
        zombieAttack = new Audio("Sounds/zombieAttack.wav");
        zombieDying = new Audio("Sounds/zombieDying.wav");
        healthBoost = new Audio("Sounds/healthBoost.wav");
        armorBoost = new Audio("Sounds/armorBoost.wav");
        credxDie = new Audio("Sounds/credxDie.wav");
        credxBoost = new Audio("Sounds/credxBoost.wav");
        buttonCount = 3;
        menuChoice = -1;
        menu_image = (new Image[] {
            imageLoader.loadImage("Images/training.gif"), imageLoader.loadImage("Images/playGame.gif"), imageLoader.loadImage("Images/mapEditor.gif")
        });
        menu_image_highlight = (new Image[] {
            imageLoader.loadImage("Images/trainingH.gif"), imageLoader.loadImage("Images/playGameH.gif"), imageLoader.loadImage("Images/mapEditorH.gif")
        });
        username = "";
        userId = "";
        userName = "Corvine_admin";
        password = "<password>";
        url = "jdbc:mysql://mysql27.ixwebhosting.com/Corvine_ProjectX";
        conn = null;
        scrollSpeed = 0.8F;
        loadEntities = false;
        play = false;
        episodeChoice = -1;
        crossHair = tk.createCustomCursor(imageLoader.loadImage("Images/crosshair.gif"), new Point(15, 15), "crosshair");
        titleImage = imageLoader.loadImage("Images/Title.gif");
    }


Your giving anyone who can download this code full access to your database, or at least as much access as the Corvine_admin has. That's very bad, and I suggest you change that password immediately.

One more secure solution is to make an servlet that runs on the same server as the applet runs from, and have that servlet do all the database communication. Note that you should absolutely not run raw sql commands from the user/client, nor should you ever insert raw strings into sql commands.

Never, ever trust any code that you give to someone else, no matter how compiled or obfuscated it is. If the game client knows it, the user in control of the client knows it. If the game client can do it, so can the user.

[edit:]
Also, that's not a very secure password. Wink

Play Minecraft!
Offline Abuse

JGO Knight


Medals: 12


falling into the abyss of reality


« Reply #52 - Posted 2008-09-10 12:33:26 »

1.6.0_10 in FF3, worked ok.

Though for a time, the sound screwed up with the repulsor gun thingy. (each time I fired, the sfx would play twice).

Also, serious slowdown when exploding lots of boxes.

Reminds me of my name-sake Smiley Abuse

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #53 - Posted 2008-09-10 19:44:03 »

Yeah the delay when blowing up the boxes gave me an idea for bullet time, but later on I will add an option for the amount of particle effects.

Wow, I have never heard of that game, and its published by Bungie. Great minds think alike Smiley

Thanks for the info, I knew there would be security issues, thats why I had that crappy password. But I guess I will have to do the servlet thing, so I took down the play game buton. Is there any good tutorial for servlets that you guys know of?

I finished the map editor for my map maker, so we should have new maps by friday. It will include a new enemy and new tiles. I'll figure out how people will play them until I get the servlet going.

"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 #54 - Posted 2008-09-28 21:35:43 »

Hey everyone, big update. Check it out at www.shotside.com

I fixed the save games a different way. My webhost does not support Java Servlets so I had to go a different route. Anyways they work now, and thanks to that the download size is smaller.

Tell me what you guys think.

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

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #55 - Posted 2008-09-29 02:20:00 »

I really like it a lot more than the last time I played it. Unfortunately, I discovered a small bug: if you die (which is remarkably and annoyingly easy in the water section because you end up with a crappy gun (the gravity one, which is very difficult to get the hang of, by the way, and its name is deceptive, should be knockback gun or something) and too many boxes to shoot. Anyway when you restart training everything that you did before is saved, including the gravity gun being picked up, so you can no longer get through that room.  Undecided

See my work:
OTC Software
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #56 - Posted 2008-09-29 02:55:03 »

Yeah, I noticed that. I couldn't decide what to do, but I guess I'll reset everything like it was before. You should really try the actual game. It is a lot more interesting.

I'm working on saving stuff in rooms next, all you do is drop it and it will be there when you get back. And possibly a chat system, server system, mutiplayer. Most likely the city will be the hangout spot where everyone meets up.

Thanks for testing.

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

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #57 - Posted 2008-09-29 04:15:55 »

Yeah, I noticed that. I couldn't decide what to do, but I guess I'll reset everything like it was before. You should really try the actual game. It is a lot more interesting.

I'm working on saving stuff in rooms next, all you do is drop it and it will be there when you get back. And possibly a chat system, server system, mutiplayer. Most likely the city will be the hangout spot where everyone meets up.

Thanks for testing.
You're very unlikely to get people who are willing to try out your game when it's at this stage if you're requiring some sort of log in. I'm not really interested in doing that, for one.

See my work:
OTC Software
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #58 - Posted 2008-09-29 07:11:35 »

Well I made an account so I could play, and your difficulty curve is maddening. Levels 1 and 2 are trivial cake walks and then level 3 is practically impossible and incredibly irritating. If I had a shotgun or machine gun in level 3 it would be possible, but when you get 1 credit per enemy and any decent weapon costs at least 475, well that's what we call a bad difficulty curve. You simply can't kill all the blob spawners and blobs in level 3 with a shitty old handgun. Not to mention that the spawners have an unfair amount of HP and can also beat the bejeezus out of you, and if you run out the room oftentimes when you try to run back in a bug immediately forces you out again, so if you were lucky to make good progress you're screwed anyway and have to restart the level.

So my advice: tone down the power of the slime spawners (make them stationary, make it so they can't fight back, and give them less HP), and/or drastically decrease the difficulty of zone 3 or increase the money you get beforehand. Also recharging your life every time you die / restart a level is a good idea.

See my work:
OTC Software
Offline Corvinex

Senior Member


Projects: 1


Work Hard, Go Pro.


« Reply #59 - Posted 2008-09-29 20:51:48 »

Thanks for the suggestions, I need to start testing as a new player instead of with my own saves.

I lowered some prices and decreased the amount of spawners in some levels. I haven't had time myself to beat the new levels, they were done by the map maker.

I'll try to balance everything a little more with suggestions.

"Do what you love and you'll never work a day in your life."
Android: Pac-Ball
Web Applet: Virus Effect
Old Games
Pages: 1 [2] 3 4 ... 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.

TehJavaDev (16 views)
2014-08-28 18:26:30

CopyableCougar4 (25 views)
2014-08-22 19:31:30

atombrot (38 views)
2014-08-19 09:29:53

Tekkerue (34 views)
2014-08-16 06:45:27

Tekkerue (32 views)
2014-08-16 06:22:17

Tekkerue (20 views)
2014-08-16 06:20:21

Tekkerue (30 views)
2014-08-16 06:12:11

Rayexar (66 views)
2014-08-11 02:49:23

BurntPizza (44 views)
2014-08-09 21:09:32

BurntPizza (34 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!