then for that small length, i’d suggest move all your checks into variables (method 2) if you havent done that yet. it’s an one-frame method
edit: nvm, you can use petrichor’s too
then for that small length, i’d suggest move all your checks into variables (method 2) if you havent done that yet. it’s an one-frame method
edit: nvm, you can use petrichor’s too
Should I make ‘Liquid Minecraft’?
So basically, I made a drawing on hopscotch on my other account 894 Art called ‘Gru plays Liquid Minecraft’ and I thought: “I don’t even think liquid minecraft is a thing, so, why don’t I create it?!” What do you guys think?!
0 voters
@894ers (woah it’s been a while)
whats that?
But I was trying to make regular minecraft in hopscotch… How would liquid minecraft work? Is it 2d because that is way easier
Lemme link the project it originated from that might make it easier…
And this one’s kinda related to it
I have no idea maybe everything is liquid? It’ll probably just be something barely playable and like maybe just for fun?!
I dunno how to do 3D so uh it’ll be 2d probably
No but it’s exciting seeing another one made
I just did a little project management in my project template. I looked over all of my variables I created, and I removed those I no longer need. I also labeled some variables with symbols so it’s easier to find.
(Symbols like ,
,
, etc.)
I also made a little optimization in the enemies, mostly related to storing values in “Active Enemies” (and everything still works as expected, and I was able to delete a couple of variables as a result).
anyone know how to make a group of items get gradually more invisible the closer they are to the center of the screen?
like, the farthest away are opaque, and the middle ones are invisible?
@CodeHelp
First I think you would have to use the Pythagorean Theorem to work out the distance of the object, and then use the distance to find the invisibility percentage
Something like this:
distance = square root ((x position - ((device) width) / 2) ^ 2 + (y position - ((device) height) / 2) ^ 2)
And maybe a check if else distance < __
Set invisibility to __
Or something math-related with the distance variable and the invisibility block
^^^
for something visual, i made a project here:
Here’s a sneak peak at my #spooktober game! I’m still making some levels, it’ll be released soon!
AHHH thats insane dude
super excited for the release!!
Thanks, I might release it in 3-6 days :))
I’m also really excited for your Kahoot! game!
I might also be working on my diep.io tanks project, maybe I’ll create the Tri-Lord (Tri-angle + Overlord), something similar to the Octo Lord
o.O wait lemme check that project again
edit: oh wow- im speechless that looks so unbeatable loll
Yep I’m back this week. Thanks a lot for reporting these.
If you happen to have time, could you make bug reports for these? I think it should be ok to just mention the beta build in the app version, on the bug report. I think we probably won’t be able to get to these before the next release comes out, but we will do bug fixes afterwards.
i’m only doing x position, so would that mean to just cut out the height stuff?
i used height because the length of your and my editor are probably not the same
i don’t understand why you need to cut it off tho - xpos is related to width/height
That’s easy.
Set invisibility to (100 - min(abs(self x - CENTER*))(100))
*CENTER = Width / 2
You can multiply (abs(self x - CENTER) by a value (vvv) to make it fade in smaller steps.
(200 / width) is perfect for this
Why 200 and not 100? Because (100 / (width / 2) = (200 / width) simplified.