All Projects → BLUDRAG → Soflow

BLUDRAG / Soflow

Licence: mit
A ScriptableObject oriented design SDK.

Projects that are alternatives of or similar to Soflow

Awesome Vrchat
One-stop shop for people interested in developing content for VRchat
Stars: ✭ 107 (+148.84%)
Mutual labels:  unity, tools
Pumkinsavatartools
A toolbox for easily setting up VRChat avatars in Unity. Adds functionality to the editor and automates some of the tedious tasks.
Stars: ✭ 192 (+346.51%)
Mutual labels:  unity, tools
Kit
Unity3D开发的工具包集合, 集成常见的开发组件以免于重复造轮子。佛系更新中。。。
Stars: ✭ 123 (+186.05%)
Mutual labels:  unity, tools
Urfairy
C# extensions for Unity development
Stars: ✭ 51 (+18.6%)
Mutual labels:  unity, extensions
Time.dart
⏰ Type-safe DateTime and Duration calculations, powered by extensions.
Stars: ✭ 363 (+744.19%)
Mutual labels:  extensions, tools
Unityrtc
基于webrtc的unity多人游戏实时语音(A Unity Demo for Impl Real-time Game Voice Among Mutiplayers Based On WEBRTC)
Stars: ✭ 74 (+72.09%)
Mutual labels:  unity, sdk
Unity resources
A list of resources and tutorials for those doing programming in Unity.
Stars: ✭ 170 (+295.35%)
Mutual labels:  unity, tools
Modio Unity
Unity Plugin for integrating mod.io - a modding API for game developers
Stars: ✭ 53 (+23.26%)
Mutual labels:  unity, sdk
Unity Mulligan Renamer
Mulligan Renamer tool for the Unity Editor allows for quick and safe renaming of many assets and gameobjects at once
Stars: ✭ 315 (+632.56%)
Mutual labels:  unity, tools
Parse Sdk Dotnet
Parse SDK for .NET, Xamarin, Unity.
Stars: ✭ 272 (+532.56%)
Mutual labels:  unity, sdk
Ramda Extension
🤘Utility library for functional JavaScript. With ❤️ to Ramda.
Stars: ✭ 139 (+223.26%)
Mutual labels:  extensions, tools
Unity Texture Packer
🔨 Utility to combine color channels from different textures into a single output.
Stars: ✭ 429 (+897.67%)
Mutual labels:  unity, tools
Onesignal Unity Sdk
OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Unity app with OneSignal. https://onesignal.com
Stars: ✭ 161 (+274.42%)
Mutual labels:  unity, sdk
Smart Hierarchy
Better hierarchy for Unity.
Stars: ✭ 234 (+444.19%)
Mutual labels:  unity, tools
Enhancer
A collection of utilities to enhance the Unity Editor
Stars: ✭ 394 (+816.28%)
Mutual labels:  unity, extensions
Centrifuge
Cross-platform runtime mod loader and API for any Unity-based game. Supports Unity 5 and up!
Stars: ✭ 18 (-58.14%)
Mutual labels:  unity, sdk
Ecs Snake
Simple snake game powered by ecs framework.
Stars: ✭ 41 (-4.65%)
Mutual labels:  unity
Shadergraph
Unity ShaderGraph project
Stars: ✭ 1,009 (+2246.51%)
Mutual labels:  unity
Endless Runner Entitas Ecs
Runner template for Unity
Stars: ✭ 41 (-4.65%)
Mutual labels:  unity
Torchtracer
A python package for visualization and storage management in a pytorch AI task.
Stars: ✭ 41 (-4.65%)
Mutual labels:  tools

SOFlow

--- Original concept credited to Ryan Hipple ---

Releases

SOFlow v1.4.1

SOFlow v1.4 - Major Update

SOFlow v1.3 - Major Update

SOFlow v1.2

SOFlow v1.1

SOFlow v1

Requirements

Any Unity version supporting API compatibility version .NET 4.x

Summary

The purpose of this SDK is to help bolster production of games and applications built within Unity by taking advantage of ScriptableObjects. As explained in Ryan Hipple's talk, ScriptableObjects have great potential to decouple components from scenes and other components. This is achieved by encapsulating functionality normally contained within MonoBehaviour components into ScriptableObjects instead. By doing this, we automatically already remove any scene dependencies. But ScriptableObjects can do so much more. This SDK is an attempt to realize that potential.

