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   
  Show Posts
Pages: [1] 2 3 ... 87
1  Discussions / General Discussions / Re: dart on: 2014-08-28 09:31:25
The idea is that a stricter language than javascript could allow for better compiler optimization. Though I doubt Dart itself will become huge, I could see another language, or some changes to Javascript (a 'use strict' type mode) coming out of the idea of Dart.
asm.js is practically that, this strict subset of javascript is already optimised by browsers like firefox and chrome. Reports state that it already runs at about half the speed of native code.

Its been hugely popular (along with Emscripten) as the tech used to port some of the big C/C++ game engines (unreal, unity, etc) to html5/webgl.
2  Game Development / Newbie & Debugging Questions / Re: Slick2D&LWJGL Font Rendering on: 2014-08-24 11:16:28
If i was to guess, i'd say you are disabling textures before drawing the slick text, try enable them using glEnable(GL_TEXTURE_2D); before you draw.
3  Game Development / Newbie & Debugging Questions / Re: Struggling to get going with 3D libraries + JavaFX on: 2014-08-21 09:48:37
Another option you could consider is using one of the many GUI libraries that work inside OpenGL, some good options include TWL and LibGDX's Scene2D UI.

I know some people prefer native frameworks rather than a GUI running inside OpenGL, but in the long run you get a lot more flexibility, better integration with OpenGL and doesn't break the atmosphere of your game (probably why all AAA titles use in game GUI's).

Integrating OpenGL with GUI frameworks which and not designed for such integration (Swing, AWT, JavaFX, etc), especially if they themselves have their own OpenGL backends or hardware accelerated paths is always problematic and you'll have to jump through various hoops to get it to work properly (if at all).
4  Discussions / Miscellaneous Topics / Re: A rant on OpenGL's future on: 2014-08-14 20:11:12
interestingly see this news story: AMD Offers Mantle For OpenGL-Next
5  Discussions / Miscellaneous Topics / Re: A rant on OpenGL's future on: 2014-08-11 17:08:08
a ground up rewrite for OpenGL sounds great (and long overdue) and they seem to have ticked all the right boxes, however judging by the description of how they intend to work with so many parties and being aimed at mobile, desktop and console platforms (and probably the web), I'm guessing it'll be a couple of years before they get anywhere (e.g. html5).
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-05 20:35:24
Started animating some sprites:

Really nice work, your art is definitely getting really good, that last animation has a nice 3d looking effect on that spear movement.
7  Game Development / Newbie & Debugging Questions / Re: Should I move to LWJGL on: 2014-08-04 11:54:51
I'd also recommend you stick with LibGDX, not liking the starter LibGDX classes isn't a  very good reason to switch (you could always wrap them with your own API).

With LWJGL you'll have to write your own starter classes and rewrite much of the utility code that LibGDX already provides (which is time you could probably better spend on a game). In any event switching could be a fun learning exercise if you enjoy writing engine/library code rather than actual game code.
8  Discussions / General Discussions / Re: So... state of the art 3D "engines" in Java on: 2014-07-30 15:32:44
Then, what is it? JMonkeyEngine showcase
Most of those listed there are tech demo's, using old engine code, abandoned, unfinished or WIP's.
9  Discussions / General Discussions / Re: So... state of the art 3D "engines" in Java on: 2014-07-30 14:28:18
IMO 3D engines written from scratch to be 3d engines without being driven by an actual game are rarely very good or useful. All the best engines UnrealEngine, idTech, Source Engine, etc all started of as code for actual games, the reusable parts and tools of which were later re-factored into the standalone engines they are today and continue to be developed by needs of actual products. The development of the above mentioned 3d java engines aren't really driven by any (or many) actual products or companies that use them.

One choice that is rarely mentioned but might be worth looking into is Clyde (seems more like a collection of useful libraries rather than a full blown engine). Its the code that powers the impressive looking Spiral Knights, contains all the useful bits like GUI, working MMO networking code, distribution, model loading, maths, etc.
10  Games Center / WIP games, tools & toy projects / Re: [Slick2D] JavaRA - Command&Conquer: Red Alert with taste of Java on: 2014-07-15 16:49:54
This project looks really cool. If memory serves me correctly, something doesn't look right about the lightning coming out your tesla coils when compared to the original game. Your lightning seem to have a straight/diagonal movement look while the original game had more random and natural looking lightning. Anyway really nice work.
11  Discussions / Miscellaneous Topics / Re: VMKit (maybe) not dead on: 2014-06-17 11:52:36
hmm the VMKit repo shows the last change on the main branch was 6 months ago and the latest change is 4 months ago on one of the branches.

