Skip to main content

Posts

how to move rigid body object in unity

  here is a basic tutorial on how to move an object in Unity: Open Unity and create a new project. In the Hierarchy window, click on Create and select 3D Object. This will create a new 3D object in your scene. In the Inspector window, click on the Add Component button and search for the Rigidbody component. This component will allow the object to move and interact with other objects in the scene. Next, create a new script by clicking on the Create button in the Project window, selecting C# Script, and giving the script a name. Double-click on the script to open it in your code editor. In the script, add the following code: Copy-code using UnityEngine; public class MoveObject : MonoBehaviour { // Start is called before the first frame update void Start () { // Set the object's initial velocity GetComponent<Rigidbody>().velocity = new Vector3( 0 , 0 , 5 ); } } This code will set the object's initial velocity to move it in the posit...
Recent posts

the godot engine

  Godot   is a  cross-platform ,  free and open-source   game engine  released under the  MIT license . It was initially developed by  Argentine  software developers Juan Linietsky and Ariel Manzur [5]  for several companies in  Latin America  prior to its public release. [6]  The development environment runs on multiple operating systems including  Linux ,  BSDs ,  macOS , and  Microsoft Windows . It is designed to create both  2D  and  3D  games targeting  PC ,  mobile , and  web  platforms. It can also been used to create non game software, including editors. Features Godot aims to offer a fully integrated game development environment. It allows developers to create a game, needing no other tools beyond those used for content creation (visual assets,  music , etc.). The engine's architecture is built around the concept of a tree of "nodes". Nodes are organ...

What is SDL

  Simple DirectMedia Layer What is it? Simple DirectMedia Layer is a cross-platform development library designed to provide low-level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL/Direct3D/Metal/Vulkan. It is used by video playback software, emulators, and popular games including  Valve 's award-winning catalog and many  Humble Bundle  games. SDL officially supports Windows, macOS, Linux, iOS, and Android. Support for other platforms may be found in the source code. SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python. SDL 2.0 is distributed under the  Zlib license . This license allows you to use SDL freely in any software. This is the SDL wiki; SDL's main website is  libsdl.org . This wiki is your portal to documentation and other resources for SDL 2.0. Using the SDL documentation Wiki introduction to the features in SDL 2.0. Includes a Migration ...

HOW to create a game

  Learning how to make a video game from scratch can be a very fun and rewarding process.  With the rise of mobile gaming, people throughout the world are taking advantage of the huge video game market by creating and selling their games . Naturally, the number of people who are learning game development has also increased.         Different video games for different platforms and operating systems are created slightly differently, but they are  all based on the same general concepts. You will need to  learn how to code   in at least one language  before you can make your own game, especially if you want to be able to customize the way it looks and works.  Programming is the basis of video game development , and learning how to make a game from scratch involves  learning how to code . In this guide, I will introduce you to  the main principles of video game development . I'll show you the general steps that you need ...
Become a Patron!