Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (578)
games submitted by our members
Games in WIP (498)
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
  ignore  |  Print  
  Night Squad 2  (Read 34210 times)
0 Members and 1 Guest are viewing this topic.
Offline n.o.p

Senior Newbie


Projects: 1



« Posted 2008-05-28 21:43:35 »

I was asked to post this here, so ....

As part of my thesis I developed a Multiplayer First Person Shooter for casual gamers. It can be played here:

http://nightsquad2.freenet.de/?lan=en







There is also a short video clip here.

Any feedback welcome, of course.

Update: If there is nobody online, you can use Deathmatch mode to test the game.

edit: fixed broken images. kapta
Offline Matzon

JGO Knight


Medals: 19
Projects: 2


I'm gonna wring your pants!


« Reply #1 - Posted 2008-05-28 21:50:03 »

Very impressed by the game!
Looks great, performs just as great.

As an RTCW:ET player, I think that there is a tad too much bunny hopping going on Roll Eyes

I assume that the thesis is the reason for not using JME or Xith?
The same goes for not using get-down?

Curious way of obfuscating classes Wink

Offline gouessej

« In padded room »



TUER


« Reply #2 - Posted 2008-05-28 22:10:22 »

It seems interesting but I got this:

java.lang.Exception: Windows is required to play the game!
   at Main.init(Main.java:92)
   at sun.applet.AppletPanel.run(AppletPanel.java:425)
   at java.lang.Thread.run(Thread.java:619)

Java is cross-platform, LWJGL too. It is really stupid to punish Mac and Linux users! The game seems very beautiful and very consistent but if it works only under Windows, please don't use Java. I'm really disappointed and angry! Please tell me why you allow only the Windows users to play with your game. I hope it is only a temporary limitation.

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

Senior Newbie


Projects: 1



« Reply #3 - Posted 2008-05-28 22:15:07 »

I assume that the thesis is the reason for not using JME or Xith?

Yes, I wanted to learn how to create a game engine. You don't learn much if you use a finished product. Plus, when you're using some third party engine, you might get into trouble at some point if you realize that the engine is not offering a feature that you need to go on.

The same goes for not using get-down?

I used to use Java Webstart. Unfortunately it turned out to be buggy, so I wrote my own installer. Webstart is still used with IE on Vista, because of the browsers sandbox. However, I'm not very happy with the current solution. When I have time, I'll see what get-down can do. Thanks for the tip.
Offline ChrisM

JGO Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #4 - Posted 2008-05-28 22:18:19 »

It seems interesting but I got this:

java.lang.Exception: Windows is required to play the game!
   at Main.init(Main.java:92)
   at sun.applet.AppletPanel.run(AppletPanel.java:425)
   at java.lang.Thread.run(Thread.java:619)

Java is cross-platform, LWJGL too. It is really stupid to punish Mac and Linux users! The game seems very beautiful and very consistent but if it works only under Windows, please don't use Java. I'm really disappointed and angry! Please tell me why you allow only the Windows users to play with your game. I hope it is only a temporary limitation.

While I would like to play on my Mac, I think you are overreacting **just** a bit.  No need to be angry and I am glad he did this in Java!  Keep it up!  If there is a reason why it won't work on Mac/Linux, let's help him instead of lashing out.

-Chris

Offline n.o.p

Senior Newbie


Projects: 1



« Reply #5 - Posted 2008-05-28 22:32:16 »

It seems interesting but I got this:

java.lang.Exception: Windows is required to play the game!
   at Main.init(Main.java:92)
   at sun.applet.AppletPanel.run(AppletPanel.java:425)
   at java.lang.Thread.run(Thread.java:619)

Java is cross-platform, LWJGL too. It is really stupid to punish Mac and Linux users! The game seems very beautiful and very consistent but if it works only under Windows, please don't use Java. I'm really disappointed and angry! Please tell me why you allow only the Windows users to play with your game. I hope it is only a temporary limitation.

About 5% of the game is written in native code + it uses ODE. Theoretically, it would be possible to compile it for Linux and Mac too, but it's just not worth the effort considering the market share. If I had to compile and test the code on Linux and Mac each update, I would need three times as long for each release. Aside from that, I don't even own a Mac.

