Browsing articles from "December, 2015"
Dec
26
2015

Useful Settings for Visual Studio 2015 + Unity

Finally installed VisualStudio with unity, 2015 community edition (update 1) seems pretty good so far (new monodevelop was too bugged..) Here’s some common settings to go look for when customizing the vs editor. — SOURCE CODE MINIMAP Quick launch command: scroll bars (select text editor […]

Dec
24
2015

Open & Play MIDI Files with winmm.dll in Unity

Yay – Playing Midi files in unity! Notes: – Works on PC only – If you make a build, midi files wont be included automatically (unless they are in StreamingAssets folder, havent tested it though..) References: – Midi code from http://www.codeguru.com/columns/dotnet/making-music-with-midi-and-c.html – MidiOutCaps c# struct […]

Dec
23
2015

Play Midi Sounds with midi-dot-net dll

Instructions: – Download midi-dot-net from https://code.google.com/p/midi-dot-net/ (from downloads section, midi-dot-net_1.1.0.zip) – Unzip and copy “Midi.dll” into your unity project folder, Assets/Plugins/ – Create c# script and use the source below for testing – Attach the script to gameobject in scene and hit play, should hear […]

Dec
21
2015

Matrix Playground Shader

Finally decided to try shader matrices.. (because having issues with custom billboard shader) Doing Translate, Scale, Rotations with matrix operations seems quite simple actually! Would had been totally lost without these two links: http://www.codinglabs.net/article_world_view_projection_matrix.aspx http://www.gamedev.net/topic/610115-solved-rotation-deforming-mesh-opengl-es-20/#entry4859756 How to use the shader: – Get the source below, […]

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 […]

Pages:12»

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.