git-together-jam / git-together-0

The official repository for the Git Together 0 game jam
https://itch.io/jam/git-together-0
9 stars 2 forks source link

added scripts for automatically placing machines #25

Closed meseta closed 5 years ago

meseta commented 5 years ago

This commit implements Trello ticket https://trello.com/c/QijxPvr1

Script must be able to place down arcade machines with the correct enum and sprite.

Script shouldn't just check for next x/y and plop it down, rather, reserve space in the overworld and switch to a new area after it fills up one area. (so that it looks nice and placed by a designer). This will make it look nicer but is also expandable.

This is achieved by marking or "drawing" areas of the overworld that is to be filled with arcade machines using the obj_arcade_area object; the updated code in Room Start of obj_Controller will catalog these areas and fill them with the global.ArcadeMachineList