Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Skip draw event for objects that are not on the screen #473

Closed Answered by lajbel
lunat1k-12 asked this question in Q&A
Discussion options

You must be logged in to vote

you could not draw them at first, and then use the function obj.use(sprite()) when the tiles should be drawn, and then, use obj.hidden = true to hide them. For this, you can assign a Tag and use every() in a onUpdate()

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@lunat1k-12
Comment options

Answer selected by lunat1k-12
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants