Let’s go to the point. First of all you must download and install NodeJS. After it’s installed, you’re ready to start to make new project. Open your Command Prompt, in Windows for example. Go to any folder/directory. Make new folder for your project, and go...
Unity Random Spawn Grid : Free script to randomly spawn objects in grid formation
If you want to spawn your prefab based on an imaginary grid, you can use this script. For example you want to create a scene with a lot of asteroids across the player, you can make an empty game object, attach this script and set...
How to play some audio and sound files by clicking some buttons respectively in Unity
Create a script in your Unity editor and name it MyAudioManager.cs Then paste this code: And watch the video for more steps: Then you will know how to play multiple audio sound files by clicking some buttons on Unity 😀
Fixing another problems on this Unity airplane game: it should not maneuver and glide on the ground
Yet there are still problems in this airplane system, it is able to rotate left and right, up and down, when it is on the ground. It should do that only when it’s flying. Another problem is when I start the engine and slightly slide...
How to make this airplane glide when the engine is suddenly stopped
On my previous video I fixed the gravity problem. Now the airplane is not stuck on the air when the engine is stopped. It is falling down. But problem is, it is immediately falls down without little bit gliding forward just like real aircrafts. So...
How to fix gravity problem on this aircraft game development
In this video I will fix the problem of my airplane. Which is the airplane is not falling down when I stopped the engine. After fixing this issue, you will see that the airplane will fall down after you stopped the engine. Check out the...
How to add wing flaps to your airplane in your aircraft unity game development
I did make a simple aircraft controller in Unity, and this time in this video I will add wing flaps to my aircraft. Wing flaps is some small wing objects in airplane wings that somehow rotates to control the aircraft movement. In this video I...
How to add a slider to control your airplane thrust and speed in Unity
In this video I’ll be showing you how to add a slider UI to your Unity games, and how to pair and connect it to the aircraft to control its speed. So the airplane by default is sitting on a runway. Then we can slide...
How to add slide left and right rotation and on screen buttons to your airplane in Unity
In this video I’m showing you how to rotate your aircraft in your Unity airplane game left and right (I mean to slide it left and right) both by using keyboard buttons (Q and E buttons) and also with touch screen buttons. So yes, this...
How to add aircraft controller buttons for your airplane game in Unity
In this video I will continue my tutorial about how to make airplane game in Unity. This part is about how to add buttons to control your aircraft. So basically we add 6 buttons on the game UI, two for left and right rotation, 2...
I always forget what kind of scale modes does Phaser js has. So here is the list…
I wrote this list of scale modes of Phaser engine, so later if I forgot I can take a look at it easily:
Getting started to make an aircraft that can take off and be controlled using WASD keyboard buttons on Unity
In this video I am trying to make an airplane that can take off and be controlled using my WASD buttons on my keyboard. It is somehow an experiment and also a tutorial, so please don’t be mad if I made mistakes in this video...
Unity Random Prefab Spawner Script
This script that I want to share with you is a simple script to generate randomly spawned prefab objects across your Unity scene. To use it, first make some multiple empty game objects as spawn points on your scene at different positions. Then apply a...
How to fix this Unity error: unity Exception in thread “main” java.lang.NoClassDefFoundError: javax…
It’s somehow annoying when I got this error in Unity: unity Exception in thread “main” java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema I got this error when I tried to add new GoogleMobileAds package to Unity. I got the error when I build my project. After googling around, finally the...
Easiest way to save a List variable to PlayerPrefs in Unity
Using PlayerPrefs in Unity is very useful to save and load user/player’s game data. But, problem is our player data is not always as simple as single string, or integer or float value of variable. For example, how do we store a List to PlayerPrefs?...
How to type something then it should redirect us to another page in HTML and JavaScript
I made this tutorial to answer a question asked to me about how to make something that if we type a word than it redirects us to some page. So I do this in HTML and JavaScript, and I hope I did not get it...
How to save and retrieve data in WordPress using get_options and update_options
In WordPress development, we often need to save and retrieve simple data in our database. By using get_options and update_options in WordPress this thing become super easy. Let’s say we want to save and retrieve a data called “User’s age”. First of all, we need...
Some handy PHP functions to create database table and add a column to it easily
I personally really like to do “make a table if not exists” and “add a column if not exists” to mysql database when working with PHP. By doing that I don’t have to manually create table and add column before populating it with data from...
How to make custom page for your plugin inside WordPress admin dashboard
Depending on what kind of plugin you are making, sometimes you want to make a settings page for your plugin so users can play around with the settings to control the way your plugin works. So how to make custom settings page for your plugin...
How to ride WordPress and use it’s database configurations to create our own tables and columns
When making a WordPress plugin sometimes we need to do some database operations, such as making table, adding column, inserting new data, updating data and so on. We can use current WordPress database connection that has been established before so we can just ride it....