Skip to main content

Posts

Godot H5 build

The Godot engine is a pretty good alternative for any of the 2D/3D open source engines out there. One if the features that got me excited about the engine was the Html5 support. With one click of the button you can export the game onto any of the platforms android, iOS, mac, Linux and html5. The only problem... The h5 exporter didn't work right out of the box for 1.0 version of Godot. I looked at it and was unable to figure out what was going on. I searched their forums, Facebook page and the only answer I got was that it was broken and that the devs knew about it. The html5 exporter was based on emscripten . I downloaded the source code and tried to compile for h5. The platforms is described as JavaScript. The compilation was working fine but linking not so much. It would report a lot of unresolved symbols .. The basic things like gd script were not working. I had to look up how scons worked. Had to figure out why the existing build wasn't working. ... Then I came ac...

Flash animations in GoDot Engine

If you have not heard about GoDot game engine,.. you should check it out right away.. godotengine.org Last time, i wrote a blog post about my experience making a simple physics game to GoDot Engine. Though there are a bunch of free options announced during the GDC this year, i thought ill' contribute to the engine. The one piece that is most important for game dev is the pipeline for the engine. One of the most common tools used for 2D animations is Flash. I have been using a library called Super Animation for almost all the games we've made for android at TMG. It's  a  free tool which lets you convert swf files to .sam files. This file can then be loaded in Cocos2Dx using the Open source loader library  https://github.com/raymondlu/super-animation-samples I thought it would be a good idea to port this cpp library to GoDot so that i understand how to write custom modules for the engine. This is the video of the module in action. I have expos...

GoDot (Dont Touch Spikes)

Last time i basically explained what it felt like using the GoDot engine gui while i was creating the simple game of Dont' touch the spikes. In this post i will cover how i went about setting up the scene and issues i faced. The Scene Setup Coming from cocos2d-x i'm used to Layers, Scenes as container objects to setup a gameplay scene. In GoDot however i was unable to find any such nodes. Instead i just had to use a Node2D . This is pretty much the starting point of the game scene structure. I then added a RigidBody2D named it Player. This was going to be the physics body for dealing with user inputs etc. I then added a Sprite to the RigidBody. If you have used unity you would start wondering where do i add the collisionbox component to the rigid body. Simple answer is .. you dont. You actually have to add a node called CollisionShape2D  as a child to the RigidBody2D to be able to detect physics collisions in the simulations. So the Scene tree looks lik...

GoDot Engine

GoDot is an OpenSource 2D/3D game engine. There isn't any shortage of game engines these days. It's just a matter of preference and getting the pipeline ready for that engine that takes a while. I've been using cocos2d-x for a while now for most of my 2D games. GoDot Engine GUI But Iv'e been thinking about using a GUI based integrated Game engines for future projects so the obvious choice was Unity engine. Its a pretty stable platform and has a bunch of plugins for every thing you want to do, and is pretty much the gold standard for mobile development. There are still a couple of things i still don't like about it.. which includes the lack of control and large build size.. well if something isnt' working.. there is no way for me to figure out if it was my code issue or something wrong in the engine. The community is almost always there to help but its' not a guarantee. I was still searching for an engine that would be easy to use and would give me th...

2D Soldier

One of my friends had designed a simple 2d character that we wanted to use for a game. As one might expect.. it never got realised. So I thought ill' put up the asset for use by others who might be interested. This is how the animation will Look 135x240 pixels each piece I used blender to create a rigged model with the body parts as rectangles, then texture mapped it.  Animation and rendering were done using blender.  The final step of creating spritesheet was done using Gimp.

Images in DIV

I;ve always had problems placing images in the div elements. its' not that i cannot place an img inside a div element.. it's hard to place it at the right position. But ive' come across this interesting trick which has been kind of a revelation for me.. http://jsfiddle.net/y6a7xqqj/ Try out the above jsfiddle test i created. It's amazing how flexible it is.     background-position: 50% 50% There is a short hand representation for all the properties that are covered by background.. background: url('urltoimg') no-repeat 50% 50% This is the most beautiful thing ive' come across for positioning an image. You should be able to center the image where ever you feel like. 

Our Kitchen

Kitchen by gizmo_thunder on Sketchfab Here is a quick 3D model i built for designing our kitchen. It was fun doing it. I really didn't do the scene graph properly  as i was trying to get it finished quickly. But it does represent what we wanted to achieve :)L