I understand that you are not happy to hear this. I'd love to add support for Linux or Mac if I had the time, but I just don't think it would pay off.

PS: Why are Windows users not allowed to use Java? Java is a great language aside from being cross-platform.
Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #6 - Posted 2008-05-28 22:46:01 »

Market share wise it might well be worth supporting OSX.

Kev

Offline jezek2
« Reply #7 - Posted 2008-05-28 22:59:39 »

About 5% of the game is written in native code + it uses ODE. Theoretically, it would be possible to compile it for Linux and Mac too, but it's just not worth the effort considering the market share. If I had to compile and test the code on Linux and Mac each update, I would need three times as long for each release. Aside from that, I don't even own a Mac.

I understand that you are not happy to hear this. I'd love to add support for Linux or Mac if I had the time, but I just don't think it would pay off.

That's one of major reasons why I've created JBullet (Java port of Bullet Physics Library). Also I like Bullet for it's active development which is very promising.

PS: Why are Windows users not allowed to use Java? Java is a great language aside from being cross-platform.

Nothing wrong, just that when something is in Java, users expect that the app is multiplatform Smiley Nothing wrong with supporting only one platform, just mark it in beginning that it's just for Windows. But because you use Java/LWJGL, the support for other platforms is usually little or no step, so it's pity not to do it.
Offline gouessej

« In padded room »



TUER


« Reply #8 - Posted 2008-05-28 23:18:21 »

That's one of major reasons why I've created JBullet (Java port of Bullet Physics Library). Also I like Bullet for it's active development which is very promising.

Nothing wrong, just that when something is in Java, users expect that the app is multiplatform Smiley Nothing wrong with supporting only one platform, just mark it in beginning that it's just for Windows. But because you use Java/LWJGL, the support for other platforms is usually little or no step, so it's pity not to do it.
I agree with you and I heard about a binding of ODE in Java, it is called ODEjava, isn't it?  http://odejava.org/OdejavaIntro

Full Windows platform-dependent gaming in Java dirties Java on my view. It is extremely frustrating. I'm not overreacting.

You aim only the market share... I find it miserable  Angry

Offline n.o.p

Senior Newbie


Projects: 1



« Reply #9 - Posted 2008-05-28 23:34:35 »

I agree with you and I heard about a binding of ODE in Java, it is called ODEjava, isn't it?  http://odejava.org/OdejavaIntro

Full Windows platform-dependent gaming in Java dirties Java on my view. It is extremely frustrating. I'm not overreacting.

You aim only the market share... I find it miserable  Angry

Well, looking at your signature, it's obvious that you will only see it this way. I told you the reasons. It's not a religious thing. Please don't let this thread become another one of those pointless Windows vs. Linux discussions. I'm not going to comment on this any further.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 605
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #10 - Posted 2008-05-28 23:40:55 »

gouessej, for **** sake. Stop whining.

Somebody comes along to showcase his project he has been working on for who knows how long. It's not like he owe's you one. This was a school project, have you got any clue how hard it is to work with tight deadlines? You should know with your own projects that are in progress for years now. Sure, you can support each and every platform, but getting a game to work at both your and your teachers computer is hard enough.

Again: stop whining, you are overreacting, give the guy some respect.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 605
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #11 - Posted 2008-05-28 23:54:47 »

I played the game for a bit, and I really like the details you managed to squeeze in like the lightning.



How did you get the ground-shadow of the buildings in there? Prerendered into a texture, calculated at runtime, or projecting in realtime?

Are there dynamic objects in the world? (breakable/movable stuff)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline n.o.p

Senior Newbie


Projects: 1



« Reply #12 - Posted 2008-05-29 00:06:10 »

How did you get the ground-shadow of the buildings in there? Prerendered into a texture, calculated at runtime, or projecting in realtime?

Static shadows are just prerendered lightmaps. Dynamic shadows are shadow maps.

Are there dynamic objects in the world? (breakable/movable stuff)

Not realy, just the enemies Smiley
Offline ChrisM

JGO Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #13 - Posted 2008-05-29 00:19:51 »

