Skip to content
ITSimples edited this page Mar 7, 2013 · 1 revision

## Documentation for json data on game ( gamedataXX.json )

Triggers:

“type”:

PORTAL_OBJECT - Create a portal

DOOR_OBJECT - Create a door

NEW_NPC - Create new NPC

“coordinates”: {“x”:,”y”:} - Start coordinates for trigger

“settings”: {“height”:, “width”: - Size of trigger 32 is a tile (for example 64*64 = 4 tiles)

“target”: {“x”:,”y”:} - Where on map goes de portal, open door , create npc

“message”: “” - Message to show to player

“imageName”: “file.png” - Image that appear on message window (note get from /sprites/items)

“solution”: “item solution” - if door or portal item solution

“remove”: true/false : true=> remove trigger after first use / false => don’t remove trigger

“npcName”: only for NEW_NPC name of NPC on Json list (example “dragonlvl01”)