Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Google maps
- dimmer_gamer
-
35 posts
Google maps
I really want to make a google maps like thing. So a sprite
Would be a map, and you could drag it around but it never runs out? Idk I just need a google maps like map code for a map sprite.
Would be a map, and you could drag it around but it never runs out? Idk I just need a google maps like map code for a map sprite.
- cIoudyness
-
500+ posts
Google maps
oh gosh
how about taking a 2d map of the world and splitting it up into tiles, then scrolling those, plus or minus zooming, plus or minus switching views
quality is either going to be terrible, or you'll need a lot of tiles
(sounds difficult)
how about taking a 2d map of the world and splitting it up into tiles, then scrolling those, plus or minus zooming, plus or minus switching views
quality is either going to be terrible, or you'll need a lot of tiles
(sounds difficult)
- amazingscratchcoder
-
100+ posts
Google maps
horizontal, vertical scrolling, or both directions endless? I really want to make a google maps like thing. So a sprite
Would be a map, and you could drag it around but it never runs out? Idk I just need a google maps like map code for a map sprite.
- amazingscratchcoder
-
100+ posts
Google maps
#1 Keep in mind that max size of project is 10 MB lolthat won't be a concern, you can use clones, delete off screen clones, and only have like 3 costumes which make up the entire map going on and on. i don't mean to advertise, but here's a project which does that: https://scratch.mit.edu/projects/599882557/
Just delete the camera y variable, the background sprite, and play around with the value of the second multiplication (the 3 in 480*3) to suit the number of costumes you need. as to dragging, idk
Last edited by amazingscratchcoder (Dec. 28, 2021 15:00:51)
- itzleo111
-
31 posts
Google maps
I really want to make a google maps like thing. So a sprite
Would be a map, and you could drag it around but it never runs out? Idk I just need a google maps like map code for a map sprite.
It is possible to create a google maps project on scratch. It is not allowed because it is both impossible and unsafe because…
1. Google Maps is so large that it takes a long time to code
2. Scratch is aged 8-16 so a young child could comment their location
3. After they comment locations, Strangers could go visit the location
Last edited by itzleo111 (Dec. 29, 2021 20:32:55)
- amazingscratchcoder
-
100+ posts
Google maps
I think the op meant how to code the function of a never ending repeating, draggable, scrolling scene, and used google maps as an example, rather than actually emulating google maps.I really want to make a google maps like thing. So a sprite
Would be a map, and you could drag it around but it never runs out? Idk I just need a google maps like map code for a map sprite.
It is possible to create a google maps project on scratch. It is not allowed because it is both impossible and unsafe because…
1. Google Maps is so large that it takes a long time to code
2. Scratch is aged 8-16 so a young child could comment their location
3. After they comment locations, Strangers could go visit the location
- cIoudyness
-
500+ posts
Google maps
1. honestly it wouldn't be that hard if you just ported a map image over in tiles and scrolled that around.I really want to make a google maps like thing. So a sprite
Would be a map, and you could drag it around but it never runs out? Idk I just need a google maps like map code for a map sprite.
It is possible to create a google maps project on scratch. It is not allowed because it is both impossible and unsafe because…
1. Google Maps is so large that it takes a long time to code
2. Scratch is aged 8-16 so a young child could comment their location
3. After they comment locations, Strangers could go visit the location
2 + 3. people are more sensible than that (stranger danger) plus you can turn comments off
not saying you're wrong, but certainly such a project is possible and can be very safe.
- Discussion Forums
- » Help with Scripts
-
» Google maps