I agree with you and I heard about a binding of ODE in Java, it is called ODEjava, isn't it?  http://odejava.org/OdejavaIntro

Full Windows platform-dependent gaming in Java dirties Java on my view. It is extremely frustrating. I'm not overreacting.

You aim only the market share... I find it miserable  Angry

Wow.  Gouessej, this just has to stop.  You have crossed from being a Java supporter to being abusive to a brand new community member.  If there are real technical issues that need to be addressed, let's address them.  If he has a pain point that prevents him from supporting more than Windows, let's help, not be so abrasive.  It does not "dirty" Java in the slightest as his solution is using additional solutions tied to Java. And it's his project, so he can do what he wants.

Now, n.o.p., where the HELL have you been hiding!?!?!?!?! SmileySmileySmiley The game looks FANTASTIC!  and I am going to continue to show this off, if you are cool with my doing so.  GREAT WORK!  Now, perhaps the community can, calmly, help examine how to do a port that works on OSX at least?

Cheers and congrats on a great looking and playing game!

Online kappa
« League of Dukes »

JGO Kernel


Medals: 70
Projects: 15


★★★★★


« Reply #14 - Posted 2008-05-29 00:29:16 »

Very impressive work. I love the way it has a very counter-strike feel to it. As for some feedback I must say you have a blazing fast server that really did max out my connection. However I still think the download of 80mb is a little on the heavy side for a game thats launched from the browser, if you could hit somewhere around the 10-30mb mark it would be pretty awesome. Understandably the game has a lot of resources which are needed for a good game experience and add to the game size. I am unsure to what methods you use but optimisations like better compression format (lzma?) and/or pack200 etc can save you quiet a bit. Further tweaking with tools like proguard can help remove any unused code.

Also using certain texture and sound formats tga/png/jpg/ogg/etc might help save more. Some of the textures and sounds are pretty high quality and you could probably get away with shaving a bit more off the quality without anyone noticing much.

Keep up the good work.
Offline nva225

Junior Member





« Reply #15 - Posted 2008-05-29 02:33:27 »

Hmm ok feeling a bit stupid right now but how do I start a game with just myself in it so I can go run around?

I made a new group, said ok, and clicked start, and then I get stuck at a screen where it lists a leaderboard and only I'm there, status'ed as "Waits for next round..."

I wanna plaaay. Help? Smiley

I might just run this on my laptop at the same time so I can make a dummy player 2 if I can't figure out what else to do. This looks really cool so far.
Offline jezek2
« Reply #16 - Posted 2008-05-29 07:09:24 »

Yeah, I didn't have a chance to test it too, because nobody other was online.

It looks very polished, how long you've been working on it? How many people?

Just curious, what else than ODE and some installer stuff is needed to be done or is better in native code? While working on my game, the only thing that was native (other than LWJGL of course) was Bullet, which I ported to Java.
Offline gouessej

« In padded room »



TUER


« Reply #17 - Posted 2008-05-29 07:27:18 »

Wow.  Gouessej, this just has to stop.  You have crossed from being a Java supporter to being abusive to a brand new community member.  If there are real technical issues that need to be addressed, let's address them.  If he has a pain point that prevents him from supporting more than Windows, let's help, not be so abrasive.  It does not "dirty" Java in the slightest as his solution is using additional solutions tied to Java. And it's his project, so he can do what he wants.

Now, n.o.p., where the HELL have you been hiding!?!?!?!?! SmileySmileySmiley The game looks FANTASTIC!  and I am going to continue to show this off, if you are cool with my doing so.  GREAT WORK!  Now, perhaps the community can, calmly, help examine how to do a port that works on OSX at least?

Cheers and congrats on a great looking and playing game!
First of all, don't forget that I said that his game is beautiful and consistent...
Secondly, don't forget that he spoke about ODE and I suggested to use ODEJava, I'm not whining, I tried to help even though I'm very angry. Your accusations are partly false.
Thirdly, why only at least OSX? You defend your own interest. Why OSX more than Linux? For the market share?  Angry
Finally, if someone made a 3D Java game so convincing but working only under Linux, you would all be angry and you would all be really whining. Therefore, please, stop criticizing my behavior and try to imagine how you would react in the case I've spoken about. I won't turn this thread into a Windows versus Linux thread. I denounce the attitude of thinking that there is only Windows in the world but the author explained why he supports only Windows, that's why I spoke about ODEJava. If this interesting game works one day under Mac OSX and Linux, then I will be happy to suggest his author to add it into the Java(tm) Game Tome.

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 605
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #18 - Posted 2008-05-29 08:11:10 »

