Yeah I couldn’t think he was serious. Really. That’s. I don’t even…
I will say from when i first saw this project to where it is now is amazing a huge transformation very good work!
still working hard on the network…
new version should be a bit more reliable !
major network consolidation and spawn points added for buildings !
anyone tried a network game yet ?
okay, now looking for people to actively test the network.
there are still a lot of bugs and I need to make real tests and to know what problems you can find.
Any help appreciated !
I just created channel #clashtune on freenode :
server : irc.freenode.net
port : 6667
channel : #clashtune
come and have a drink !
Woopee, after some tests, network seems to work fine !
Synchronizations are quite good but need more tests.
But it’s now on the right path !
I’ve found a new bug in the game, the display settings only apply the next time you run the game. Confirmed it on OS X 64bit, Windows 8 32bit, Ubuntu 64bit.
in fact, resolution and shadows only apply after restart, but grass does apply immediately
New graphics and physic engine !
I had to totally rewrite the physic engine because of determinism.
Box2d is not determinist and for RTS games you need a totally determinist physic engine so I decided to write one. As I only need simple shapes (circles and AABB), the engine has been done in only 2 days.
And it became a major improvement in networking !
Now the network is much more stable
I added a lot of graphic stuffs like cel shading, bloom, some color effects, …
Need to rewrite the rendering of the particle engine for better performance.
And to improve overall speed also !
In the meantime, I will work on better gameplay experience and units behaviours.
The game is quite stable at the moment and I can now work on this side I put apart for a long time.
Have fun !
This reminds me of HearthStone, just a little… less 3d. (not that it can really be less 3d, but you know what I mean)
Downloaded the nightly and received this:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Fragment shader(s) failed to link, vertex shader(s) linked.
WARNING: 0:123: implicit cast from int to float
WARNING: 0:124: implicit cast from int to float
WARNING: 0:124: implicit cast from int to float
WARNING: 0:124: implicit cast from int to float
WARNING: 0:198: implicit cast from int to float
WARNING: 0:202: implicit cast from int to float
at com.badlogic.gdx.graphics.g3d.shaders.BaseShader.init(BaseShader.java:151)
at com.clashtune.engine.rendering.pipeline.GrassShader.init(GrassShader.java:567)
at com.badlogic.gdx.graphics.g3d.utils.BaseShaderProvider.getShader(BaseShaderProvider.java:37)
at com.badlogic.gdx.graphics.g3d.ModelBatch.render(ModelBatch.java:275)
at com.clashtune.engine.rendering.pipeline.Pipeline.drawModels(Pipeline.java:610)
at com.clashtune.engine.rendering.pipeline.Pipeline.draw(Pipeline.java:353)
at com.clashtune.scenes.battle.layer.BattleLayer.draw(BattleLayer.java:709)
at com.clashtune.engine.Layer.draw(Layer.java:192)
at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:110)
at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:56)
at com.badlogic.gdx.scenes.scene2d.Stage.draw(Stage.java:183)
at com.clashtune.engine.Director.update(Director.java:79)
at com.clashtune.ClashTune.render(ClashTune.java:89)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
The game looks cool, excited to check it out!
hmmm seems a shader problem, let’s investigate into this !
Received this error:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Fragment shader(s) failed to link, vertex shader(s) linked.
WARNING: 0:199: implicit cast from int to float
WARNING: 0:203: implicit cast from int to float
at com.badlogic.gdx.graphics.g3d.shaders.BaseShader.init(BaseShader.java:151)
at com.clashtune.engine.rendering.pipeline.GrassShader.init(GrassShader.java:567)
at com.badlogic.gdx.graphics.g3d.utils.BaseShaderProvider.getShader(BaseShaderProvider.java:37)
at com.badlogic.gdx.graphics.g3d.ModelBatch.render(ModelBatch.java:275)
at com.clashtune.engine.rendering.pipeline.Pipeline.drawModels(Pipeline.java:610)
at com.clashtune.engine.rendering.pipeline.Pipeline.draw(Pipeline.java:353)
at com.clashtune.scenes.battle.layer.BattleLayer.draw(BattleLayer.java:709)
at com.clashtune.engine.Layer.draw(Layer.java:192)
at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:110)
at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:56)
at com.badlogic.gdx.scenes.scene2d.Stage.draw(Stage.java:183)
at com.clashtune.engine.Director.update(Director.java:79)
at com.clashtune.ClashTune.render(ClashTune.java:89)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
@newera31 : I just uploaded a new version, I think I found the left errors ! (I don’t have this exception, so hard to debug…)
You can check for warnings with
int s = glCreateShader(GL_FRAGMENT_SHADER);
String warnings = glGetShaderInfoLog(s, 1024);
Always check these, not only on errors.
Same error:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Fragment shader(s) failed to link, vertex shader(s) linked.
at com.badlogic.gdx.graphics.g3d.shaders.BaseShader.init(BaseShader.java:151)
at com.clashtune.engine.rendering.pipeline.GrassShader.init(GrassShader.java:570)
at com.badlogic.gdx.graphics.g3d.utils.BaseShaderProvider.getShader(BaseShaderProvider.java:37)
at com.badlogic.gdx.graphics.g3d.ModelBatch.render(ModelBatch.java:275)
at com.clashtune.engine.rendering.pipeline.Pipeline.drawModels(Pipeline.java:619)
at com.clashtune.engine.rendering.pipeline.Pipeline.draw(Pipeline.java:362)
at com.clashtune.scenes.battle.layer.BattleLayer.draw(BattleLayer.java:709)
at com.clashtune.engine.Layer.draw(Layer.java:192)
at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:110)
at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:56)
at com.badlogic.gdx.scenes.scene2d.Stage.draw(Stage.java:183)
at com.clashtune.engine.Director.update(Director.java:79)
at com.clashtune.ClashTune.render(ClashTune.java:89)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)