Pages

Se afișează postările cu eticheta Unity. Afișați toate postările
Se afișează postările cu eticheta Unity. Afișați toate postările

luni, 23 martie 2020

Unity 3D : Use Quick Fix on Visual Code for Unity and Linux.

Because I don't use Unity 3D with Linux and Visual Studio today I solve another issue for the development area.
This is the quick fix option for Visual Code that helps the user to add source code.
For example, you can add source code for the implement an abstract class PlayerBaseState:
using UnityEngine;

public abstract class PlayerBaseState 
{
    public abstract void EnterState(PlayerController_FSM player);
    public abstract void Update(PlayerController_FSM player);
    public abstract void OnCollisionEnter(PlayerController_FSM player);
}
Create a new C# script named PlayerIdleState. The script needs to be changed into this source code:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerIdleState : PlayerBaseState
{
    
}
Select the PlayerIdleState and use these keys: Cmd or Ctrl and . (the point key) .
This will show a menu named Generate overrides... and help the developer to generate the new code:
The result is this source code with all new override for each of methods of PlayerBaseState class:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerIdleState : PlayerBaseState
{
    public override void EnterState(PlayerController_FSM player)
    {
        throw new System.NotImplementedException();
    }

    public override bool Equals(object obj)
    {
        return base.Equals(obj);
    }

    public override int GetHashCode()
    {
        return base.GetHashCode();
    }

    public override void OnCollisionEnter(PlayerController_FSM player)
    {
        throw new System.NotImplementedException();
    }

    public override string ToString()
    {
        return base.ToString();
    }

    public override void Update(PlayerController_FSM player)
    {
        throw new System.NotImplementedException();
    }
}

joi, 19 martie 2020

Unity 3D : Setup Visual Code for Unity and Linux.

The tutorial for today will cover the settings of Visual Code and Unity into a Linux distro.
First, you need to install the Visual Code into your Linux distro.
You need to have the Unity 3D software working well into the Linux distro.
Open the Unity 3D software and create a new script using the main menu: Assets - Create - C# Script.
Open into Unity 3D from the main menu: Unity - preferences - External tools.
Select the Visual Studio Code like into the next image:

Double click on the newly created C# script.
This will open the Visual Studio Code and will ask you to install the C# feature using the Install button, see the next image:
 
This will install the C# extension for Visual Code.
The last step is the install of DotNet for Visual Code.
Use the button with the name Get the .Net Core SDK to install the Net CORE.
This will redirect to a webpage where you find the commands to install for your Linux distro.
After these steps, you can use Unity 3D software with Visual Code.

duminică, 15 martie 2020

Unity 3D : Settings for Android build game.

If you try to set the Android SDK on Unity 3D using the Linux O.S. then you can have a problem.
After you set the name of the package and the default android settings you can use External Tool from menu Edit - Preferences to set paths for Android SDK, NDK, and more.
This is the path I used to build with Android:
  • /home/catalin/Unity/Hub/Editor/2019.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer/OpenJDK
  •  /home/catalin/Unity/Hub/Editor/2019.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer/SDK
  • /home/catalin/Unity/Hub/Editor/2019.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK
  • /home/catalin/Unity/Hub/Editor/2019.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools/gradle
You can see the android SDK, NDK and Gradle is set on the Hub Editor This is my External Tools configuration for that build game:

Unity 3D : The new learning area ...

The Unity 3D game engine comes with significant improvements in the learning area.
If you know nothing about Unity Editor and C # then this area has a simple and efficient introduction for new developers of this game engine.
For example , see the Creator Kit: Beginner Code.
You can start with John Lemon's Haunted Jaunt: 3D Beginner or with the Ruby's Adventure: 2D Beginner.
I am starting to see how deep and good these tutorials are and for me it was quick to follow them and use them.
This is an more advance learn step from Unity 3D using the Creator Kit: Beginner Code.

marți, 25 februarie 2020

Unity 3D on Fedora 31 Linux distro.

