I will try to remake this tank game
http://www.youtube.com/watch?v=sA13HISbejM&feature=related
Dont know how far I can get, cause of lack of time and knowledge, but I will try my best.
WASD – control for player 1
arrows -control for player 2
space = fire for player 1
o = fire for player 2
20 Nov version http://199.91.153.47/sfhtf2bil7rg/pr1cu460cjjgoin/STG.jar using 17 Oct nightly
27 Nov version http://199.91.153.203/t9th75nzm8rg/cucjv7s2ijxl17c/STG.jar using 26 Nov nightly
27 Nov version http://download1152.mediafire.com/74yc13fru4zg/4gediz1m66l43z8/STG.jar using 26 Nov nightly (added effect)
03 Dec version http://199.91.154.49/7syxg45bsxrg/5t3a3t7c4httkvw/S-TG.jar using 26 Nov? nightly
Good Luck! If you need any help with the rules, just ask
If you don’t have a lot of time to work on it, I’d advise you to first work on the core engine and important models. That way, you can finish the game - which is the most important thing.
thanks memonick, I have a question
Will I have to update the progress of my game here? Or will it be ok when I suddenly show my result at the end of December? (if I managed to get there)
You will have to show progress. If you don’t, it will be assumed that you had the game ready, and just posted the end result.
A little update
in past few days I was just sitting around, made some little tests to/and plan things.
today I started to code a little bit, reviewed my naked child and copied some of its code and ideas. Also made some fast models to see how my game will turn out.
Here is a pic of future
in next week i will slowly try to export those mesh into jme and make use of my tests (collision)
So this week I played more than work
Progress: 0.1%
Looks good
YAY! Very cool! Each step is an unit?
Interessting!
Must make it multiplayer
@Addez said:
Must make it multiplayer :)
Do not put obstacles on her road ;), it have to be made later :D.
EDIT: his xD
Guys, you gotta stop talking about naked children or Google is gonna blacklist us
@Addez
what do you mean with multiplayer ?
2 people together on one computer or multiplayers over the internet ?
I can make the first one(already planed as my ***** child )
The second is also doable , but there will sure be a lot of sudden death and problem, but I dont think I will put network in this game. May be when i have time.
@glaucomardano
I dont really know yet, we will see.
@erlend_sh
sry about the trouble, i didnt know google stick its nose into jme.
then I will call that ***** child of mine ***** child ^^
hope it is ok
and here is a little update about the game
managed to import meshes into jme, looks really really bad.
I cant even see the tank in the middle
and something didnt work as i planed.
http://imgur.com/UUJJr
Check if you have lighting.
I already have 2, without the second it would be even uglier ^^
[java]
DirectionalLight sun = new DirectionalLight();
sun.setDirection(new Vector3f(0f, -10f, 0).normalizeLocal());
root.addLight(sun);
DirectionalLight sun2 = new DirectionalLight();
sun.setDirection(new Vector3f(0f, 10f, -100).normalizeLocal());
root.addLight(sun2);
[/java]
I think it is because of my material in blender.
I will concentrate on physics first, then I will return with material things later.
I suck at material and texture … ^^
I was thinking both. But multiplayer over the net would be great
I exported a tank model with some color as ogre xml and loaded in my game
Tank2.mesh.xml
Tank2.material
so the name are the same.
I used nightly zip from jme and got a red tank (which means it cant load material file) the nightly zip are from 10,11,14,15 November
and with 17 October it has the right color. Did something change in jme3 recently with material from ogre?
http://imgur.com/Si4Ye
http://imgur.com/VqdIQ
Can you post the log? The material file should load fine …
from nightly 2011-11-16, still red tank
Nov 16, 2011 8:53:55 AM com.jme3.system.JmeSystem initialize
INFO: Running on jMonkeyEngine 3.0.0 Beta
Nov 16, 2011 8:53:55 AM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: /home/ace/workspace/Tank Game
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglAbstractDisplay run
INFO: Using LWJGL 2.8.2
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglDisplay createContext
INFO: Selected display mode: 800 x 600 x 0 @0Hz
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: null
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: null
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: Tungsten Graphics, Inc
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 2.1 Mesa 7.10.3
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 1.20
Nov 16, 2011 8:53:56 AM com.jme3.system.lwjgl.LwjglTimer
INFO: Timer resolution: 1,000 ticks per second
Nov 16, 2011 8:53:56 AM com.jme3.renderer.lwjgl.LwjglRenderer initialize
INFO: Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample, OpenGL20, OpenGL21, ARBprogram, GLSL100, GLSL110, GLSL120, NonPowerOfTwoTextures, VertexBufferArray]
Nov 16, 2011 8:53:56 AM com.jme3.asset.DesktopAssetManager
INFO: DesktopAssetManager created.
Nov 16, 2011 8:53:56 AM com.jme3.renderer.Camera
INFO: Camera created (W: 800, H: 600)
Nov 16, 2011 8:53:56 AM com.jme3.renderer.Camera
INFO: Camera created (W: 800, H: 600)
Nov 16, 2011 8:53:56 AM com.jme3.input.lwjgl.LwjglMouseInput initialize
INFO: Mouse created.
Nov 16, 2011 8:53:56 AM com.jme3.input.lwjgl.LwjglKeyInput initialize
INFO: Keyboard created.
Nov 16, 2011 8:53:56 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
Nov 16, 2011 8:53:56 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
Nov 16, 2011 8:53:56 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
Nov 16, 2011 8:53:56 AM com.jme3.material.MaterialDef
INFO: Loaded material definition: Unshaded
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Gui Node)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Statistics View) attached to this node (Gui Node)
Nov 16, 2011 8:53:57 AM com.jme3.material.MaterialDef
INFO: Loaded material definition: Phong Lighting
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Plane-geom-1) attached to this node (Plane-ogremesh)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Plane-ogremesh) attached to this node (Root Node)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Box) attached to this node (Root Node)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Box) attached to this node (Root Node)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Box) attached to this node (Root Node)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Box) attached to this node (Root Node)
Nov 16, 2011 8:53:57 AM com.jme3.scene.plugins.ogre.MeshLoader applyMaterial
WARNING: Cannot locate Material.001 for model modelPlayerTank/Tank2.mesh.xml
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Tank2-geom-1) attached to this node (Tank2-ogremesh)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Tank2-geom-2) attached to this node (Tank2-ogremesh)
Nov 16, 2011 8:53:57 AM com.jme3.scene.Node attachChild
INFO: Child (Tank2-ogremesh) attached to this node (Root Node)
Nov 16, 2011 8:53:57 AM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform g_CameraPosition is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].
Nov 16, 2011 8:53:57 AM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform g_WorldMatrix is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].
Nov 16, 2011 8:53:57 AM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_ParallaxHeight is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].
Nov 16, 2011 8:53:57 AM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_UseMaterialColors is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].
Nov 16, 2011 8:53:57 AM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_GlowColor is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].
Nov 16, 2011 8:53:59 AM com.jme3.renderer.lwjgl.LwjglRenderer cleanup
INFO: Deleting objects and invalidating state
Nov 16, 2011 8:53:59 AM com.jme3.input.lwjgl.LwjglMouseInput destroy
INFO: Mouse destroyed.
Nov 16, 2011 8:53:59 AM com.jme3.input.lwjgl.LwjglKeyInput destroy
INFO: Keyboard destroyed.
Nov 16, 2011 8:53:59 AM com.jme3.system.lwjgl.LwjglAbstractDisplay deinitInThread
INFO: Display destroyed.
here is the ogre files
http://download1007.mediafire.com/p0dy784f6kjg/wn9941gbqq28dhb/tank2.tar.gz
The model loads fine for me. Make sure the material is in the same folder
both of those files are in the same folder, the code is also the same, i just change between the jar from 17 Octorber(works) and 16 November(doesnt work).
may be my computer is broken somewhere. I will use 17 oct one then.
Wtf is this : WARNING: Cannot locate Material.001 for model modelPlayerTank/Tank2.mesh.xml ? Does not the material have the same name of the model? You have to do it before exporting.