2011年8月12日

JME中级手册,SimpleApplcation

摘要: SimpleApplication ClassThe com.jme3.app.SimpleApplication class extends the com.jme3.app.Application class to provide default functionality like a first-person (fly-by) camera, and a scenegraph with a rootNode that is updated and rendered regularly. By default, a SimpleApplication displays statistic 阅读全文

posted @ 2011-08-12 11:40 苏桓(osbert) 阅读(494) 评论(0) 推荐(0) 编辑

JME3中级手册--最佳实践1

摘要: 需求整理As a quick overview, answer yourself the following questions:Motivation(理念)Sum up your game idea in one sentence. If you can't, it's too complicated.用一句话总结游戏的想法,如果做不到就太复杂了Who's the target group? Why would they choose your game over the million others that exist?谁是目标群体?为什么选择这个游戏?Game 阅读全文

posted @ 2011-08-12 11:39 苏桓(osbert) 阅读(364) 评论(0) 推荐(1) 编辑

JME中级手册,Applcation

摘要: Application ClassThe com.jme3.app.Application class represents an instance of a real-time 3D rendering jME3 application. A com.jme3.app.Application provides all the tools that are commonly used in jME3 applications.Class field or methodPurposecontextThe application context contains renderer,AppSetti 阅读全文

posted @ 2011-08-12 11:39 苏桓(osbert) 阅读(469) 评论(0) 推荐(0) 编辑

JME3中级手册一API特征映射4

摘要: GUI DisplayHow do I…?Use this JME 3 Feature!Learn more here…SimpleApplication中的默认调试显示app.setDisplayFps(false);app.setDisplayStatView(false);N/A显示文字(分数,生命值)迷你地图或状态图标Attach a picture to the orthogonalguiNodeto create a heads-up display (HUD).com.jme3.font.*, com.jme3.ui.Picture. guiNode.attachChild()H 阅读全文

posted @ 2011-08-12 11:38 苏桓(osbert) 阅读(426) 评论(0) 推荐(0) 编辑

JME3中级手册一API特征映射3

摘要: 动作,互动,物理How do I…?Use this JME 3 Feature!Learn more here…实现游戏逻辑和游戏力学Use Controls to define behaviours of types of Spatials. Use Application States to implement global behaviours. Use thesimpleUpdate()loop for the remaining tests and interactions. Use Cinematics to remote-control objects in scenes.使用 阅读全文

posted @ 2011-08-12 11:37 苏桓(osbert) 阅读(661) 评论(0) 推荐(0) 编辑

JME3中级手册一API特征映射2

摘要: 创建和操作物体How do I…?Use this JME 3 Feature!Learn more here…制作简单形状像立方体,球体com.jme3.scene.Geometry, com.jme3.scene.shape.*Hello Node,ShapeTestCylinder.java,TestBox.java,TestSphere.java创建3D模型Create the model in a 3-D mesh editor (for example Blender) and export it as OgreXMLmesh.Download Blender,Blender tu 阅读全文

posted @ 2011-08-12 11:35 苏桓(osbert) 阅读(580) 评论(0) 推荐(0) 编辑

JME3中级手册一API特征映射1

摘要: 应用和场景绘制How do I…?Use this JME 3 Feature!Learn more here…启动预先设定的游戏com.jme3.app.SimpleApplicationHello SimpleApplication使物体显现在场景Attach nodes and geometries to the rootNode: rootNode.attachChild(geo);com.jme3.scene.Node, com.jme3.scene.Geometrynode.setCullHint(CullHint.Never);The Scene GraphHello Asset 阅读全文

posted @ 2011-08-12 11:34 苏桓(osbert) 阅读(334) 评论(0) 推荐(0) 编辑

JME基础教程代码分析13物理碰撞

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.asset.TextureKey;import com.jme3.bullet.BulletAppState;import com.jme3.bullet.control.RigidBodyControl;import com.jme3.font.BitmapText;import com.jme3.input.MouseInput;import com.jme3.input.controls.ActionListener;import com.jme 阅读全文

posted @ 2011-08-12 11:33 苏桓(osbert) 阅读(760) 评论(0) 推荐(0) 编辑

JME基础教程代码分析12 效果控制

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.effect.ParticleEmitter;import com.jme3.effect.ParticleMesh;import com.jme3.material.Material;import com.jme3.math.ColorRGBA;import com.jme3.math.Vector3f;/** Sample 11 - how to create fire, water, and explosion effects. */public 阅读全文

posted @ 2011-08-12 11:32 苏桓(osbert) 阅读(273) 评论(0) 推荐(0) 编辑

