Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to set x and y position on scrolling map
- ltlpop
-
Scratcher
33 posts
How to set x and y position on scrolling map
(Yesterday I made a simular post but it was confiousing so I simplefied it)
I want to make a dot going to the mouse pointer in a scrolling map, but mines doesnt even move (it actully move to the mouse pointer but when i move it stays behind)
Here my script:
I want to make a dot going to the mouse pointer in a scrolling map, but mines doesnt even move (it actully move to the mouse pointer but when i move it stays behind)
Here my script:
when green flag clicked
forever
go to x: ((mouse x) - (scroll_y)) y: ((mouse y) - (scroll_x)
end
- ZADENZERO
-
Scratcher
69 posts
How to set x and y position on scrolling map
(Yesterday I made a simular post but it was confiousing so I simplefied it)Can we get some sort of link to the project, so we can look further in depth at it?
I want to make a dot going to the mouse pointer in a scrolling map, but mines doesnt even move (it actully move to the mouse pointer but when i move it stays behind)
Here my script:when green flag clicked
forever
go to x: ((mouse x) - (scroll_y)) y: ((mouse y) - (scroll_x)
end
- Rafael_Bagi123
-
Scratcher
86 posts
How to set x and y position on scrolling map
if i understand that correctly, you don't need any hard work
code to the point go to the mouse pointer:
and the scrolling background:
code to the point go to the mouse pointer:
when green flag clicked
forever
go to [mouse-pointer]
end
and the scrolling background:
when green flag clicked
forever
go to x: ((0) - (scroll x)) y: ((0) - (scroll y))
end
- ltlpop
-
Scratcher
33 posts
How to set x and y position on scrolling map
if i understand that correctly, you don't need any hard work
code to the point go to the mouse pointer:when green flag clicked
forever
go to [mouse-pointer]
end
and the scrolling background:when green flag clicked
forever
go to x: ((0) - (scroll x)) y: ((0) - (scroll y))
end
I want the dot for help visualise where some points are on the map (like a level editor)
- ltlpop
-
Scratcher
33 posts
How to set x and y position on scrolling map
(Yesterday I made a simular post but it was confiousing so I simplefied it)Can we get some sort of link to the project, so we can look further in depth at it?
I want to make a dot going to the mouse pointer in a scrolling map, but mines doesnt even move (it actully move to the mouse pointer but when i move it stays behind)
Here my script:when green flag clicked
forever
go to x: ((mouse x) - (scroll_y)) y: ((mouse y) - (scroll_x)
end
I made a game (not actuale game) for nyone that can help(Yesterday I made a simular post but it was confiousing so I simplefied it)Can we get some sort of link to the project, so we can look further in depth at it?
I want to make a dot going to the mouse pointer in a scrolling map, but mines doesnt even move (it actully move to the mouse pointer but when i move it stays behind)
Here my script:when green flag clicked
forever
go to x: ((mouse x) - (scroll_y)) y: ((mouse y) - (scroll_x)
end
https://scratch.mit.edu/projects/923011641/
- Rafael_Bagi123
-
Scratcher
86 posts
How to set x and y position on scrolling map
(Yesterday I made a simular post but it was confiousing so I simplefied it)Can we get some sort of link to the project, so we can look further in depth at it?
I want to make a dot going to the mouse pointer in a scrolling map, but mines doesnt even move (it actully move to the mouse pointer but when i move it stays behind)
Here my script:when green flag clicked
forever
go to x: ((mouse x) - (scroll_y)) y: ((mouse y) - (scroll_x)
endI made a game (not actuale game) for nyone that can help(Yesterday I made a simular post but it was confiousing so I simplefied it)Can we get some sort of link to the project, so we can look further in depth at it?
I want to make a dot going to the mouse pointer in a scrolling map, but mines doesnt even move (it actully move to the mouse pointer but when i move it stays behind)
Here my script:when green flag clicked
forever
go to x: ((mouse x) - (scroll_y)) y: ((mouse y) - (scroll_x)
end
https://scratch.mit.edu/projects/923011641/
FIXED!! it is a remix of your project! all the changes i made is in the project description!
- Discussion Forums
- » Help with Scripts
-
» How to set x and y position on scrolling map


