Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

navdi

2d unity game library w/ reduced use of scene editor & hierarchy · By droqen

0. Editor Basics Sticky

A topic by droqen created Mar 30, 2018 Views: 491 Replies: 2
Viewing posts 1 to 2
Developer (2 edits) (+1)

1. drop navdi.unitypackage into an empty unity project.

2. open the Template scene at lib/navdi/- template project -/Template.unity

3. press Play in unity. it should dump you into a premade level in edit mode in level {0, 0}


-- in any mode --

TAB: toggle between play/edit mode


-- in play mode --

ARROWS: move your player. (there are 3 types of example players available and they all move very differently.)


-- in edit mode --

LEFT CLICK: 'magic wand' a contiguous group of the same tile.

RIGHT CLICK: lets you edit a specific tile's code. the editor can save strings of arbitrary length for any tile (it won't let you do edge tiles though). you can access these strings when spawning tiles. right click again to exit code edit mode.

Q 1 2 3 4 5 6 7 8 9: draw tiles. Q draws 'tile 0', which is 'empty'.

SPACE: hold space to open up the palette. it's mostly empty to start out with. if you press any key on your keyboard while hovering it in the palette, you assign that tile to that key. so, Q 1 2 3 4 5 6 7 8 9 above are just the 'default' settings! you can reassign any of those keys, and more. please note that currently palette settings are not saved anywhere, so the palette will forget everything you've set up between plays. it's not meant to be a permanent key assignment.

ARROWS: move around the world-grid.

Thanks for this! I will try making something with it and let you know how it goes. 

Developer

I would love that! Thank you :)