Browsing articles tagged with " 2d"
May
19
2020

[Sources] Unfinished 2D Snooker test

Uploaded sources for this old unfinished 2D pool scene. Its using GL extension to draw “debug” lines (works in runtime also) , and 2D circlecast to find predicted collision lines. Sources:https://github.com/unitycoder/Snooker2D

Apr
4
2019

RANSAC 2D Line Fitting

Converted this RANSAC 2D line fitting pseudocode into Unity c# http://www.visual-experiments.com/demo/ransac.js/ What is RANSAC? https://en.wikipedia.org/wiki/Random_sample_consensus Source code:https://gist.github.com/unitycoder/53495435c28853ef6522ff60d5c6a091 *Note this is not optimized at all, just a quick test Usage instructions:– Add this script to empty gameobject– Add gameobjects as a child of that gameobject (place […]

May
18
2018

Quadtree

Converted this javascript quadtree (by The Coding Train) to Unity using texture2d *not complete with all the features yet though, but can add points by clicking texture with mouse. Unity Project https://github.com/unitycoder/UnityQuadtreeInTexture   Original source https://www.youtube.com/watch?v=OJxEcs0w_kE  

Sep
23
2017

Drawing 2D lines and Adding Collider to it

Hi awesome reader! In our past tutorial “How to Draw Line” we discussed about drawing a line in the game by mouse interaction. But sometimes we need to draw a line that collides with our game objects in 2D mode. So we need to add […]

May
30
2016

Unity 2D Experimental Preview Features Build

Unity 2D Experimental Preview! (anyone can download no need to have pro license) New features: – TileMap Editor!!1 – Some other stuff.. Download: http://forum.unity3d.com/threads/2d-experimental-preview-release-1.407658/ *Note: If you downloaded right away after this post was published, there is newer download available: http://beta.unity3d.com/download/c7f3e0da1010/UnityDownloadAssistant-5.5.0a1.exe old version was : […]

Apr
14
2015

Photoshop Trees

Just noticed PhotoshopCC has some Tree renderer: http://blogs.adobe.com/jkost/2015/01/creating-trees-in-photoshop-cc-2014.html Here’s some images of those in 256×256 png, could work as sprites?

Mar
11
2015

PointEffector2D

Unity5 comes with new PointEffector2D How to use it? – Add sprite to scene – Add CircleCollider2D (or some other 2D collider) – Enable: [x] Trigger *Note: Effector works without trigger enabled also, but only when other object is touching the collider. – Enable [x] […]

Nov
16
2014

2D A* Pathfinding (wip 4)

Didn’t find any simple 2D A* for Unity, so started converting/modifying this (Fast A-Star (2D) Implementation for C# by Christoph Husse) into Unity to use with sprites on a 2D level/map.. Current progress: – Basic A* grid works (using texture/pixels grid) – Automatically generate walkable […]

Oct
16
2014

2D Fog Of War

Got some nice looking Fog of War system working with sprites (2D)! It might eventually work on mobiles too (although at lower resolution..) *Will be posting it to asset store hopefully within this month.. ** Update 2022: Now after those “few months”, project sources are […]

Pages:123»

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.