Skip to content

Simple UE4 actor to import JSON Tiled maps

License

Notifications You must be signed in to change notification settings

greisane/TiledMapActor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiledMapActor

Simple UE4 actor to import JSON maps made in Tiled. Not production ready.

Level

The attached .blend contains a sample tileset and a script to generate a .csv with asset paths.

Usage

  1. Add "JSon" to PrivateDependencyModuleNames in your build rules file (MyGame.Build.cs)
  2. Include the source files TiledMapActor.h and TiledMapActor.cpp in your C++ project and build.
  3. Create a data table with TiledMapMeshTableRow data structure and fill it in manually.
    OR
    Run the script in the sample .blend file to generate a .csv data table which you can import.
  4. Put your JSON map somewhere in the game content folder.
  5. Drop a TiledMapActor in the level and configure Map Path, Mesh Table and Tile Size. Actor properties
  6. Press Import Map.

About

Simple UE4 actor to import JSON Tiled maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages