Sometimes we need to create some dummy crowd cars that move from a point to another points to fill up the scene with fake traffic system. This script, which I call it WP Patrol is able to move any object, let’s say a car, to...
Author: Habibie
How to use Facebook Comments plugin dynamically in your PHP websites
This tutorial in this video showing you how to use Facebook Comments Plugin dynamically on each page of your website without adjusting it one by one on each page with the help of PHP.
How to prevent a camera from going inside any collision object in Unity3D
Sometimes when our camera moves, it goes inside an object like wall, tree or any other object. How to prevent that? This is very simple solution, you can try it wit a few mouse clicks. The solution is to add a collider and rigid body...
Another tutorial about Smooth Camera Follow in Unity
Hi, previously I’ve made a tutorial about how a camera can follow an object smoothly in Unity. That tutorial was in this link: https://www.youtube.com/watch?v=3QbHSlC5a3o But seems some have problem, they said camera movement is shaky and laggy. So, here is another tutorial, this time I...
Showing Previous and Next Tab Divs with JavaScript and jQuery
Here is another example and tutorial how we can do a show and hide previous and next HTML5 divs/tabs based on it’s id’s and classes… The idea is simple, we must store a value of a number of current tab that we are seeing right...
Generating random a mix of random letters and numbers in PHP
By calling str_shuffle method in PHP, we can generate a random mix of latters and numbers. For example, if we want to fill $bookid string variable with 10 letters and numbers (mixed of them), we can do it this way: And the result is this:...
Checking uploaded file extension with PHP before storing it on our server
We often allow our users to upload files to our server. It is important to limit file extensions that we accept. For example, we need to only accept .pdf and .txt files from our users, we don’t want them to send us any other files...
How to create day and night cycle in unity
In this tutorial I will show you how to crate a day and night cycle in Unity just by animating the direct light and using it as the sun. You will also see how to create dynamic lights that can be switched on on night...
How to create a simple moving train locomotive and wagons in Unity3D
In this tutorial you will see how to easily create a moving locomotive and wagons along the spline track in Unity3D.
How to Pause and Resume game in Unity3D
How to create pause and resume button for our Unity games? It’s easy. In this video tutorial I will show you how to set up the Pause and Resume UI.
How to create simple menu navigation and switch between menu screens in Unity
I’ve made a step by step video tutorial to create a basic menu and navigation script in Unity3D. So basically you can see the Main Menu with two buttons to navigate to its sub menus, and in each sub menus you have a back button...
Enemy Patrol Starting from the Nearest and Closest Waypoint in Unity3D
I’ve created a simple C# script for Unity game that allows you to create a patrolling enemy around multiple waypoints (check points). It will start patrolling from the nearest / closest waypoint available around the patrolling object, then it continues to check the next waypoint...
How to add a Virtual Joystick in your Unity game easily
In this video I’m showing how to add a virtual joystick in your Unity by importing this package called MyJoystick. See how to use this package in this video and have fun. Here is the link to download the package, it’s from my Google Drive:...
Simple JavaScript function to capitalize first letter of a word
Hi! Previously I was searching for a way to capitalize the first letter of a word in JavaScript. I thought there is built in function/method in JavaScript to do that, but I didn’t find it. So, here is a simple function that I’ve made. To...
How to generate random sentence consisted of random words with PHP
In this post I’m going to share a simple PHP script to generate random sentence consisted of random pre-defined words. For example I want to show a text saying: “Hi, thank you for visiting my website” several times, but I don’t want repetitively saying exactly...
Silly PHP Number Encoder and Decoder Program
Imagine you are creating a PHP program and you can pass some number parameter in url to retrieve content from your server. Then maybe you are thinking if you let people seeing those numbers in their url, they can change that number to any number...
Tutorial on Creating HTML5 and JavaScript Load More Button
In this video tutorial I’m sharing about how to create “Load More” button in JavaScript to show partial contents of an array variable. Please note that in this technique first I retrieve all the information from server at single shot and store it in single...
Creating Greeting Card Maker WebApp with Phaser
Phaser.js is a good library for creating HTML5 games. However, this time I tried to use Phaser to make a greeting card maker web app. Visit CardU a webapp that I’ve made recently. You can test it and see how it works. Here I will...
How to move an enemy towards the player in Unity3D
When you make a game, you often need to make enemies that move towards the player. In this video I’ll share some method to move an enemy object towards the player in Unity3D. Watch this video to see how to do it by creating a...
How to animate a texture in Unity3D
Instead of animating texture itself, we can animate the coordinate of the texture by script in Unity3D. In this video tutorial I’ll show you how we can animate a texture in Unity3D. Here is the script I used in the video: