Update readme file
@@ -7,11 +7,11 @@ Current samples:
|
||||
A "Hello World" style sample with minimal assets & code. It's a great starting point for a new "clean" project.
|
||||
|
||||
<p align="center">
|
||||
<img src="./res/Tiny3DHelloWorld.gif">
|
||||
<img src="./res/Tiny3D.gif">
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/Tiny3D">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -23,10 +23,23 @@ Intended as a lightweight example of the type of content you can build with Proj
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/TinyRacing">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
## BlendShapeDemo
|
||||
Demonstrates how to use the blendShape feature and showcases how to do a simple character selection.
|
||||
|
||||
<p align="center">
|
||||
<img src="./res/BlendShapeDemo.gif">
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/BlendShapeDemo">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
## TinyKitchen
|
||||
Uses physics to showcase simple game play with colorful level design and advanced authoring workflow. In addition to that Tiny Kitchen uses custom web template.
|
||||
|
||||
@@ -35,7 +48,7 @@ Uses physics to showcase simple game play with colorful level design and advance
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/TinyKitchen">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -47,7 +60,7 @@ Illustrates how to combine simple Unity Physics behaviors and common input metho
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/TinyPhysics">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -60,7 +73,7 @@ Demonstrates how to use in-game text rendering, Skinned mesh renderer and how to
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/TinyTime">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -72,7 +85,7 @@ Demonstrates how Animations can be added to a scene (no code).
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/TinyFactory">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -84,7 +97,7 @@ Demonstrates Particle System the first iteration of the particle system which mi
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/TinyAquarium">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -95,7 +108,7 @@ Demonstrates how to do Dynamic meshes creation at runtime.
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/RuntimeGeometry3D">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -107,7 +120,7 @@ Demonstrates how to do Dynamic meshes creation at runtime.
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/TinyGems">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -116,6 +129,6 @@ Demonstrates how to do Dynamic meshes creation at runtime.
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="https://tiny.vision/demos/TinySpaceship">
|
||||
<img src="./res/Trynow.jpg">
|
||||
<img src="./res/Trynow.png">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
|
||||
|
||||
using Unity.Entities;
|
||||
using Unity.Tiny;
|
||||
|
||||
namespace TinyRacing.Systems
|
||||
{
|
||||
[AlwaysUpdateSystem]
|
||||
public class Loader:SystemBase
|
||||
{
|
||||
public bool IsReady;
|
||||
|
||||
protected override void OnStartRunning()
|
||||
{
|
||||
base.OnStartRunning();
|
||||
IsReady = false;
|
||||
}
|
||||
|
||||
protected override void OnUpdate()
|
||||
{
|
||||
if (IsReady)
|
||||
return;
|
||||
Debug.Log("Loading...");
|
||||
var loading = false;
|
||||
Entities.WithAll<Image2DLoadFromFile>().ForEach((Entity e, ref Image2D img) =>
|
||||
{
|
||||
if (img.status == ImageStatus.LoadError)
|
||||
Debug.Log("Error loading images");
|
||||
loading = true;
|
||||
}).WithStructuralChanges().Run();
|
||||
IsReady = !loading;
|
||||
|
||||
if (IsReady)
|
||||
Debug.Log("Ready!");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a3ca7c78455607b4991dc2eb2ef5c39f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -17,7 +17,8 @@
|
||||
"Unity.Tiny.Animation",
|
||||
"Unity.Tiny.Particles",
|
||||
"Unity.Entities.Runtime",
|
||||
"Unity.Scenes"
|
||||
"Unity.Scenes",
|
||||
"Unity.Tiny.Image2D"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
|
||||
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 781 KiB |
|
Before Width: | Height: | Size: 785 KiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 5.3 KiB |