This is a simple scrip used by me to use a hat object for my Roblox player. The script needs to be put on the root of the hat object. If the hat has a bad orientation, then change the script variable AttachmentRight with a good vector. Let’s see the… Continue Reading Lua – Script for Roblox to use a hat.
This is a simple tutorial is about how to create a shader moon in time. Into your Godot project add a Sprite to Node2D. Add a New CanvasItemMaterial and then select Convert to ShaderMaterial to the Sprite. Open this shader and fill with this shader source code:
float time = TIME;
vec2 uv = UV;
float t = fract(time*0.01);
vec2 p = uv;
p.y += p.y*0.5 + (t - 1.8);
p.x += (t-1.8)+p.x*0.5;
vec3 basecol = vec3(199.0,190.0,100.0);
basecol.r += smoothstep( 0.2, 10.1, t*0.1);
basecol.g += smoothstep( 0.2, 10.1, t*0.1);
basecol.b += smoothstep( 0.2, 10.1, t*0.1);
vec2 m = vec2(-0.1,-0.1);
suncol = suncol*smoothstep(0.1, 0.01 , length(p)) * smoothstep(1.5,0.1,uv.y);
COLOR = vec4(suncol,0.1);
I used Godot version 3.0.6 to create a joystick scene for the game. First, you need to activate the touch option from Project Settings – Display – Windows – Emulate Touchscreen. This will allow you to use the touchscreen into your game. Create a scene with the name Analog and… Continue Reading Godot – create a joystick.
Today I will show you how to install Unity 5 for free. First will need to download it from official website – free download. You need to follow these steps: Select Unity 5 Personal Edition. Fill with your email address and password from Unity website account. Select your answers …… Continue Reading Programming with C# and Unity 3D game engine – part 002
Blender is an open source 3D content creation suite. Ogre 3D is a 3D library for multiple desktop and mobile platforms. But is a problem between this tow way. The last Blender 3D did not have yet a script to export the mesh to last Ogre 3D. What we can… Continue Reading Old tips and tricks with Ogre and Blender.