Jan
26
2013

Save Mesh Created by Script in Editor PlayMode

Saving meshes (which were created by script)  in editor playmode was surprisingly simple, http://docs.unity3d.com/Documentation/ScriptReference/AssetDatabase.CreateAsset.html   Updated version: This file contains 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 […]

Jan
24
2013

Perlin Dungeon Maker

Perlin noise generated dungeons / caves! (w.i.p) Webplayer: http://unitycoder.com/upload/demos/PerlinDungeons1/ (v1.0 : some bugs in webplayer build: floor & roof normals / tangents broken?, minimap is broken..) Current version info: – Creates 2D texture and array with perlin noise (not needed, since you could check x,y […]

Jan
20
2013

Fake Circular Shadow Casters

More fake shadow tests.. (currently works from one direction only) Info: – Lets say all of your shadow casting objects are spheres/circular, then we could calculate what area is not visible based on the distance & angle from the player to spheres (or so I […]

Jan
15
2013

Bounding Sphere for 3D Points

While looking into this 2D shadows topic, converted this BoundingSphere code to unity (actually it wouldnt need to be in 3D..) This could be also useful for creating & resizing sphere colliders.. It resizes the sphere, so that all the vertices fit inside. (for some […]

Jan
13
2013

Tropical Paradise Demo to Unity 4.0

Old Unity Island Demo Project To Unity 4.0 *2021: Check this repo https://github.com/mstevenson/UnityIslandDemo ** unity 2022 LTS: https://github.com/Jocyf/IslandDemo Download project from : http://unity3d.com/support/old-resources/example-projects/islanddemo *link seems to be broken** new link: http://www.mediafire.com/file/288o87oo8aejjyn/IslandDemo.zip Unzip it Open project Upgrading.. Yes Fix now.. Yes Fix now.. Yes Open islands […]

Dec
30
2012

Mecanim Unity 4 Tutorial (step-by-step from the video)

While looking at the new mecanim tutorial video, wrote down the steps from it (not finished yet) (huh – thats a lot of clicks just to get your robot moving.. certainly could use some helper scripts/plugins to do most of the stuff automagically) Video from […]

Dec
28
2012

Fake Soft Shadow Shader

Using metablob shader, where sphere positions are linked to the objects that you want to cast spherical shadows (shader is on a plane, where blend mode set to multiplicative) Webplayer: http://unitycoder.com/upload/demos/BlobShadowShader1/ Download source: coming later..

Dec
15
2012

Photon Multiplayer Scene

Simple steps for making your own top-down multiplayer scene from the Free Photon AngryBots Example Start: – Download this: http://u3d.as/content/exit-games/photon-angry-bots-demo/2i9 – Import it to a empty project – You need to register for the free account: http://cloud.exitgames.com/– Then from your account, Application Dashboard, you need […]

Dec
9
2012

Enemy Visibility Cone (idea)

Testing one visibility cone idea for enemies. (later will check what other solutions there are..) Code: If enemy stays inside blue trigger area (attached to player) then If enemy view angle is towards the player (within view angle range) then Do Linecast(s) to player bounding […]

Nov
28
2012

Sea Surface Shader (test)

One more water shader test.. Its almost default specular shader with normal map(s) and “bottom texture”.. Webplayer: http://unitycoder.com/upload/demos/SeaSurface3/ Download source: coming later..

Pages:«1...32333435363738...49»

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch

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.