Game Project – Synchronizing

20151026-20151030: Node.js Last week I started reading about node.js while searching for multiplayer-solutions: http://gamedev.stackexchange.com/a/60440/73841 I wanted to try faster alternatives to MySQL for real-time updates about every objects position. After setting up a server and writing a smaller server-side-version JavaScript, I´ve decided to import needed code from the project through an http-call. In that wayContinue reading “Game Project – Synchronizing”

Game Project – Restructuring

20151020: Structure of The Nest I have collected all parts of the project and defined them as sub-objects to my main object “TheNest”. So when calling the world-method to draw, “TheNest.World.CtxDraw()” is used, and the loading of data uses “TheNest.Data.Load()”. This makes it easier to add and remove functionality without getting errors of undefined objectsContinue reading “Game Project – Restructuring”

Game Project – First Person View Controls

20151012-20151013: First Person Camera Controls Added support for looking around with pointer and move like in a FPS-game. Keyboard: WASD/Arrow-keys move the camera forward/back/left/right. Mouse: When this camera-mode is turned on, pointer position delta will turn the camera around. Touchscreen: A press in the center of the screen will move the camera forward while dragging/swipeContinue reading “Game Project – First Person View Controls”

Game Project – Textures & Lightning

20151005-20151011: Textures and lightning I got tired of using only my steel-texture and created some new ones. I also tried to improve the lightning so that every light in the scene wouldn´t affect every object as if nothing was in between. After tests with shadows & spotlights, I finally gave up and gave indoor lightsContinue reading “Game Project – Textures & Lightning”

Game Project – Importing Meshes

20150914: JSON import I did some modeling with Blender and exported with three.js JSON-exporter. Then I loaded the mesh with THREE.JSONLoader. After some testing & tweaking, I finally got it working with textures. 20150915: Collada import The JSON-loader could only load 1 mesh at the time and I needed to build larger models containing severalContinue reading “Game Project – Importing Meshes”

Game Project – Three.js

20150913: Three.js So, I got tired of spending too much time on my own WebGL-engine and decided to give three.js a try since it appears to be quite a complete library for WebGL and it´s already been a big inspiration. Now when I need more materials, importing meshes from Blender, UV-mapping for textures, lookat-functions forContinue reading “Game Project – Three.js”

Game Project – Navigation

20150831-20150904: Potential Fields / Path finding I tried to let the creatures build a PF-map where each wall generated negative levels on it and the target destination generated positive. But the terrain is too tricky inside a building (they are easily drawn into the center of the cell), so this would be better to useContinue reading “Game Project – Navigation”

Game Project – AI & 3D

20150825: 3DEngine Started to setup a link to my WebGL-script and placed meshes along with every object. 20150826: Perspective Camera Tried to match the 2D-view with a new 3D-view and ended up with using a perspective camera that was rotated 90 degrees along the Y-axis. When zooming, the camera will move closer to the groundContinue reading “Game Project – AI & 3D”

Design a site like this with WordPress.com
Get started