Discuss Scratch

PhysicsLover999
Scratcher
100+ posts

Need agar substance

I need a substance that is rendered with pen. I'm trying to make agar.io (<- MAY NOT BE SUITABLE FOR YOUNGER SCRATCHERS). I'll also need a massive multiplayer engine that works with pen. If anybody can help me with either of there, please post here. Thanks!!
PhysicsLover999
Scratcher
100+ posts

Need agar substance

bump
PhysicsLover999
Scratcher
100+ posts

Need agar substance

bump
NickyNouse
Scratcher
1000+ posts

Need agar substance

Substances? I feel like the easiest thing to do is make each cell a big pen dot (or clones/stamps if there's a limit on pen size, you could use the 1px costume trick to scale and move). For multiplayer, just search scratch for a cloud list engine
PhysicsLover999
Scratcher
100+ posts

Need agar substance

NickyNouse wrote:

Substances? I feel like the easiest thing to do is make each cell a big pen dot (or clones/stamps if there's a limit on pen size, you could use the 1px costume trick to scale and move). For multiplayer, just search scratch for a cloud list engine

Yeah, but I need the cells to interact and squash. This seems kind of hard, I'd need to change the large center dot because it would stick out. Also, how do you make two pen blobs interact with
and detect each other?
NickyNouse
Scratcher
1000+ posts

Need agar substance

PhysicsLover999 wrote:

NickyNouse wrote:

Substances? I feel like the easiest thing to do is make each cell a big pen dot (or clones/stamps if there's a limit on pen size, you could use the 1px costume trick to scale and move). For multiplayer, just search scratch for a cloud list engine

Yeah, but I need the cells to interact and squash. This seems kind of hard, I'd need to change the large center dot because it would stick out. Also, how do you make two pen blobs interact with
and detect each other?
Hm… that makes things a li'l more complicated… you'll probs end up using trig to check collision and stuff

OH WAIT I have an idea… if the blobs aren't circular, you'll have to draw them with the pen. Well, make the sprite the same size as the pen and use <touching color ?> on the frame before while you're drawing the next frame, that oughta work for collision detection
PhysicsLover999
Scratcher
100+ posts

Need agar substance

NickyNouse wrote:

PhysicsLover999 wrote:

NickyNouse wrote:

Substances? I feel like the easiest thing to do is make each cell a big pen dot (or clones/stamps if there's a limit on pen size, you could use the 1px costume trick to scale and move). For multiplayer, just search scratch for a cloud list engine

Yeah, but I need the cells to interact and squash. This seems kind of hard, I'd need to change the large center dot because it would stick out. Also, how do you make two pen blobs interact with
and detect each other?
Hm… that makes things a li'l more complicated… you'll probs end up using trig to check collision and stuff

OH WAIT I have an idea… if the blobs aren't circular, you'll have to draw them with the pen. Well, make the sprite the same size as the pen and use <touching color ?> on the frame before while you're drawing the next frame, that oughta work for collision detection

Ok… Not really sure what I'll do when one cell rams into another, exposing the sprite… Could you maybe make a project with this? Also, is there a way to detect when a player stops or closes out a project? :S
PhysicsLover999
Scratcher
100+ posts

Need agar substance

bumpz
NickyNouse
Scratcher
1000+ posts

Need agar substance

I simplified the code a little: https://scratch.mit.edu/projects/64126200
PhysicsLover999
Scratcher
100+ posts

Need agar substance

Thanks! This would be great, but I need the circles to be filled. If you could do that, I would be amazed. Thanks so much!
NickyNouse
Scratcher
1000+ posts

Need agar substance

done (this is fun)
NickyNouse
Scratcher
1000+ posts

Need agar substance

I played agar a little and I still feel like pen dots are the way to go

Powered by DjangoBB