First, you need to have good hardware to run the Unity 3D software on Fedora 31 Linux.
To install on Fedora 31 Linux is easy to do. You need to download the Unity beta application from this website.
[mythcat@desk ~]$ cd Downloads/
[mythcat@desk Downloads]$ chmod +x UnitySetup-2018.2.7f1 
You need to install this package for this file: libgconf-2.so.4
[root@desk Downloads]# dnf install GConf2-devel.x86_64
The next step is simple run the installer and follow the interface...
[mythcat@desk Downloads]$ ./UnitySetup-2018.2.7f1 
If you want to use a free license then you need to save the license from application into the file named Unity_v2018.2.7f1.alf .
Using the Unity website manual activate the free license and download the file named Unity_v2018.x.ulf. You can use the UnityHub.AppImage from Unity official website to install any Unity 3D version:
[mythcat@desk Downloads]$ chmod +x UnityHub.AppImage 
[mythcat@desk Downloads]$ ./UnityHub.AppImage 
See the screenshots:

marți, 16 aprilie 2019

The new Unity 3D version 2019.1 .

The new Unity version comes with many features, see the official website.
System Requirements for Unity version Unity 2019.1 are:
Released: 16 April 2019 
OS: Windows 7 SP1+, 8, 10, 64-bit versions only; macOS 10.12+ 
GPU: Graphics card with DX10 (shader model 4.0) capabilities. 
The official blog can be found here.

joi, 8 noiembrie 2018

Unity 3D : Unity 2D Challenge.

Here's an unexpected opportunity for Unity 3D game developers to develop 2D games.
About this challenge the Unity team come with this info:
The prizes:
1st - $2000
2nd - $1000
3rd - $500
Special Mention - $500
Join the Unity 2D Challenge to become part of an exciting community journey exploring the possibilities of our new 2D tools.
How to participate 
Create a small piece of content using Unity’s 2D tools. It can be anything from pixel-perfect retro-style art to a snippet of hand-drawn platforming gameplay or a thin vertical slice of a 2D competitive brawler. Anything goes, as long as it’s 2D. See the FAQ at the bottom for more info.
See this video intro:

miercuri, 3 octombrie 2018

Unity 3D : FBX Exporter asset.

Today I will show you how to use an asset in Unity Store named FBX Exporter.
A short video tutorial was presented at Siggraph 2018 de Liz Mercuri (Technical Evangelist, Unity Technologies), see this video tutorial:

Let's see how to use this asset.
First, you need to download and import it from Unity Store.
Search using the name of this asset FBX Exporter from Unity.

Use import option to use this asset.
To start this asset use from menu: Edit - Project Settings - Fbx Export.

This will open this asset into Inspector area:

You can use just Maya and 3D studio Max 3D software to work with this asset.

joi, 21 iunie 2018

News : Get up to $311 in free assets.

News for Unity 3D users and development teams.
The Unity 3D team come with this new feature to have more assets into your game development:
  Spend between $50 and $250 in the Unity Asset Store during the month of June 2018, and get up to five free assets, worth $311 in value. Activate now by submitting your Asset Store login (your email) here.*
Read about this here.

sâmbătă, 5 mai 2018

Unity3D : The Obi 3.4

This new release come with this news and features:
Obi is the first CPU-based real time unified physics framework:
  • Unified framework for character and interactive cloth, fluids, ropes...
  • Advanced editor tools
  • High performance multithreaded solver
  • Two-way interaction with rigidbodies, supports all collider types
  • From low budget, simple effects to extremely complex behavior
The main goal of this release is focuses on rendering particles and fluids.
The youtube channel can be found here.
You can see into the next video the good start of this asset into cloth simulations :

marți, 24 aprilie 2018

Unity3D : ProBuilder tool .

The development team tell with this shot intro:
Prototype Rapidly: Build basic or advanced geometry, right in Unity, with zero creative barriers. Play Instantly: Playtest at any time, then edit immediately, and never leave Unity. No time (or sanity) wasted.
You can see many tutorials on official youtube channel, see this:

The install work into Asset Store tag area into your Unity 3D game engine.
You need to search with the word ProBuilder then use Download and Import buttons.
Next, You will see a window with all scripts and objects to import it ( use All and Import buttons).
After the tool is install you can see a folder into Asset area and you can use this tool from: Main menu - Tools - ProBuilder . This tool come with default 3D primitives and many features.

miercuri, 7 martie 2018

News : Mozilla offers free assets for Unity3D VR .

The Unity WebVR assets allow to view the Unity generated VR objects in Firefox.
This is not news, which is new is this news:
Mozilla offers free assets that link Unity3D VR content to the web browser.
The Mozilla developers write in their announcement and also come with a good online demo.
This free assets can be found here.
The description of this asset named WebVR Assets come with this text:
Easily create VR experiences using Unity that you can view directly on your Web browser. It works in Firefox and Microsoft Edge WebVR enabled browsers!

