PLEASE i need a stage lua API (json and lua stage) #1316
-
|
there is no stage editor and i want to do a stage and i don't know how to do a stage json and lua |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
stage .json settings (taken directly from
for stage .lua files, most of what you need in a lot of situations will be here. even though it's for psych v1.0's lua api, a lot of whats in that version's api still works fine in 0.6.3/0.7.x/js engine. both your .lua and .json must have the same name before the extention. |
Beta Was this translation helpful? Give feedback.

stage .json settings (taken directly from
StageData.hx). defaults taken fromoverride public function create()inPlayState.hxdirectory: where your images are. defaults to"". doesn't work for lua stages i think???defaultZoom: is thecamGamezoom. defaults to0.9isPixelStage: is whether or not the game should use (mostly) pixel stuff. disables antialiasing forcamGame. defaults tofalsestageUI: only supports"normal"or"pixel". if is pixel, activates the pixel versions of ui elements. disables antialiasing forcamHUD. defaults to"normal"boyfriend: boyfriend's x and y coordinates. defaults to"770, 100".girlfriend: girlfriend's x and y coordinates. defaults to"400, 130".opponent:…