Discord
Login
Community
DARK THEME

Quick engine, Quick Question:)

Why are these objects staying solid after I declare that they aren't

vines = map.extractSprites("vine")

for v in vines
  v.solid = 0
  v.fall = 0 
end

This is a multi-sprite object witch means they are on top of each other.

if you need extra context like the map declaration I will gladly provide.

Could you please prvide full code. I would be happy to help tho

vines = map.extractSprites("vine")

for v in vines
  v.solid = 0
  v.fall = 0 
end
  
for v in vines
  print( "solid = " + v.solid )
end

Are you absolutely sure that the value is other than zero?

Post a reply

Progress

Status

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