Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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
1  Game Development / Newbie & Debugging Questions / Re: Kryonet Libgdx Android? on: 2014-12-20 04:48:13
The open source project GDX-Proto uses kryonet on Android

net code here:

But I don't understand why you think you need Hamachi?
2  Game Development / Newbie & Debugging Questions / Re: LibGDX - How to rotate one point around another on: 2014-12-20 04:46:30
you can do something like this:

Vector2 baseArmPos = new Vector2(1f, 0f, 0f); // arm is offset 1 unit to the right of player
float armRotation = 45f; // determine this however you need to, we just define it here
Vector2 armPos = new Vector2(baseArmPos).setAngle(armRotation);
Vector2 finalArmPos = new Vector2(playerPos).add(armPos);
3  Games Center / WIP games, tools & toy projects / Tactical RPG on: 2014-11-07 08:30:59
I'm currently working on a 2D Tactical RPG for which I have no yet thought of a name.  It will be an Android/iOS game, possible with a PC version later.  This is my second game. I completed my first game, Superior Tactics (also a mobile game) back in February 2014.

I have quite a bit of progress so far in the development of the game.  Many mechanics are finished and graphics and important data structures are fleshed out.  Actual game content is pretty sparse so far, it just dumps you into a test level with test enemies/player units. However, there is already functioning AI in the game that does a pretty good job of deciding what to use when.

The game is programming in the JVM language Kotlin in combination with libgdx.  This means robovm is used for the iOS build.  I like libgdx quite a bit, and in fact I've made quite a few (not very impressive) contributions to it on github.  I'm also quite happy that the JVM now has other nice modern languages like Kotlin and Scala than can work with all the old Java libraries and ecosystems.

Here is the latest gameplay showing a full battle:

make sure to watch it at 720p@60fps if you are using Chrome!
4  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [LibGDX] MeshBuilder "Too many vertices used" on: 2014-11-03 05:35:00
Split it up into nodes, which can be children of a root model
5  Java Game APIs & Engines / Engines, Libraries and Tools / Re: What engine/library shoud I use for 3D game development? on: 2014-10-29 14:17:56
Can you use libgdx but write your own shaders? 

You sure can.
6  Game Development / Newbie & Debugging Questions / Re: (LWJGL) A new aproach on: 2014-10-08 03:03:47
for 3d with libgdx you can take a look at GDX-Proto for some ideas
7  Game Development / Game Play & Game Design / Re: How do I make a moddable game in Java? on: 2014-09-20 14:09:00
why not use LuaJ and have complete control of what can be modded and what can't. Plus, Lua is a common modding language
8  Discussions / General Discussions / Re: Camera with Roll Pitch and Yaw on: 2014-08-28 12:11:24
you can take a look at the PerspectiveCamera class in the libgdx framework
9  Games Center / WIP games, tools & toy projects / Re: Oppugno on: 2014-08-28 10:47:03
looks neat. some problems on linux:

1. grass and weapon(?) sprites failed to loaded, replaced by a purple texture.
2. couldn't get any controls working except WASD and left-click
10  Games Center / WIP games, tools & toy projects / Re: FPS Engine on: 2014-08-06 12:03:38
A big announcement. I've open sourced the project on github!
11  Games Center / WIP games, tools & toy projects / Re: Introducing MERCury: A Simple 2D Game Library | -> Beta coming soon <- on: 2014-08-04 13:41:49
libgdx renders from the corner, but also has convenience methods for setCenterPosition(x, y);
12  Games Center / WIP games, tools & toy projects / Re: FPS Engine on: 2014-08-03 13:53:57
I'm releasing a new test that includes shoot + destroying monsters and networked multiplayer play!

I update the original post and added a new download link and instructions.
13  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-02 05:02:20
@jrenner Networking does not necessarily imply concurrency (use NIO). When working with Old IO, you should solely read/write on network threads, and stuff the logcal packets in queues, for the main loop to process.

I'm using KryoNet which is runs on its own threads by default.  And I am indeed sending all the logic to queues.
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-01 14:21:29
Yesterday and Today I implemented network code into my FPS Engine (you can see it in the WIP section here).
Network code is the whole shebang with Entity interpolation and client side prediction.  It really can be quite challenging. I had attempted it once before, laser year, on a different toy project, but never met with success. This time I persevered and it's really quite satisfying to see it in action.  It is, however, ridicuous how much program complexity increases just by adding real time networking.  Because it is multi-threaded by nature, you get hit by the double hammer of network issues and concurrency issues.
15  Games Center / WIP games, tools & toy projects / Re: [libGDX] Embersol Mercenaries - Online Shooter (Released!) on: 2014-08-01 00:30:23
I checked it out.  Had you released a beta before? I remember playing this before. Could just be my shoddy memory.

I think it's quite impressive.  I'm not real happy about the controls. But that's a touch screen issue and not really your fault.  I generally don't play action games on mobile because I am never happy with the controls.  Having said that, I thought you did a pretty good job with the controls.  I had a hard time aiming at some of the smaller ships, but it's probably supposed to be that way.

I found it pretty hard to dodge shots. Probably just because I'm bad at the game, but also I didn't quite figure out how dash works.

When firing the gun and also firing a missile, it can be hard to graphically tell the missile has been fired or not.

I was able to shoot at a destroyer from beyond its firing range all the way until it's death.

