Browsing articles tagged with " javascript"
Oct
10
2012

How to use Stopwatch in javascript

With stopwatch you can check how long some function takes.. More info: http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx

Sep
30
2012

Marching Cubes Voxel Terrain

Marching cubes terrain sculpting v2.0 (this is also based to the earlier webgl port) Current Features: – Can add / remove ground – Special shader for blending materials (based on world Y) – Moved raycasting to camera, can add multiple chunks (but they are not […]

Sep
25
2012

Marching Cubes (Javascript)

Converted this Marching Cubes(three.js/webgl) to Unity Javascript – Added image#3 (using perlin noise to generate caves) – Added profiler image, fatal error image, neighbour chunk connection problem.. – Changed default unity arrays to Lists(), much faster now – Added some new images – Now digging […]

Feb
15
2012

DummyCraft / Chunk Renderer (js)

Yay..somebody has started a minecraft-style terrain tutorial here: http://www.blocksters.com/node/57 Converted the ChunkRenderer to unity javascript and it worked!..Oo (see image#1) (now just waiting for the next parts of the tutorial..) While waiting, added other sides for the planes + uv (see main image ^) Its […]

Aug
22
2011

mGroundDigger v1.0

Small test for (fake) digging (2D) ground plane and walking inside the cave. Boulderdash anyone? Info: – Collision checker & mouse hit could be refined..now using just few points for checking – Should be possible to add stone, cannot dig through it – You could […]

Aug
21
2011

mVertexShadows 1.0 (fake)

Testing (fake) vertex shadows (while waiting for unity pro..maybe someday?) In the webplayer the light is directional, not pointlight. So it looks like the  shadow is not casted from the light direction. (only direction of the light is taken, not position) But you could use […]

Aug
21
2011

mParticles v2.1 (3ds Max particle animation importer)

Particle animation exporter/importer for 3dsMax to Unity3D Could be useful for all kind of effects. Webplayer: http://unitycoder.com/upload/demos/mParticles1/ Download source: Source will be available for a download later (unless I can make it good enough for asset store..not very likely, since this system has its limitations..) […]

Aug
15
2011

WIP: 3ds Max to Unity Mesh(update#3)

Mesh transfer script from 3DS Max to Unity. It converts 3DSMax mesh to unityscript (javascript), so you have full control over the mesh creation. And whats the point of it? To avoid these: http://answers.unity3d.com/questions/61597/vertex-count-10-times-higher-in-unity.html http://answers.unity3d.com/questions/37435/why-is-unity-got-more-vertices-than-3dsmax.html Using this plugin you  get less vertices on your model […]

Aug
14
2011

Function: CubicBezier (2D)

Converted function from this source to Unity. Drawing bezier curves (2D). Download source: CubicBezier.unitypackage

Aug
13
2011

Function: Integer to Roman numerals

Small function for converting integer into roman numbers. ie 2012 = MMXII

Pages:12»

@unitycoder_com

Subscribe to Blog via Email

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