luni, 25 decembrie 2017

Christmas - Unity 3D with WebGL and old carol .

This is a test with particles using Unity 3D and WebGL output.
The next step will be a android application.
The project use three particle generators to create a Christmas tree, a snow particle generator, a game object for sound, and a text object game.
The project has also a C# script to set the particles.
The font used is the Kremlin Orthodox Church and is under the GNU General Public License.
This old carol is singed by Balada Group from Fălticeni, Romania and coordinated by Maria Tanase.

Merry Christmas! - Crăciun fericit!

marți, 19 decembrie 2017

News: The new released Unity 2017.3 .

The development team tell us:
We’re excited to share all the great new and improved features available today with Unity 2017.3.
Read more from on this article.

vineri, 1 decembrie 2017

The infinitown from Little Workshop digital studio .

Today I show you a great webgl city from this WebGL experiment .
Is an a procedural city that feels alive.
Used a finite grid of random city blocks and using this tools: Three.js, Blender, Unity.
All models come from SimplePoly a team from Little Workshop.
This is a digital studio specialized in WebGL experiences.
This is a screenshot with this webgl experiment:

duminică, 12 noiembrie 2017

Unity 3D and the Puppet2D tool .

This tool can help you to animate sprites with Unity 3D.
You can create 2D skeletons, skin your characters to the bones, and create really easy to use controls that make animating 2D characters.
The tool come with this price $30.00 from this link.
First you need to create a 2D project into Unity 3D.
After you download this tool into your Unity 3D  then you can deal with this tool.
The main goal is to assemble sprites into a character and then create the desired animation.
Then the animation will be embedded in your project just like any animation.
See the next tutorial from official youtube channel of  Puppet2D tool:

vineri, 7 iulie 2017

News: New Unity 2017 beta version release.

This new release is beta 2017.2.0b2 version release from Unity development team.
Is full with new features like:

  • learn feature into started application;
  • introducing Unity Package Manager;
  • Services: Performance Reporting Service with support for native crashes on Android;
  • Timeline support for Avatar Masks on Animation Tracks;
  • Video with pixel aspect ratio support for non-square pixel;
  • WebGL come with  linear rendering to WebGL 2.0;
  • OSX: support for Retina in macOS standalone builds;
  • 2D: with Tilemap;
  • Editor: fix scripts editor, script compilation times and  splitting your project's scripts;
  • Graphics: Implemented Display-P3 color gamut support  for iOS and macOS;
  • VR: Updated Oculus to version 1.14;

...and more
 You can read one full page of changes and features from new Unity - here.

miercuri, 24 mai 2017

Testing Mapbox with Unity using unitypackage .

This unitypackage let you to use some maps features like:
Maps and location data optimized for Unity. Written from the ground up in C#, the Mapbox Unity SDK unlocks global data to generate custom 3D worlds, power location lookup, and incorporate traffic-based directions in your next Unity project.
You can download this unitypackage from mapbox.com.
Let's test with Unity ( version 5.6.0f3 Personal ) .
First you need to download it and then you need to import it into your project.
Import package in Unity from the Unity editor menu: Assets - Import package - Custom Package or use double-click on downloaded mapbox-unity-sdk_v0.5.1-beta.unitypackage.
Take an API token is required to access Mapbox services.
Use your token from here into Unity project.
Use click Mapbox - Configure Access from the Unity Editor menu and then paste your token into the Token field. Assuming your token is valid.
This SDK is pretty and complex, but you can find examples with the installation of this packet and so try and modify it until you get used to it.
Here's a screenshot of a few minutes of testing and testing with this SDK.

miercuri, 30 noiembrie 2016

Unity 5.5 beta - news.

If you like the Unity game engine and game programming then the Unity blog come with news.
The new the list of features and improvements are huge but the most great part for me s the particle and effects. You can see the demo from the new Unity.

miercuri, 1 iunie 2016

News: New Unity products and prices.

The development team announced new products that will launch in June.
As we can see with the new products you will benefit from:
  • All platforms. No iOS or Android Pro add ons, everything’s now included
  • All updates more regularly, with no extra costs 
  • New features and tools – from performance reporting to new Analytics realtime and raw data to Asset Store project packs and more 
See more about this news here.