Looks like you have implemented IAP yet? I'm assuming something to buy more cores?

It looks like the game is multiplayer.  I assume it is a mix of bots + humans?
16  Game Development / Newbie & Debugging Questions / Re: (LibGDx)Drawing a sprite on to a Box2D body on: 2014-07-30 13:51:32
drawing the sprite is done the most basic way possible so I didn't include. Nothing to see there.
17  Games Center / WIP games, tools & toy projects / Re: FPS Engine on: 2014-07-30 02:33:36
new playable demo with some fake enemies, shooting, particle effects, fog, and better physics
18  Games Center / WIP games, tools & toy projects / Re: FPS Engine on: 2014-07-28 02:42:15
Here is a video of the engine being tested.  The framerate is only choppy due to recording.
19  Discussions / General Discussions / Re: Superior Tactics 2 Info on: 2014-07-28 02:25:05
I've released a big 2.0 Update for the Android version. It's on Google Play right now.
20  Discussions / General Discussions / Re: Netbeans + Gradle = Im annoyed. on: 2014-07-27 08:20:27
I've got my own gruff with IntelliJ + Gradle right now.  I use Java7 source language level, and everytime I open my gradle project it resets it to 6.0 and asks me to restart. I have to manually put it to 7 every time I start up. For the life of me I can't find the setting in the gradle that is doing this, and I've already change a bunch of 1.6s to 1.7s
21  Game Development / Newbie & Debugging Questions / Re: Libgdx Game Save Jar/Android on: 2014-07-27 01:06:00
 On desktop local files should be in the root directory, so the location from which you execute the jar is very important.
22  Game Development / Newbie & Debugging Questions / Re: Kryonet Size Of Packets on: 2014-07-26 13:41:33
Kryonet serializes class information.  I don't know if in the case of a Byte it just treats it as a byte for sending over the wire. But that could cause more size than you expect.
23  Games Center / WIP games, tools & toy projects / Re: FPS Engine on: 2014-07-25 02:18:07
I fixed my shader problems. shouldn't crash on mac or other linux distros anymore. Link is the same.
24  Game Development / Newbie & Debugging Questions / Re: how to do something at the end of a finger drag in libgdx/android? on: 2014-07-25 01:50:49
If you're new to input it doesn't occur to you right away (at least for me it didn't) but touchUp is called at the end of every touch, so you can use it as a hook for when a touch is finished.
25  Games Center / WIP games, tools & toy projects / Re: FPS Engine on: 2014-07-25 01:42:26
tkausl, the new 3D API, is actually not so new anymore.  It's just an abstraction layer on top of OpenGL to make things a little easier to develop with.  I actually don't have any experience with the old 3D API
26  Games Center / WIP games, tools & toy projects / Re: FPS Engine on: 2014-07-24 13:58:29
This is indeed the latest 3d api.  The ground and the big purple house is me trying to make objects progamatically out of boxes.  The other strange objects are imported fbx files I made from blender
27  Games Center / WIP games, tools & toy projects / GDX-Proto (FPS/3D Engine, libgdx) on: 2014-07-24 13:04:30

(this top was formerly title 'FPS Engine', I've since given the project a name and open sourced it on Github).

Github Repo:

GDX-Proto is a lightweight 3d engine for libgdx.

Some of its main features are:
1. fast collision detection using bullet physics library (but not simulating the world, for better performance and allowing manual collision resolution).
2. collision resolution in Java code, easily modified, or used as is.
2. full featured server/client networking with entity interpolation and client prediction (no prediction for projectiles yet). Local single-player play is also supported, of course.
3. simple entity system that handles velocity, position, rotation with easy to use API
4. support for Decals (billboard sprites) or 3d models
5. simple chat system over network
7. uses libgdx new 3D API

It's early days and the project is immature, but there is already a nice FPS demo jar that can be downloaded and run from the github repo bin directory.
28  Discussions / General Discussions / Re: What hosting do you use for your websites? on: 2014-07-20 05:40:10
I like to go the full VPS route myself.
29  Discussions / General Discussions / Re: Superior Tactics 2 Info on: 2014-07-18 06:04:46
Work is finishing up, and I'm getting ready to release the game relatively soon.

Here is the trailer:

I want to try to create a PC version of the game, this time around.
So I've decided to put it up on Greenlight: ... =287690036

Android and iOS version are coming as well, of course.
30  Game Development / Newbie & Debugging Questions / Re: (LibGDx)Drawing a sprite on to a Box2D body on: 2014-07-18 00:53:34
Here is my real world method:

public void alignSpriteWithBody() {
        float facing = MathUtils.radiansToDegrees * (body.getAngle());
        float w = sprite.getWidth();
        float h = sprite.getHeight();
        Vector3 bodyPos = body.getPosition();
        float x = bodyPos.x - w / 2;
        float y = bodyPos.y - h / 2;
   sprite.setOrigin(w / 2, h / 2);
        sprite.setPosition(x, y);

looking at it now it could be improved upon, but it does the job well enough
Pages: [1] 2 3

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (37 views)
2014-12-15 09:26:44

Mr.CodeIt (31 views)
2014-12-14 19:50:38

BurntPizza (62 views)
2014-12-09 22:41:13

BurntPizza (99 views)
2014-12-08 04:46:31

JscottyBieshaar (60 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (77 views)
2014-11-29 21:32:03

toopeicgaming1999 (138 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (38 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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 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!