Unity simple lightweight ECS framework LeoECS Chinese document

LeoECS - simple lightweight C# entity component system framework Performance, zero / small memory allocation / footprint, the main goal of this project - independent of any game engine. **Important** It is a "structure based" version, if you search for a "class based" version - check Class based branching! This fr ...

Posted by kittrellbj on Thu, 20 Jan 2022 07:05:46 +0100

Unity implementation generates local QR code and accesses QR code content

Unity version: April 36, 2018 visual studio version: 2020; Reference Library: zxing unity. dll Recently, in a face changing project, baidu face fusion API was selected for face fusion, Specific implementation documents: The merged pictures are saved to the local host, the host port is opened, and the pictures can be saved to other devices in th ...

Posted by chwebdesigns on Tue, 18 Jan 2022 22:46:20 +0100

โ˜€๏ธ Explosive liver wrote a real-time combat game Demo similar to the Royal war all weekend! More than 20000 word game production process + analysis! [recommended collection and learning]

๐Ÿ“ข Blog home page: https://blog.csdn.net/zhangay1998๐Ÿ“ข Welcome to praise ๐Ÿ‘ Collection โญ Leaving a message. ๐Ÿ“ Please correct any errors!๐Ÿ“ข This article was originally written by little Y, who knocked the code blankly, and was first launched in CSDN ๐Ÿ™‰๐Ÿ“ข The future is long, and it is worth our efforts to go to a better life โœจ ๐Ÿ“ข ...

Posted by activeradio on Mon, 17 Jan 2022 13:33:35 +0100

Unity Shader from getting started to**

1, Concept Shader is actually a technology specially used to render graphics. Through shader, we can customize the algorithm of graphics card rendering to make the picture achieve the effect we want. Small to every pixel, large to the whole screen Shader s fall into two categories: 1. Vertex Shader (3D graphics are composed of triangular ...

Posted by squariegoes on Sun, 16 Jan 2022 01:15:41 +0100

Newtonsoft is used in unity C# A simple tutorial on serialization and deserialization of strings by Jason

I Background introduction 1. What is json JSON (JavaScript object notation) is a lightweight data exchange format. It is based on a subset of ECMAScript (js specification formulated by W3C) and uses a text format completely independent of the programming language to store and represent data. The concise and clear hierarchy makes JSON an ideal ...

Posted by owned on Sat, 15 Jan 2022 18:53:32 +0100

Polygon clipping 1

Original address: https://sean.cm/a/polygon-clipping-pt1 Greiner Hormann clipping algorithm cannot handle coincident lines. So I studied and wrote another article that applies to all polygons. Read on here: Polygon clipping (Part 2) problem First, let's define the problem, Suppose you have two polygons, each in 2D var poly1 = [ // red ...

Posted by nawhaley2265 on Sat, 15 Jan 2022 04:11:31 +0100

Unity screen post-processing and principle

Post processing principle and process Post processing is to process the image after rendering, and unity uses C# script It is not displayed after rendering, take one more step, and then display it on the screen after script processing, so as to realize various blur effects, Bloom, stroke and so on General process of post-treatment Obt ...

Posted by brokenshadows on Fri, 14 Jan 2022 13:35:59 +0100

Unity editor development practice [Custom Editor] - FSM Editor

This paper introduces how to implement a custom editor panel for FSM finite state machine module. The detailed code of FSM is introduced in the previous article. Link address: Building FSM finite state machine in Unity Here is the final effect: First, customize an editor panel. You need to use Attribute: CustomEditor. The parameter is passed ...

Posted by moonshaden on Fri, 14 Jan 2022 04:45:25 +0100

unity 3D RPG tutorial

11:Player Attack realizes attack animation Now when you click the enemy, the mouse will change, but when you click the character, there is no change. The reason is that the enemy blocks the ray of the mouse, and the ray can't find the enemy's ground, so the character can't run in front of the enemy. Next, we implement this effect in the code, ...

Posted by Gamic on Wed, 12 Jan 2022 19:01:23 +0100

Calling browser-side JavaScript functions from C# functions in Unity(WebGL)

How to link with JavaScript on the browser side If you know WebGL:Communicating with a browser script , there seem to be two main ways. Application.External Call()/Send Message() -------- however, the first one was discarded after a certain version of unity2018, Use the plug-in (. jslib) to write code to execute on the browser side. In ...

Posted by jaz529 on Tue, 11 Jan 2022 09:34:01 +0100