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
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]
end
end

Anti-rickroll service (we never give you up)!
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