Coder Social home page Coder Social logo

mapeditor-project-i's Introduction

MapEditor-Project-I

사용법

Tilemap
이미지에 있는거처럼 기능별로 Tilemap을 나눠줍니다.
Ex) GroundTilemap, BackgroundTilemap, EnemyTilemap

타일맵을 선택한뒤 Brush로 그려줘야 그 타일맵에 저장되니 주의해주세요.

GameScene
시작 버튼을 누르면 이러한 화면이 나오는데
타일맵을 다 그려주고 난뒤 FileName은 Json으로 저장될 파일 이름 MapIndex는 방번호를 적어주세요
EX) Map_1, 1, Map_1-2, 1-2

플레이어가 방에 입장한뒤 생성되는 위치는 오른쪽위에 PlayerStartPositionSettingMdde를 클릭한뒤,
생선된 깃발을 원하는 위치에 꽂아주시면됩니다

플레이어가 방에 되돌아왔을때의 위치 역시 동일하게 PlayerEndPositionSettingMode를 클릭한뒤 진행해주세요.

그다음에 CreateJson버튼을 누르시면 됩니다.

LoadTilemap은 맵로드가 잘되나 테스트하기위한 버튼입니다.

Prefab Brush

함정이나 몬스터를 타일맵에 배치하기 위해서 Prefab Brush가 필요합니다.

PrefabBrush
사진처럼 Prefab Brsuh를 만들어주시고

PrefabBrushSetting
프리팹을 넣어줍니다.

ChangeBrush
이렇게 Brush를 바꿔주시고 Tilemap을 선택해 그려주시기만 하면됩니다.

파일정리

모든 파일은 Resources안에 저장합니다.
Resources/MapJsons: Json 파일을 저장합니다.
Resources/TileSprites: Sprite 원본을 저장합니다.
Resources/TileAssets: Sprite로 만든 Tile Assets을 저장합니다.
Resources/Prefabs: Prefab을 저장합니다.

Export

Export

mapeditor-project-i's People

Contributors

ghwls8922 avatar devwintery avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.