Browsing articles in "Unity3d"
Jan
14
2012

2D Fluids with Cellular Automata

2D Fluids test.. Trying to make water like this (see forum link), but in 2D (like the original java link there) First version works.. but using SetPixel, which is slow.. *Updated screenshot, added webplayer Currently its drawing those boxes with setpixel.. *Check also the newer […]

Jan
14
2012

Walking Block Rotation

Testing rotating / walking block code.. (as seen in many puzzle games) Current progress: – Screenshot: Step.1 and Step.2 (going towards right direction) – Can walk one direction.. – Need to add smooth movement (now it rotates 90 degrees instantly) *This one failed.. not going […]

Jan
8
2012

Object placement & pickup with mouse

Testing.. related to this topic: http://forum.unity3d.com/threads/118581-Placing-object-on-mouse-down Controls: Left mouse button, place object While placing object, hold mousebutton down to keep moving the object With left mouse button, you can pick previously added objects (hold button down to move them) Webplayer: (flash) http://unitycoder.com/upload/demos/mMousePlacementPick1/ Download example scene: […]

Jan
7
2012

Deflector (proto)

Delfector concept demo..(kind of) Play the original game here >  http://c64s.com/game/809/deflektor/ Webplayer: (flash) http://unitycoder.com/upload/demos/mDeflectorProto1/ *Lens flare seems to be bugged in flash player.. Download source: coming later..

Jan
6
2012

Noob Triangulator (js)

Testing mesh (triangle) generation.. (screenshot: random mesh plane) The REAL Triangulator is here: http://wiki.unity3d.com/index.php/Triangulator  (it can handle complex shapes etc.) My javascript triangulator works by adding 1 vertex in the middle, and every triangle will point to it. I was thinking could use this for drawing […]

Jan
4
2012

Fake 2D Realtime Raycast Shadows (for unity free version)

Testing another way of doing realtime 2D shadows, by casting rays from the player position, then create “light” polygon to the area where we can see. More info later, need to test few things (using setpixels & shader? or using different shader for better light […]

Jan
2
2012

Fake 2D Realtime Shadows Shader (for unity free version)

Testing 2D realtime shadows (shader based), works with unity free version. More tests later.. (in that screenshot, there is 1 spotlight and objects which cast shadow behind them) Current version kind of works with spheres..need to adjust shader for other shapes. Webplayer: (added 14.01.2012) http://unitycoder.com/upload/demos/mShadowShaderFake1/ […]

Jan
2
2012

Precalculated Sin Cos Arrays

In the old days (blitz basic, qbasic..) these lookup tables were quite useful! Download test scene: (moving sphere..Note! saved with Unity3D v3.5) mSinCosTables.unitypackage Source: (javascript, attach it to some object to see it moving..)

Dec
29
2011

Hill Climbing AI *Update#2

Testing Hill Climbing AI (work-in-progress) Read more: http://en.wikipedia.org/wiki/Hill_climbing & https://web.archive.org/web/20160310222458/http://sgd.cs.colorado.edu/wiki/Collaborative_Diffusion & https://web.archive.org/web/20190412040359/http://www.agentsheets.com/Applets/ultimate-pacman/readme.html Basic idea is that the monsters will find you based on the “hill” height. They keep moving towards the highest point, which is the player. As you can see from the image, the […]

Dec
28
2011

AngrySpheres (test.1)

Shooting balls by dragging with mouse (click left button down for startpoint and drag away, then release for endpoint) Webplayer: (flash) http://unitycoder.com/upload/demos/mAngrySpheres1/ Download source: mAngrySpheres10.unitypackage

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

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.