Discuss Scratch

discombobullate
Scratcher
12 posts

top down view game help

so I have this neat little project, where its like a top down rpg where you look where the mouse is.

I'm using this griffpatch engine, but I want to make it so you move to your mouse cursor when you click. can anyone help
kooqle
Scratcher
74 posts

top down view game help

when green flag clicked
forever
point in direction (mouse v)
end
when green flag clicked
forever
if <mouse down?> then
go to [mouse v]
end
end

Cloud Inc.
Here at Cloud Inc. We believe that that the sky's the limit! We've been here on scratch for a long time, with multiple different shop posts. No matter how many people quit, no matter how much things might suck, we always come back. That's what true service is.

-Cloud Inc. Team ☁

discombobullate
Scratcher
12 posts

top down view game help

kooqle wrote:

when green flag clicked
forever
point in direction (mouse v)
end
when green flag clicked
forever
if <mouse down?> then
go to [mouse v]
end
end


Thanks, but it's not that simple 'cause it uses a specific movement engine… please look at the movement in the player sprite
Wolf_Link21
Scratcher
100+ posts

top down view game help

when green flag clicked
forever
point in direction (mouse v)
end
when green flag clicked
forever
if <mouse down?> then
go to [mouse v]
wait until <not<mouse down?>>
end
end
more like this?

This is dave
:D :: hat :: motion
He protects my from evil kumquats.
Please follow me if you find my response helpful and give me any ideas for my game https://scratch.mit.edu/projects/992371983/

Powered by DjangoBB