Pages

Showing posts with label Unity 3D. Show all posts
Showing posts with label Unity 3D. Show all posts

Monday, March 8, 2021

Fedora 33 : Unity FPS Microgame.

Today I tested the FPS Microgame from learning area of Unity 3D with Fedora linux distro.
The project works great even my hardware is old.
This is an screenshot of the running process of the project.

Sunday, February 28, 2021

Fedora 33 : Unity Platformer Microgame 2D.

This Microgame Template is a classic 2D platform game that you can mod and make your own. Check out the Creative Mods to tweak the project and add your own levels, while learning the basics of Unity. Viewing from the Learn tab in the Unity Hub? Click Download Project > Open Project to automatically open it in Unity. Viewing from the Unity Learn website? Simply go to the Learn tab in the Unity Hub and search for this Microgame, or manually import it via the Asset Store link below.
I download the Unity Editor and Unity Hub AppImage.
I run the UnityHub.AppImage and I set the path of Unity Editor into settings area.
I login with my Unity account and on learning area in UnityHub application I download the Platformer Microgame.
I select to follow the tutorial on Unity I.D.E. environment.
You can see in the next screenshot how this works:

Tuesday, January 19, 2021

Fedora 33 : Create a simple GUI Button on Unity 3D.

It is very useful to create applications in the Fedora 33 Linux distribution with the Unity 3D game engine.
In today's tutorial, I will show you how to build the simplest GUI with C# and a dynamic button.
To create a button dynamically you need to use GUI.Button.
Open Unity 3D new project in your Fedora 33 distro.
Add a new Game Object by right click and select Create Empty.
Select Game Object use Add Component to add a New script and name it create_button.
Open it and add this source code:
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
 
public class create_button : MonoBehaviour {
   
    
    void OnGUI() 
        {    
            if (GUI.Button(new Rect(10, 10, 300, 20), "Test - Dynamically button")) 
            {    
                Debug.Log("Test button");
            }
            
        }
}
If you run the Unity project you will see a basic Unity 3D button, see the next image:

Thursday, October 22, 2020

Fedora 32 : Can be better? part 016.

Today I tested the Unity 3D version 2020 on Linux Fedora 32.
Maybe it would be better to integrate Unity 3D or Unity Hub in Fedora repo just like other useful software like Blender 3D, GIMP.
It will improve the user experience and attract new users and developers for this distro.
I download the AppImage from Unity website and I run with these commands:
[mythcat@desk Downloads]$ chmod a+x UnityHub.AppImage 
[mythcat@desk Downloads]$ ./UnityHub.AppImage 
r: 0
License accepted
...

Tuesday, February 25, 2020

Fedora 31 : Install Unity 3D on Fedora Linux.

If you want to install the Unity 3D software on Fedora 31 Linux distro then you can read my tutorial from this webpage.
To run Unity software you need to have one good hardware.
This install require to upload the license file even you use a free or pro license.

Sunday, February 5, 2017

Testing Unity 3D with Fedora 25 start with some bugs.

Today I will tested the Unity 3D with Fedora 25.
The hardware I used is:
video: # lspci -v | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
 
cpu: # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 60 Model name: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz Stepping: 3 CPU MHz: 2943.750 CPU max MHz: 3400.0000 CPU min MHz: 800.0000 BogoMIPS: 6385.65 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 6144K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts
The install can be used into root account:
[mythcat@localhost Downloads]$ sh unity-editor-installer-5.1.0f3+2015082501.sh This installer must be run as root. [mythcat@localhost Downloads]$ su Password: [root@localhost Downloads]# sh unity-editor-installer-5.1.0f3+2015082501.sh Installer for Unity 5.1.0f3 Press Enter to begin extracting to ./unity-editor-5.1.0f3 Unpacking Unity 5.1.0f3 ... 
Extraction complete. Run ./unity-editor-5.1.0f3/Editor/Unity to begin
First start of Unity come with this error:
$ ./unity-editor-5.1.0f3/Editor/Unity ./unity-editor-5.1.0f3/Editor/Unity: /home/mythcat/Downloads/unity-editor-5.1.0f3/Editor/Data/Tools/libgpg-error.so.0: no version information available (required by /lib64/libgcrypt.so.20) ./unity-editor-5.1.0f3/Editor/Unity: relocation error: /lib64/libgcrypt.so.20: symbol gpg_err_set_errno, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
I need to remove libgpg-error.so.0 file the from this folder:
rm /home/mythcat/Downloads/unity-editor-5.1.0f3/Editor/Data/Tools
After that the Unity Editor start well but another error come into default Unity scene.
Errors and problems I found:
- the new material cannot be added to the 3D object by drag and drop;
- the skybox come with a pink color without the sky I know from Windows OS (maybe some problems come from video: Shader compiler: internal error compiling shader snippet type=1 platform=0: Error reading external process - read 0 bytes and this Shader compiler: internal error compiling shader snippet type=1 platform=0: Error reading external process - read 0 bytes);
- the open C# script not work;
I make a Unity application - default scene and worked well.
I make a bug report here.
You can download the Unity sh file from here.

Tuesday, May 31, 2016

Fedora 24 alpha - Unity 3D.

I tested Unity 3D with the last Fedora 24 Alpha. For Unity I used c5.4.0b18 version - the sh file from here.
This will be more one review not another tutorial.
Because I tested this application I need to understand how packages need to install.
First, I used this command to make this folder: mkdir ~/.local/share/unity3d/Packages.
I install all packages: Mono , Mono develop, libpq , nodejs-npm*, postgresql-libs, postgresql.
The Unity editor interface working well.

The next step I tested the C# default script and working well.
The development team make a great work with this.