Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (116)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [Windows, Mac, Linux] Modern Galaga  (Read 3044 times)
0 Members and 1 Guest are viewing this topic.
Offline trollwarrior1
« Posted 2014-04-25 09:29:03 »



Have fun! Cheesy

https://www.mediafire.com/?6wf2dyrbdf8c2dr
Offline matheus23

JGO Kernel


Medals: 107
Projects: 3


You think about my Avatar right now!


« Reply #1 - Posted 2014-04-25 12:40:36 »

To the game itself:

Very nice! I really liked hovering over those buttons! Cheesy
The routing of the enemies was nicely done, I saw no bugs, it worked flawlessly Smiley
I'd like more content, but I'm sure you know that Cheesy

To the way you ship it:

Please add some startup scripts. Double-clicking jars doesn't work easily with natives, I'm afraid. But for that reason we have command line scripting:
Add a linux file "startLinux.sh":
1  
2  
#!/bin/sh
java -Djava.library.path="nat/linux" -jar galaga.jar

mac is a little more complicated, afaik... App bundles and such. I have never worked with a mac in my life, so I can't tell you how that works...
And for windows add a file "startWindows.bat":
1  
java -Djava.library.path="nat/windows" -jar galaga.jar


So that would help others trying out your game ^^

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline trollwarrior1
« Reply #2 - Posted 2014-04-25 13:54:51 »

You mean this doesn't work?

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
         
         String system = System.getProperty("os.name");
         
         String path = null;
         path = new File("nat").getAbsolutePath();

         if(path == null) {
            System.out.println("Couldn't load natives!");
            return;
         }

         path += "/";
         
         if (system.contains("Windows")) {
             System.setProperty("org.lwjgl.librarypath", path + "windows");
         }
         else if (system.contains("Mac")) {
             System.setProperty("org.lwjgl.librarypath", path + "mac");
         }
         else if (system.contains("Linux")) {
             System.setProperty("org.lwjgl.librarypath", path + "linux");
         }
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ctomni231

JGO Wizard


Medals: 99
Projects: 1
Exp: 7 years


Not a glitch. Just have a lil' pixelexia...


« Reply #3 - Posted 2014-04-25 16:17:33 »

It does, but it has to be the very first thing you call before everything else to work properly. I think this is why bundling is more popular, because there is no way to tell if someone did it right or not. With the bat and sh files, you can cover all use cases where the user is a goof. Also, Windows messes up the path on some editions when I used it in practice. Best to do the extra work, just to be safe and send via a rar Wink

Offline Slyth2727
« Reply #4 - Posted 2014-04-27 00:21:23 »

I like the lighting, I've always been a sucker for that kind of stuff.

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline matheus23

JGO Kernel


Medals: 107
Projects: 3


You think about my Avatar right now!


« Reply #5 - Posted 2014-04-27 17:43:46 »

You mean this doesn't work?

At least it didn't work for me Huh

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline trollwarrior1
« Reply #6 - Posted 2014-05-23 05:08:58 »

I tried running this on mac and it didn't work. I think the reason is that the path in my native loader is set to nat/mac and the folder of natives was nat/macosx

This might work and it might not Cheesy Will see..
https://www.mediafire.com/?xtjscscjylyd1h1
Offline Spacebeans
« Reply #7 - Posted 2014-05-25 16:08:53 »

Wow! Nice job, I love the AI.

One thing I would change is the shooting sound, pierces the ear after about 2 minuets of playing Smiley
Offline trollwarrior1
« Reply #8 - Posted 2014-05-25 17:20:26 »

ahhh that. Agree Cheesy

Thats SFXR for you. I probably should add like 3 shooting sounds in total (played randomly each time)

The problem is, I think this thingy cannot run on mac for some reason.. Tested it at work on Mac and it didn't work.

Offline Longarmx
« Reply #9 - Posted 2014-05-26 16:41:04 »

I got a score of 10 and yet it says my final score was 0  Sad
It also crashes when you disable v-sync.

Good game, I especially like the button animation.

Pages: [1]
  ignore  |  Print  
 
 

 
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!