This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Linq; | |
| using Unity.Cinemachine; | |
| using UnityEngine; | |
| using UnityEngine.InputSystem; | |
| using UnityUtils; | |
| [Serializable] | |
| public class AOETargeting : TargetingStrategy { | |
| public GameObject aoePrefab; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using ImprovedTimers; // https://github.com/adammyhre/Unity-Improved-Timers | |
| using UnityEngine; | |
| [Serializable] | |
| public class Ability { | |
| public AudioClip castSfx; | |
| public GameObject castVfx; | |
| public GameObject runningVfx; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using ImmoApocalypse.Code.Core.Structs; | |
| using Stride.Core; | |
| using Stride.Engine; | |
| using System; | |
| using System.Windows.Media.Animation; | |
| namespace Core; | |
| [DataContract(nameof(AnimationEvent))] | |
| [AllowMultipleComponents] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Pixel (nearest neighbor) shader by nothke | |
| //- Substance 3D Painter Metal/Rough PBR shader | |
| //- ==================================== | |
| //- | |
| //- Import from libraries. | |
| import lib-pbr.glsl | |
| import lib-bent-normal.glsl | |
| import lib-emissive.glsl | |
| import lib-pom.glsl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using System.Runtime.InteropServices; | |
| using UnityEngine; | |
| class Render : MonoBehaviour | |
| { | |
| struct DrawData | |
| { | |
| public Vector3 Pos; | |
| public Quaternion Rot; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class treeThing { | |
| // tree design: all the changable variables in one place! | |
| struct treeStyle { | |
| // skipping stuff like how many branches per tree, sticks per branch.. | |
| // sticks | |
| Vector2 stickAngleJagMM; // how jaggy the branches are (min-max) | |
| Vector2 stickLengthMM; // how long the sticks are (min-max) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Copyright (C) 2019 David Capello | |
| local dlg = Dialog("Plasma") | |
| :number{ id="width", label="Size:", text="100", focus=true } | |
| :number{ id="height", text="100" } | |
| :number{ id="frames", label="Frames:", text="100" } | |
| :button{ id="ok", text="OK", focus=true } | |
| :button{ id="cancel", text="Cancel" } | |
| dlg:show() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---------------------------------------------------------------------- | |
| -- Generate Normal Map | |
| -- | |
| -- It works only for RGB color mode. | |
| ---------------------------------------------------------------------- | |
| if app.apiVersion < 1 then | |
| return app.alert("This script requires Aseprite v1.2.10-beta3") | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---------------------------------------------------------------------- | |
| -- Generate Normal Map | |
| -- | |
| -- It works only for RGB color mode. | |
| ---------------------------------------------------------------------- | |
| if app.apiVersion < 1 then | |
| return app.alert("This script requires Aseprite v1.2.10-beta3") | |
| end | |
NewerOlder