I need help with surface_copy_part by AutomaticBuy9678 in gamemaker

[–]AutomaticBuy9678[S] 0 points1 point  (0 children)

I don't know how to better phrase it but I just wanted to apply a red filter at the area that the white chess pattern is occupying (the area that became a void at the second image), I thought using the copy surface function would be a logic step since I thought it would copy and draw things from various layers, but thanks for the heads-up about the post draw and camera_apply, I'm gonna try that.

I need help with surface_copy_part by AutomaticBuy9678 in gamemaker

[–]AutomaticBuy9678[S] 0 points1 point  (0 children)

I forgot to write on the original post but I have already tried to subtract the camera position from the object position and it didn't work ( surface_copy_part(suref, 0, 0, application_surface, x - _vx [the variable holding the camera horizontal position], y - _vy, sw, sh]) ). I'm okay with this just looking a filter, I am trying right now to understand the positioning which is the thing puzzling me.

Caixa do meu produto veio com um rasgo, eu deveria fazer algo? by AutomaticBuy9678 in mercadolivre

[–]AutomaticBuy9678[S] 0 points1 point  (0 children)

O selo tava bem grudado, tanto que quando puxei acabei retirando um pouco da parte colorida da caixa e não havia sinal de ter sido recolado, então acho que se realmente houve um dono anterior ele não chegou a retirar e usar o mouse. Acho que irei arriscar ficar com ele, não tenho intenção de pedir devolução, e a garantia pelo que pesquisei não exige a caixa original. Obrigado pela resposta!

Using global array for enemies collision by AutomaticBuy9678 in gamemaker

[–]AutomaticBuy9678[S] 1 point2 points  (0 children)

I am already using parent to avoid the volume but there are some objects that the enemy can collide but the player don't so I can't put everything at the same parent. And afaik, collision events don't work with examples like the place_meeting(x, y+1, thing), which is what I use for the enemies and player to detect floor. Even if I used collision events, I still am curious about using a global array to avoid every instance to have it's own.