"Why is the position of this sprite offset by tiny fractions in the non-fullscreen community page?" would have been the title if not for the 80 character limit
go to (round (position))
didn't stop it.
"Why is the position of this sprite offset by tiny fractions in the non-fullscreen community page?" would have been the title if not for the 80 character limit
go to (round (position))
didn't stop it.
cool project!
the zoom ratio seem affect the x and y values:
and the stage size isin't standard:
instead, do this:
suggestions,
The round x position reporter can mess up things. Why it is important?
the community page viewer has a resolution of 538 by 404. you can set your stage size to that to get it to match that viewer, but fullscreen, web browser zoom, and high dpi displays will still scale it differently. i'm not sure if there's a way to detect the actual displayed resolution.
With the small scale, I can't eat the apple using that. If I use <(apple) = (round (position))>, I can't eat the apple when it's y position is -300. I guess the best solution is to request users play in fullscreen. It is a shame if go to (round (position)) can't make (position) round in some scales. Also, I was not using touching blocks for the challenge of it.
Published: Snap! Build Your Own Blocks
The old version is still accessible in this topic. The published version has one variable monitor, a note, and <(apple) = (round (position))>
which I found removed fullscreen situations where you can't eat the apple.
I like it, but there are two things that bother me:
write [] size ()
to write an apple emoji, and not accounting for the sprite's current direction.the position is a list, so I don't think it can round lists.
I tried rounding a list and it didn't work
At least it’s not “Yow Win! MG SKibidi…”
wdym? it does
also, could you please stop posting a bunch of consecutive replies for no reason? thanks.
yeah, fair point. that was a pretty low bar though.
If you don’t mind me asking, why was your original reply flagged?
no idea. probably freakbot getting mad at me, but I put the reply back in a new post since it did not violate any community guidelines.
what post???
I forgot to use decimals...
bruh I have never flagged anybody.
I can see who flagged your post, and it's not freakbot. I won't say who did, because I don't want to give you a reason to start any drama with anyone. I don't know what the moderators are going to say, or even if they're going to say anything, just know that it wasn't freakbot (also, if a post is flagged, that should give you a hint that maybe you shouldn't repeat it).
now but not sathvikrias
ugh. ok.
?
I mean, it doesn't violate anything.
Can you try now? I made the viewer size be the same as the default one in the editor. What's a bit puzzling is that these errors don't happen in presentation mode, which is, AFAIR, pretty much the same mechanism I used back in the day when creating the project pages for the community site.
Anyways, I hope it's fixed now!