Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » top down view game help
- 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
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
- discombobullate
- Scratcher
12 posts
top down view game help
when green flag clicked
forever
point in direction (mouse v)
endwhen 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 clickedmore like this?
forever
if <mouse down?> then
go to [mouse v]
wait until <not<mouse down?>>
end
end
This is dave
:D :: hat :: motionHe 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/
- Discussion Forums
- » Help with Scripts
- » top down view game help