Pros

  1. Completely scene and prefab independent referencing of data and events. Player data, game manager states, pretty much anything can be shared across scenes and prefabs with this SDK.
  2. All data is serialized natively by Unity and can easily be exported to JSON. Data can also be imported back into ScriptableObjects from JSON. This can be very handy for adding support for custom player levels, maps, or even just saving player data quick and dirty like.
  3. Entire games can be made purely by using the SDK as is. Unlike visual scripting tools that aim to completely migrate the game development flow into a visual scripting interface, SOFlow attempts to blend with Unity as is.
  4. A fully debuggable Game Event system. Since a lot of functionality is now directly linked to data assets and Game Objects, it can become difficult to debug when things go wrong. I have made my best efforts to alleviate this with bug tracking for Game Events right inside Unity. And at times when we need to get down and dirty with code, hyperlinks to the code in question are available as well.
  5. Customize the look and feel of most inspectors. All components that do not have a dedicated Custom Editor will automatically use SOFlow to display their contents.
  6. A wide variety of useful components always coming to the SDK. The SDK is ever-evolving, but each new features will maintain the same general workflow encouraged by SOFlow.

Cons

What are 'cons'?

Core Features

  • Data Types

One of the foundations of the SDK. Other components in one form or another build upon what is known as Primitive Data Types. Theoretically, one could create an infinite number of Data Types supported by the SDK. The SDK itself provides the most commonly used Data Types ready to be used within projects as illustrated below:

So what are Data Types exactly?

They are containers for different types of data. The data they store is normally data stored exclusively within components used within scenes. This exclusivity makes it cumbersome, and at times difficult, to interact or share the data with other components. Storing this data within containers instead allows for far greater flexibility and provides immediate independence from scenes.

The containers come in the form of files stored within the project (ScriptableObjects). These containers can then be used by other components in a variety of ways. One example is the Data Text Setter component, which takes any arbitrary Primitive Data Type and displays the current data within the container in a TextMesh Pro Text component:

It is sometimes desirable to keep exclusivity of data on a per scene/component basis. Primitive Data Types can be used for both cases. Each data type comes with a native ability to toggle between using data containers or using exclusive values:

NOTE: Using the Primitive Data root class as a variable does not support toggling between data containers and exclusive values, as there would be no data defined as exclusive values.

  • Game Events And Game Event Listeners

Another one of the foundations of the SDK. Not to be confused with UnityEvents or UltEvents. Game Events act as messengers between components. That is essentially their only purpose. Though as dull as that may sound, it is actually their most powerful (if only) feature. Game Events work together with Game Event Listeners, who act as receivers of the messages carried by Game Events. A short breakdown of what this means for us:

  1. We choose when to send out a message.
  2. Game Events ensure our message goes out to all interested components.
  3. Game Event Listeners receive the message and lets us know the message has arrived.
  4. We decide what to do after having received said message.

To demonstrate this concept, let's use the previous example with setting text to some data. Previously, we had to enter Play Mode for the text to update. This time, we can simply send out a message to say when the text should be updated:

Game Events can also be dragged directly into a scene and will automatically create an associated Game Event Listener:

Messages can be sent directly through code by exposing a GameEvent field, then calling MyGameEvent.Raise(). My preferred method, and one the SDK encourages, is to send messages using UltEvents (or UnityEvents if UltEvents are not available).

UltEvents are a wonder on their own. Think of them as severely overpowered UnityEvents. If you are unfamiliar with either UnityEvents or UltEvents, I highly suggest checking them out. UltEvents can serve an large number of purposes, and for the SDK, they provide the perfect interface to create interactions between Data Types and Game Events.

In the example below, a Comparison component uses UltEvents, one for if what is being compared for matches, and another if the comparison does not match. In our case, when the comparison matches, we send off our example message:

  • Game Event Log

Even in the safest of project environments, things can and eventually will go wrong. When they do go wrong, it's always great to have a tool or two handy to figure out what went wrong. That is the main goal of the Game Event Log. The Game Event Log keeps track of all Game Events that send messages during a session. It will color code Game Events based on what happened when they sent their messages. The coloring will depend on your individual color settings for the SDK. For me, green means everything went smoothly, and red means an error occurred with that Game Event.

The Game Event Log itself does not track exactly what went wrong, instead the Game Events themselves keep their own logs of what happened during each message they have sent. If an error occurred when a message was sent, we can check the logs within the Game Event to see exactly what the error was, and if necessary, navigate straight to the line of code that caused the error.

Below is an example of both the Game Event Log and Game Event error logging in action:

  • Component Shortcuts

The SDK contains an extensive list of components and it may be hard to find what you are looking for. The Component Shortcut Window aims to make finding and creating components you need easier. The Component Shortcut Window can be found under SOFlow -> Component Shortcut Window. Below is a preview of how the window works:

Additional Features

Each feature listed here will have example scenes and assets explaining and demonstrating how they work within Unity itself. These examples can be found under : Assets/Code/Scripts/SOFlow/Examples

  • Audio Source sharing through Scriptable Objects.
  • Camera sharing through Scriptable Objects.
  • Screen resolution tracking.
  • Dynamic sprite scaling based on screen resolution.
  • Fading and data lerping using Fadables and Faders.
  • Managed Components, a more controlled form of updating components vs directly using Update().
  • Simple motion of objects using the Basic Motion component.
  • Object pooling through Scriptable Objects.
  • Simple input handling using the Game Input Listener component.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].