Anyway VMKit still has a way to go (e.g. no Windows support!) when compared to other solutions like Avian and RoboVM but still might be nice to someday have an easy path to compile Java (and other VM languages) to something like Emscripten/Asm.js.
12  Discussions / General Discussions / Re: Libgdx Monogame & backend on: 2014-05-20 22:52:37
IntelliJ changed my life!
Although personally use Eclipse, IntelliJ's has some really cool features e.g:

13  Games Center / Featured Games / Re: Titan Attacks on: 2014-05-16 09:38:59
Theoretically, you could write a Java library that maps to the Unity3D C# API. You could then write your game entirely in Java using Java tools. When ready to deploy, convert the java bytecode to a CLR dll using IKVM. Then just use this dll with Unity3D as normal and create an output for one of Unity3D's supported platforms. Although seems doable it would be a ton of work.
14  Games Center / Featured Games / Re: Titan Attacks on: 2014-05-15 13:30:39
isn't this what IKVM does?
15  Games Center / Showcase / Re: Super Spineboy on: 2014-05-09 16:30:29
love the exploding alien brains, really nice touch Smiley
16  Discussions / General Discussions / Re: Embedded JVM for Windows Native Deployment seems viable on: 2014-05-08 21:37:07
btw in case you missed it, do check out Java 8's Compact Profiles, there is a blog post about it here. Compact Profile 1 is suppose to be less than 14mb in size.
17  Games Center / Featured Games / Re: Titan Attacks on: 2014-05-08 09:34:42
Just curious, wouldn't it be more cost effective to pay a programmer to port something like RoboVM to PlayStation (or at least enough of it to run your games) rather than paying someone to port each individual game to another language (at least four games atm right?) and again for any updates. It'd reduce development time, allow faster times to market and allow working from a single code base.

Plus since it'd be a generic solution you could even recoup some of that development cost by licensing the code out to other java/android devs (say $5k or 10k each game).

Lastly after an exclusivity period, open source it for a little fame, glory, good company rep and for others to maintain Smiley
18  Game Development / Game Mechanics / Re: Moving at a constant speed along a Bézier Curve on: 2014-05-05 15:11:25
I use Hermite splines.
just curious, why Hermite curves over Bézier curves? Noticed a lot of people using them, is there some extra advantage in using them?
19  Game Development / Newbie & Debugging Questions / Re: Exporting with JarSplice and LWJGL on: 2014-05-05 10:58:38
So nothing is printed when you run it from the command line?
20  Game Development / Game Mechanics / Re: Moving at a constant speed along a Bézier Curve on: 2014-05-05 10:55:01
You used my code, about 6 years ago, which used a whole ton of lookup tables and memory. There are no shortcuts, as far as I know.
Yup remember that super awesome spline class well (still have it in my workspace), used it many times and would probably use it again here if I could, however limited to working with quadratic bezier curves directly in this case.

Cool, that looks like pretty much what I need, some pretty dense math representation of the formula's there though, will see if I can write some code from it.
21  Game Development / Newbie & Debugging Questions / Re: Exporting with JarSplice and LWJGL on: 2014-05-05 10:47:22
My guess is that lwjgl-debug.jar and lwjgl.jar both contain all lwjgl's classes.
That is correct, don't use both those jars, use either one but not both at the same time. lwjgl-debug.jar is useful when looking for opengl errors, otherwise use the plain lwjgl.jar.

Further you also have both slick-util.jar and slick.jar on the classpath. slick-util.jar is a subset of slick.jar so it'll contain duplicate classes, so use only one of those.

Also noticed that you have AppleJavaExtension.jar on the classpath, you probably don't need that as its only useful when compiling LWJGL.

Further you probably don't need lwjgl_util_applet.jar and lzma.jar on the classpath as they are used only for LWJGL web applets.

You also probably don't want lwjgl_test.jar since that only contains lwjgl test classes, so unless you are trying to run one to those you should remove it too.

Lastly its unlikely that you need asm-debug-all.jar unless you are using it in your app or using the Mapped stuff from lwjgl_util.jar.

As for not running as mentioned above by Riven, run it in the command line (using "java -jar yourjar.jar"), and post the output.
22  Game Development / Game Mechanics / Moving at a constant speed along a Bézier Curve on: 2014-05-04 17:09:45
I've been playing with quadratic bezier curves recently, its easy enough to draw and get the points along it using something like:

float x = (1 - t) * (1 - t) * startX + 2 * (1 - t) * t * cx + t * t * endX;
float y = (1 - t) * (1 - t) * startY + 2 * (1 - t) * t * cy + t * t * endY;

Where start/end is the beginning/end point on the curve and c being the control point.

t is a value between 0 and 1 which can be used to move along the curve, 0 being the start and 1 being the end, however the problem is that this value can't be used to move along the curve at a constant speed since t=0.5 is not necessarily at the middle of the curve or t=0.25 the first quarter.

I've got an approximation of the length of the curve using

