Maybe some of you would like to create a program with GP and think 800x500 is not enough and the ratio of 16:10 does not fit your idea.
This is a very simple extension which adds two blocks: Warning: this extension is not ment to be used in your projects, it is ment as a tool to help you change the GP stage wiith some very small automated changes in the GP source files.
What this extension does:
Those two blocks are searching for some special files in your /GP-beta-079/runtime/lib/ foldger:
The "set stage ratio" block change a line in the "ProjectEditor.gp" file. The line 80 in this file looks like this in a default GP installation:
Code: Select all
stage = (newStage 16 10)
The "set stage width" block only needs one value to set the pixel amount of the stage width in the file "Stage.gp" on line 42.
This line looks like this by default:
Code: Select all
majorAxis = 800
If you run one of those two blocks, GP will change the corresponding file with your entered values. After this it will ask you for restarting GP. This will only run the exit command of GP and NOT start it again automaticaly. I try to add a automatic restart of the GP IDE but I am not sure if this is posible.
This extension was made for GP v079 and it could break your files if you use it in other versions! But it should work on all supported systems like Linux, Windows and Mac OS, it will not work in the browser version of GP.
I hope this helps those of you who do not want to tinker with the code of GP yourself.
~ MSandro