Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprites (loaded with lsp) sometimes not cleared (with csp) #88

Open
drojf opened this issue Jun 30, 2022 · 0 comments
Open

Sprites (loaded with lsp) sometimes not cleared (with csp) #88

drojf opened this issue Jun 30, 2022 · 0 comments

Comments

@drojf
Copy link
Contributor

drojf commented Jun 30, 2022

Read this for some context on the lsp and csp functions:

I found a case where an animation uses some sprites, but those sprites are never cleared, just moved off-screen. It may be a good idea to scan the script for such cases (lsp without corresponding csp or csp -1.

I don't think this actually causes a crash or any bad behavior in this case, though.

for %Free1 = 1 to 100
	resettimer
	msp 889,-8,16,-10
	msp 888,-4,8,-10
	msp 887,4,8,-10
	msp 886,8,16,-10
	waittimer 30
	print 1
next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant