در این آموزش تصویری با ساخت ویرایشگر نقشه کاشی با Unity 5 دو بعدی آشنا می شوید.

این دوره آموزشی محصول موسسه Lynda است.

سرفصل های دوره:

  • نحوه توسعه Unity IDE
  • نحوه اضافه کردن یک منو
  • ایجاد GameObject
  • ساخت سفارشی Inspector
  • نحوه انتخاب اشیا
  • نحوه طراحی شبکه
  • به روز رسانی شبکه
  • ساخت جمع کننده
  • ایجاد پنجره
  • نحوه نمایش Texture2D در پنجره
  • طراحی جمع کننده
  • نحوه انتخاب عنوان
  • کار با ابزار Brush
  • سفارشی سازی ابزار Brush
  • کار با ابزار پاک کن
  • نحوه کاشی کاری تصویر زمینه
  • و…

عنوان دوره: Lynda Unity 5 2D: Building a Tile Map Editor
سطح: متوسط
مدت زمان: 1 ساعت و 27 دقیقه
نویسنده: Jesse Freeman


Lynda Unity 5 2D: Building a Tile Map Editor

Jesse Freeman
1h 27m

Learn how to extend the Unity 5 IDE with custom tools like this tile map editor. Investing the time to customize Unity's environment today will make game development much more efficient tomorrow. This simple extension will allow you to easily design large 2D tile maps by simply painting them into your GameObjects. Over the course of the project, Jesse Freeman will show you how to build a tile map class, a custom tile picker, and a tile brush. He'll also show how to customize Unity menus to make your new tools easy to reach.
Topics include:
Adding custom dropdown menus to Unity
Building a custom inspector
Creating a texture picker
Drawing the tile map grid
Creating a tile picker
Scaling a Texture2D
Creating a tile brush
Moving the tile brush
Erasing and clearing tiles

1m 11s
Exercise files
1. Extending Unity's IDE
5m 48s
Setting up the project
2m 16s
Adding a custom dropdown menu
1m 52s
Creating a tile map GameObject
1m 40s
2. Building a Custom Inspector
6m 39s
Building a custom inspector
2m 2s
Adding editor property fields
2m 29s
Capturing selected objects
2m 8s
3. Reading Sprites from a Texture
12m 30s
Creating a texture picker
2m 1s
Showing a warning message
2m 15s
Calculating tile size
3m 1s
Calculating the map size
2m 40s
Dynamic pixels to units
2m 33s
4. Drawing the Tile Map Grid
8m 19s
Creating the title map outline
2m 44s
Drawing a tile grid
3m 23s
Updating the grid size
2m 12s
5. Creating a Tile Picker
18m 37s
Creating a custom window
2m 5s
Displaying a Texture2D in a window
2m 19s
Scaling the Texture2D
2m 49s
Adding scrolling to the window
2m 58s
Highlighting the selected tile
2m 2s
Styling the title picker highlight
1m 49s
Moving the highlight
2m 17s
Saving the title selection
2m 18s
6. Creating a Tile Brush
8m 27s
Create the tile brush
1m 52s
Instantiating the tile brush in the scene
2m 57s
Customizing the tile brush
2m 4s
Updating the brush's Sprite preview
1m 34s
7. Moving the Brush
8m 40s
Getting the mouse position
2m 30s
Moving the tile brush
4m 11s
Keeping the brush in the tile map's bounds
1m 59s
8. Finishing Up the Tile Map
16m 7s
Creating a group for tile instances
2m 8s
Adding drawing to the tile map
3m 38s
Erasing tiles
1m 43s
Clearing all of the tiles
2m 58s
Cleaning up the tile map
5m 40s
1m 3s
Next steps
1m 3s