Discord
Login
Community
DARK THEME

From asset pack to working prototype in 5 minutes : quickengine : Warning: s is not defined

imported quick engine

typed out video code into new source file named 'main' nothing drawn in gamescreen & this error

Warning: Quick.camera.move(player.x,player.y) is not a function, in file "main" at line 34, column 40

Warning: s is not defined, will be initialized to an empty object, in file "lib-quickengine" at line 56, column 5

Did you import the quickengine library?

Either way, it would help if you publish the game (unlisted) and post the link so that one can have a look :)

  1. I could only see 'strip sprite to animation' in the desktop version, but I think my spite selection may not have been divisible by 16 when I tried it in the browser, so probably my mistake

  2. is there a tutorial on properly importing libraries for desktop microstudio? I exported Quick from the examples to zip. then on desktop couldn't figure out a way to import only the quick library without opening the whole project. So opened quick example project & replaced DEMO source file with my own MAIN source file, and reimported all the art in that project. so even though calling & importing Quick, some things seem to break.

https://microstudio.io/i/Coboconk/quickengine2/

local errors : microScript 2.0 - beta Warning: Quick.camera.move(player.x,player.y) is not a function, in file "main" at line 34, column 40 Warning: s is not defined, will be initialized to an empty object, in file "lib-quickengine" at line 56, column 5 Warning: player is not defined, will be initialized to an empty object, in file "main" at line 18, column 15

At the bottom of the Create page, where your source files are listed, is an option called 'Import Libraries ' :)
It will list all published libraries and you can pick them there.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community