Quote
if someone made a 3D Java game so convincing but working only under Linux, you would all be angry and you would all be really whining.


Uh no. Even if it only worked in... Solaris!

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline EgonOlsen
« Reply #19 - Posted 2008-05-29 08:33:59 »

Looks great, but i couldn't play it, because nobody was online. A kind of exploration mode would be nice. I tried to watch the video instead but it drives me crazy, i really can't stand watching it. It's all about jumping, zooming, zooming, jumping, zooming...i got sick while watching it (no joke... Cry ).

Offline n.o.p

Senior Newbie


Projects: 1



« Reply #20 - Posted 2008-05-29 11:26:51 »

Unfortunately, there is not much going on most of the times.  Usually there are people playing in evening (German time, GMT + 2). But you can test the game by choosing the Deathmatch mode.

Glad to hear that you like it.

Just to clear one thing up. This game has not been developed for educational purpuses only. I developed it as an external thesis (Diplomarbeit) for the company I work for (4Players). But I was doing all the programming by myself.
Offline n.o.p

Senior Newbie


Projects: 1



« Reply #21 - Posted 2008-05-29 11:36:11 »

It looks very polished, how long you've been working on it? How many people?

The models and 2D graphics were done by a graphic artist. The maps were created by a mapper. The coding was done just by myself.

Just curious, what else than ODE and some installer stuff is needed to be done or is better in native code? While working on my game, the only thing that was native (other than LWJGL of course) was Bullet, which I ported to Java.