JME基础教程代码分析11 音频

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.audio.AudioNode;import com.jme3.input.controls.ActionListener;import com.jme3.input.controls.MouseButtonTrigger;import com.jme3.material.Material;import com.jme3.math.ColorRGBA;import com.jme3.math.Vector3f;import com.jme3.scene 阅读全文

posted @ 2011-08-12 11:31 苏桓(osbert) 阅读(305) 评论(0) 推荐(0) 编辑

JME基础教程代码分析9 碰撞、刚体、场景加载

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.asset.TextureKey;import com.jme3.asset.plugins.ZipLocator;import com.jme3.bullet.BulletAppState;import com.jme3.bullet.collision.shapes.CapsuleCollisionShape;import com.jme3.bullet.collision.shapes.CollisionShape;import com.jme3 阅读全文

posted @ 2011-08-12 11:30 苏桓(osbert) 阅读(839) 评论(0) 推荐(0) 编辑

JME基础教程代码分析10高度图

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.material.Material;import com.jme3.renderer.Camera;import com.jme3.terrain.geomipmap.TerrainLodControl;import com.jme3.terrain.heightmap.AbstractHeightMap;import com.jme3.terrain.geomipmap.TerrainQuad;import com.jme3.terrain.heig 阅读全文

posted @ 2011-08-12 11:30 苏桓(osbert) 阅读(399) 评论(0) 推荐(0) 编辑

JME基础教程代码分析8 碰撞

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.collision.CollisionResult;import com.jme3.collision.CollisionResults;import com.jme3.font.BitmapText;import com.jme3.input.KeyInput;import com.jme3.input.controls.ActionListener;import com.jme3.input.controls.KeyTrigger;import c 阅读全文

posted @ 2011-08-12 11:29 苏桓(osbert) 阅读(413) 评论(0) 推荐(0) 编辑

JME基础教程代码分析7

摘要: 对原版做了一定的修改package com.hello;import com.jme3.animation.AnimChannel;import com.jme3.animation.AnimControl;import com.jme3.animation.AnimEventListener;import com.jme3.animation.LoopMode;import com.jme3.app.SimpleApplication;import com.jme3.input.KeyInput;import com.jme3.input.controls.ActionListener;im 阅读全文

posted @ 2011-08-12 11:28 苏桓(osbert) 阅读(412) 评论(0) 推荐(0) 编辑

JME基础教程代码分析6

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.light.DirectionalLight;import com.jme3.material.Material;import com.jme3.material.RenderState.BlendMode;import com.jme3.math.ColorRGBA;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.shape.Box; 阅读全文

posted @ 2011-08-12 11:27 苏桓(osbert) 阅读(765) 评论(0) 推荐(0) 编辑

JME基础教程代码分析5

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.material.Material;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.shape.Box;import com.jme3.math.ColorRGBA;import com.jme3.input.KeyInput;import com.jme3.input.MouseInput;import com.jme3.input. 阅读全文

posted @ 2011-08-12 11:27 苏桓(osbert) 阅读(402) 评论(0) 推荐(0) 编辑

JME基础教程代码分析4

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.material.Material;import com.jme3.math.ColorRGBA;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.shape.Box;/** Sample 4 - how to trigger repeating actions from the main update loop.* In this ex 阅读全文

posted @ 2011-08-12 11:26 苏桓(osbert) 阅读(285) 评论(0) 推荐(0) 编辑

JME基础教程代码分析3

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.font.BitmapText;import com.jme3.light.DirectionalLight;import com.jme3.material.Material;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.Spatial;import com.jme3.scene.shape.Box;/** Sample 3 - h 阅读全文

posted @ 2011-08-12 11:24 苏桓(osbert) 阅读(335) 评论(0) 推荐(0) 编辑

JME基础教程代码分析2

摘要: package com.hello;import com.jme3.app.SimpleApplication;import com.jme3.material.Material;import com.jme3.math.Vector3f;import com.jme3.scene.Geometry;import com.jme3.scene.shape.Box;import com.jme3.math.ColorRGBA;import com.jme3.scene.Node;/** Sample 2 - How to use nodes as handles to manipulate ob 阅读全文

posted @ 2011-08-12 11:24 苏桓(osbert) 阅读(305) 评论(0) 推荐(0) 编辑

JME基础教程代码分析1

摘要: 有人还在问ecplisce的JME3开发环境怎么配,其实文档和教程已经说了:Using any other IDE, create a Java SE project and placejMonkeyEngine3.jarand all JARs from thelibdirectory on the Classpath. 使用其他IDE工具需要把jMonkeyEngine3.jar包和lib目录下的JARS包加到Classpath下,我的还是做个user lib好。第一个程序package jme3test.helloworld;import com.jme3.app.SimpleAppli 阅读全文

posted @ 2011-08-12 11:18 苏桓(osbert) 阅读(450) 评论(0) 推荐(0) 编辑

导航