public float getApproxLength() {
      float t = 0;
      length = 0; // reset length
      float oldX = startX;
      float oldY = startY;
      // scroll through curve and update length
     for (int i = 0; i < 100; i++) {
         t += 0.01f;
         float x = (1 - t) * (1 - t) * startX + 2 * (1 - t) * t * cx1 + t * t * endX;
         float y = (1 - t) * (1 - t) * startY + 2 * (1 - t) * t * cy1 + t * t * endY;
         length += getLineLength(x, y, oldX, oldY);
         oldX = x;
         oldY = y;
      return length;

Are there any easy solutions to achieve this other than to use a whole ton of look up tables and memory? doesn't need to be super accurate just something good enough to get a decent constant looking movement along the curve.
23  Discussions / General Discussions / Re: Anyone remember this game? on: 2014-05-04 13:30:39
'Fort Apocalypse' maybe?
24  Game Development / Newbie & Debugging Questions / Re: from 2d to 3d game libraries on: 2014-04-24 11:38:59
when people say they used opengl in java do they mean JOGL?

Not exactly.

OpenGL is a C API and Java is currently not able to talk to it directly so you need to use something like JNI which is complex and ugly to use and requires knowledge of C.

Both LWJGL and JOGL are libraries that do this heavy lifting for you and give the user an easy Java API to OpenGL to work with.

LWJGL also binds to OpenAL (which you'll probably want to use for audio in your game), OpenCL and provides a lightweight native window & input system (so you don't need to use fat libraries like AWT/Swings for windowing and input). JOGL also has similar functionality and sister libraries that provide access to OpenAL and OpenCL.

Both are low level libraries and you'll probably need to spend a few months/years learning the OpenGL/OpenAL API inside out and writing your own wrapper code to be able to create games efficiently. The above two libraries are more for writing game engines, game libraries and utility classes rather then making games directly. However great for learning how the lower level stuff works.

If you just want to make games then go with some of the slightly higher API level libraries mentioned in the replies above.
25  Discussions / Miscellaneous Topics / Re: any good RTS 2d war strategy games? on: 2014-04-19 11:16:45
If you like the original starcraft game you should definitely check out starcraft 2, its a really polished and improved version of pretty much the same game.

As for classic 2d rts games, my favourite has to be C&C series of games and their addons (mostly the Westwood ones before EA purchased the series and ran it into the ground). As for Starcraft 1 era RTS games you'll probably want to check out Dark Reign and as mentioned about Total Annihilation (avoid Dark Reign 2 and Total Annihilation 2 both were extraordinarily bad).

Warcraft 1 & 2 were pretty solid 2d rts games for their time although seem really dated by today's standards. Warcraft 3 is also a highly playable and solid RTS with an enjoyable single player campaign and multiplayer mode although its in 3d. Others you may like are Dawn of War 2 and Company of Hero's but are again in 3d.

26  Java Game APIs & Engines / OpenGL Development / Re: Normal texture drawn aufully - SLICK_UTIL + LWJGL on: 2014-04-05 18:42:10
I am guessing your texture size is not a power of two.
27  Game Development / Game Mechanics / Re: A* pathfinding how to prefer a nicer path on: 2014-04-03 14:10:35
You need to increase the cost of moving diagonally then your paths will prefer straight lines and move diagonally only when necessary.
28  Discussions / General Discussions / Re: The Big Linux Distro Thread on: 2014-04-02 13:36:58
Yup agreed, Dolphin is totally configurable and can be made to look however you like (including toolbar size and how much space they take up). Customisability is one of the fundamental areas where Gnome and KDE differ in philosophy.
29  Discussions / General Discussions / Re: The Big Linux Distro Thread on: 2014-04-02 12:02:12
Can't speak for Gnome, but KDE's Dolphin file manager is fantastic, can even be made to look and function like Windows Explorer.

Filezilla seems to work well as a GUI ftp/sftp program on linux (has a windows version too).

Eclipse, OpenGL, Steam, Chrome, Dropbox and Skype are available on linux and work like their windows counterparts.

As for an alternative to WinAMP and 7Zip there are quiet a few choices but can't really recommend a single best.

Photoshop is a difficult one to replace, you could maybe run it using Wine or try one of the apps like Gimp, Krita or Inkscape to fill its place.
30  Discussions / General Discussions / Re: The Big Linux Distro Thread on: 2014-04-02 09:21:36
Are there any distros that don't insist on managing the entire software suite available for them?
Its pretty much how most modern distro's work and for the better IMO. Package managers are a lot easier to use these days then to manually down and install apps (or worse manually compile).

You just add new repo's if the current ones don't have the app you need. For games you can just install Steam on Linux, which again pretty much works in the same way.
Pages: [1] 2 3 ... 87

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 (10 views)
2014-08-28 18:26:30

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

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

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

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

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

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

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

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

BurntPizza (33 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 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‑
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!