Software Skinning (too slow in Java), system information (#Cores, GHz, RAM), mouse input (there were Problems with JInput) and physics.
Offline CommanderKeith
« Reply #22 - Posted 2008-05-29 11:40:24 »

Holy shivers, those screen shots look really amazing - just like the crisp scenes from counterstrike. Well done  Cool.

I tried it out, but got this exception a little after the applet loaded:

java.lang.Exception: Could not determine if map1.jar was modified.
   at InstallThread.run(InstallThread.java:195)

Java 6 update 10, Windows XP.

Offline n.o.p

Senior Newbie


Projects: 1



« Reply #23 - Posted 2008-05-29 11:43:58 »

Holy shivers, those screen shots look really amazing - just like the crisp scenes from counterstrike. Well done  Cool.

I tried it out, but got this exception a little after the applet loaded:

java.lang.Exception: Could not determine if map1.jar was modified.
   at InstallThread.run(InstallThread.java:195)

Java 6 update 10, Windows XP.

What browser? Update 10? Latest ist Update 6 AFAIK...

PS: Might be related to update 10 being a beta version. The exception means, that the installer could not query the HTTP ETAG header field to see whether the version on the server is newer than the local one. Gotta test this...
Offline CommanderKeith
« Reply #24 - Posted 2008-05-29 12:26:18 »

Firefox 2. Yes, the java I'm running is only a beta, but it's meant to be pretty stable... other games run fine.

So how does it work with this thesis, your company funds it in some way, together with a university? Sounds pretty cool.

Offline gouessej

« In padded room »



TUER


« Reply #25 - Posted 2008-05-29 13:50:40 »

The models and 2D graphics were done by a graphic artist. The maps were created by a mapper. The coding was done just by myself.

Software Skinning (too slow in Java), system information (#Cores, GHz, RAM), mouse input (there were Problems with JInput) and physics.
Why would software skinning be too slow in Java? Why did you want to use JInput?

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 605
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #26 - Posted 2008-05-29 14:19:48 »

Why would software skinning be too slow in Java? Why did you want to use JInput?

Unfortunately Java doesn't have the SIMD part of SSE2

Especially with sqrt(...) you can get up to 4x performance improvement with C2D/C2Q CPUs. With earlier models, you get factor 2x performance using SIMD/SSE2.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline ChrisM

JGO Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #27 - Posted 2008-05-29 14:33:25 »

First of all, don't forget that I said that his game is beautiful and consistent...
Secondly, don't forget that he spoke about ODE and I suggested to use ODEJava, I'm not whining, I tried to help even though I'm very angry. Your accusations are partly false.
Thirdly, why only at least OSX? You defend your own interest. Why OSX more than Linux? For the market share?  Angry
Finally, if someone made a 3D Java game so convincing but working only under Linux, you would all be angry and you would all be really whining. Therefore, please, stop criticizing my behavior and try to imagine how you would react in the case I've spoken about. I won't turn this thread into a Windows versus Linux thread. I denounce the attitude of thinking that there is only Windows in the world but the author explained why he supports only Windows, that's why I spoke about ODEJava. If this interesting game works one day under Mac OSX and Linux, then I will be happy to suggest his author to add it into the Java(tm) Game Tome.

Ok, it's a interesting morning, so I'll take the bait Smiley  Yes, you said his game is beautiful, no issue there.  You "suggested" ODEJava from a "matter of fact" attitude and then went on to express your anger.  Not the same thing as a helpful suggestion, really.  As for OSX, it's for an additional viable platform.  What is wrong with that?  Most of my friends are in the video game industry, many of them developers (or ex-devs as they moved into management) and I can safely say that I do not know a SINGLE one of them who runs Linux as their desktop.  Not ONE.  So yes, if you want to make a viable game, Windows and OSX are the correct platforms to target.  If Linux gets it as well, then that's goodness, I'm all for it, am an advocate for it and would love to see more of it!  But, as the Stones once said, "You can't always get what you want.  But sometimes, you get what you need."

And lastly, you are speaking for everyone here by stating that we would all be angry if a Java game came out for Linux only.  Why do you assume that?  As far as denouncing Windows only in the world, that's your position, and not an unpopular one BTW.  But I think that expressing "anger" over this is misguided.  Disappointed, fine!  But anger?  I'm a little tired of all of the religious wars in the tech space, TBH.

Now, one last point. You state that if this author gets his game working under Linux and OSX that you would recommend that he submits to the Java Game Tome.  I have a problem with this. He programs using Java and, because it does not work on other platforms, he is excluded from that venue?  I read your paper on your site titled "Plea for a fair access to video games" and I better understand the motivation for some of your comments here at JGO.  However, does fair access exclude Windows only users?  If so, your position goes against the spirit of your paper.  As well, that means your site will not be truly open, nor provide access to anyone seeking to build a game using Java technology.  Why would anyone submit to that?  Perhaps I should just open up a gallery page here, get more disk space, and have everyone host here?

Look, I appreciate the passion that many of the community members have for Java as a technology and love to see us work to broaden the market for Java games.  But, these kinds of discussions only drag us down and, this is not the first *heated* confrontation I have observed recently.  Let's work to make the community stronger, welcome new members in here (it is really a friendly community, honestly) and discuss the differences without getting too worked up.

Offline kevglass

JGO Kernel


Medals: 85
Projects: 25


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #28 - Posted 2008-05-29 14:45:06 »

Quote
Perhaps I should just open up a gallery page here, get more disk space, and have everyone host here?

Any chance of the image of the day thing that's been bandied around for years? Not suggesting a JGT thing, but maybe just an image that could be submitted and shown on the front page somewhere? Not sure how much time you have but I'm sure some of us here could do the admin of it.

Infact, didn't onyx used to have an image of the day site?

Kev

Offline ChrisM

JGO Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #29 - Posted 2008-05-29 14:46:44 »

Any chance of the image of the day thing that's been bandied around for years? Not suggesting a JGT thing, but maybe just an image that could be submitted and shown on the front page somewhere? Not sure how much time you have but I'm sure some of us here could do the admin of it.

Infact, didn't onyx used to have an image of the day site?

Kev

Love to do it Kev.  Anyone want to help me make a mod for SMF for this?  Help me find one or write one?

-Chris

Pages: [1] 2 3
  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 (26 views)
2014-04-15 18:08:23

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

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

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

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

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

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

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

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

CJLetsGame (193 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!