-
Notifications
You must be signed in to change notification settings - Fork 2
pancake.init()
Mighty Pancake edited this page Apr 7, 2020
·
1 revision
Initiates pancake and defines all pancake variables that are needed for the library to work properly. It also starts an animation that plays on start.
-
settings
<- Table containing all settings of pancake such as window settings, background, physic values and such. You can read more about what to include here in settings article on the wiki.
Nothing
function love.load()
pancake.init({window = {pixelSize = love.graphics.getHeight()/64}})
end
Initiates pancake library with the window.pixelSize so the pancake virtual screen/window will fit in height of the game's window
Wiki created by MightyPancake
Main articles:
Tutorials:
Topics:
Functions: