Browsing articles in "Unity3d"
Dec
19
2015

Mecanim Simple Trigger Animation Example

Simple test project, triggering shoot animation on key press, and not triggering it, if its already running. Also one Animation event call included, could be used to spawn the projectile at correct frame. Project sources: https://github.com/unitycoder/UnityMecanimBasicAnim Resources: – Sprite created with Universal LPC Sprite Sheet […]

Dec
17
2015

Get Angle Between 2 GameObjects in Degrees (0-360)

Small helper script to check angle between 2 objects in degrees (and in between 0-360). It also includes test code for atan2Approximation, have not measured if there are any benefits using it.. Also note [ExecuteInEditMode], so it runs in editor without playmode. This file contains […]

Dec
15
2015

[LudumDare34] Growing, Two Button Controls

Tried 2-3 different ideas first, but both were horrible (and tried to fit both themes to the game) then finally started on this on sunday – at least its playable.. >< LudumDare entry: http://ludumdare.com/compo/ludum-dare-34/?action=preview&uid=27533   — Game view:

Dec
7
2015

Random Steam Keys Giveaway (finished)

GIVEAWAY! Random steam keys (games) : 15 keys total *Finished! HOW TO ENTER: – Write comment below with link to your favorite or interesting open source (free) unity projects – Only 1 steam key per user is given (you can still post more links if […]

Dec
6
2015

Custom shader Transparency & Batching issues

While updating this billboard shader https://github.com/unitycoder/DoomStyleBillboardTest , had couple strange shader issues: Problem#1: Overlapping transparent area clips other object behind it (see issue#6) This one was solved by adding “ZWrite Off” to the shader, apparently something to do how transparent objects get depth sorted..(?) http://docs.unity3d.com/Manual/SL-CullAndDepth.html […]

Dec
3
2015

[Vuforia + XCode] CARWrapper.bundle specifies a non-existent file for the CFBundle

Had this error message coming up all day, until founded the fix: Either this http://answers.unity3d.com/answers/1102882/view.html or just delete the (QCARWrapper.bundle) reference in xcode project view from that plugins/ folder. ^main image: First tried settings bundle as [x] Editor, [x] Standalone only, but still seemed to […]

Dec
3
2015

UI Text TypeWriter Effect [Script]

Quick & simple UI text typewriter effect (displays UI text 1 character at a time) Assign to UI text component, it grabs the text from it at Awake() and clears it, then starts to type out the text 1 character at a time. This file […]

Nov
27
2015

Game Jam Template Project

Started collecting useful scripts & building template scenes for Game Jams (like http://ludumdare.com/compo/ ) Sources: https://github.com/unitycoder/GameJamTemplate There is not much stuff yet, so follow the repository to receive updates. * Feel free to post issues, request & submit fixes or scripts there to improve the […]

Nov
25
2015

Opaque Sprite Shader

(screenshot of modified shader properties in debug view mode) Modified built-in sprite shader so that its opaque, no color tint, and pixel snap is always on. Just to test if there are any performance benefits to use them for opaque sprite tiles, at least the […]

Nov
18
2015

Surface Snapping in Editor

These snapping features are super useful! Note that if you have “Pivot” enabled instead of “Center”, it snaps from the center of the sphere instead. Surface Snapping While dragging in the center using the Translate Tool, you can hold Shift and Control (Command on Mac) […]

Pages:«1...14151617181920...49»

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.