-
Notifications
You must be signed in to change notification settings - Fork 12
Things you should know
Newleste.p8 uses its own custom codebase, different from vanilla or evercore as you may be used to.
First set of notable changes is the use of _ENV. _ENV only needs to be called when declaring an object loop. (like init=function(_ENV)
)
Once _ENV is called, theres no need for this.<var>
or _ENV.<var>
at all! If you want to write data to any global variables, make sure to add _g to it, to create something like _g.<variable>
.
Due to these changes, this.spr
has changed to just sprite
. no other variable names have changed.
Next thing is the map editor. Newleste.p8 uses a custom fork of everhorn called Newlestehorn. Make sure to use this instead of any other editors. Newlestehorn includes things like custom level params and custom autotiles, dynamic exits and more things tuned specifically to work with newleste.p8.
As usual, make sure to check in with a project manager before starting on work, or at least ask if any work you plan on doing is necessary.