This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
starting:scratch2gp2 [2017/09/30 11:11] simplesi [Control] |
starting:scratch2gp2 [2017/09/30 17:27] (current) simplesi |
||
---|---|---|---|
Line 7: | Line 7: | ||
It is available for Windows,Mac and Linux from https://gpblocks.org/ | It is available for Windows,Mac and Linux from https://gpblocks.org/ | ||
- | There is also a version running on a web server so it can be tried out with any browser also (lacks a few features so better to download and run if possible) | + | There is also a [[https://gpblocks.org/run/gp.html|version]] running on a web server so it can be tried out without having to install anything |
===== 1st Impressions ===== | ===== 1st Impressions ===== | ||
Line 56: | Line 56: | ||
Note: You can right-click on the {{:blocks:i.png|}} and give it nice name if you want | Note: You can right-click on the {{:blocks:i.png|}} and give it nice name if you want | ||
- | ==== Moving a sprite/class around ==== | + | ===== Moving a sprite/class around ===== |
TWO MAJOR DIFFERENCES BETWEEN //Scratch// AND **GP** | TWO MAJOR DIFFERENCES BETWEEN //Scratch// AND **GP** | ||
Line 104: | Line 104: | ||
The one thing that is the same is the Pen category that lets your draw over the screen just as in Scratch. | The one thing that is the same is the Pen category that lets your draw over the screen just as in Scratch. | ||
- | One major change is that there is no actual Stage (Scratch 1.4) or Background (Scratch 2). So if you want a background image you create a big costume (GP screen size is 800 x 600 unlike Scratch’s 480×360) and just don’t move it around | + | === Stage/Background === |
+ | |||
+ | There is no actual Stage (Scratch 1.4) or Background (Scratch 2). | ||
+ | |||
+ | But you can easily simulate this by creating a class with a big costume (GP screen size is 800 x 500 unlike Scratch’s 480×360) and just don’t move it around. | ||
+ | |||
+ | === Costumes === | ||
GP only comes with 2 images (the Ship and the GP one) but you can load in any .png image and set the instances costume to it very easily. | GP only comes with 2 images (the Ship and the GP one) but you can load in any .png image and set the instances costume to it very easily. | ||
- | I have converted all the Scratch 1.4 images to .png and re-sized the background ones to be 800×500. The zipped file of these images is available here. I believe the Scratch Creative Commons Attribution-ShareAlike 2.0 license allows them to be used in GP but if anyone knows differently, please let me know | + | Simon Walters has converted all the Scratch 1.4 images to .png and re-sized the background ones to be 800×500. The zipped file of these images is available here. |
+ | |||
+ | ==== Other notable differences ==== | ||
+ | |||
+ | === Timer === | ||
+ | |||
+ | The timer counts up in milliiseconds (thousanths of seconds) and there is no reset timer block. So you have to set a variable, say starttime, to timer value and then subtract the timer from your starttime and divide it by 1000 to get the time difference in seconds. | ||
- | Other notable differences | + | === Touching === |
- | The timer counts up in milliiseconds (thousanths of seconds) and there is no reset timer block. So you have to set a variable, say starttime, to timer value and then subtract the timer from your starttime and divide it by 1000 to get the time difference in seconds | + | |
- | There is no touching colour or touching edge 🙁 You can only detect touching a class or the mouse) There are complex ways around this but much easier/better to just re-think approaches to coding. | + | There is no touching colour or touching edge. You can only detect touching a class or the mouse) |