I am working on a game with a giant script, and I constantly have to debug and go back and edit it... But when I do that it takes about 10 seconds when I try to drag something or edit the value...
Is there any way I can avoid this? Is there some way I can edit scratch in the squeak-thingy and use simple graphics or something?
Offline
on graphics: Not that I know of, but I think Python grants that ability.
I often break the big script into smaller ones (using the "broadcast and wait" block. While this means that there is a slight delay every time you use a broadcast block, it makes editing blocks a lot faster.
Other than that, my advice is code to entire chunks of the script and snap the entire chunk in at once, rather than inserting each block into the giant script individually
Last edited by MoreGamesNow (2012-09-25 19:52:31)
Offline
MoreGamesNow wrote:
on graphics: Not that I know of, but I think Python grants that ability.
I often break the big script into smaller ones (using the "broadcast and wait" block. While this means that there is a slight delay every time you use a broadcast block, it makes editing blocks a lot faster.
Other than that, my advice is code to entire chunks of the script and snap the entire chunk in at once, rather than inserting each block into the giant script individually
Thanks, that gives me an idea, I'll use broadcast blocks for each section of programming, then when I finish I'll snap em all together and make it faster... thanks for the help!
Offline
Is the program running while you edit this script? If it is, hit the stop sign before editing, it will be smoother then.
Offline
sonicfan12p wrote:
Is the program running while you edit this script? If it is, hit the stop sign before editing, it will be smoother then.
Nah, the script is always stopped when I edit it, its just slow cause it has like 1000 blocks or something
But I distributed the long script into sections by using the broadcast and wait block, so its goin a bit faster now.
Offline
LEGOengineer261 wrote:
sonicfan12p wrote:
Is the program running while you edit this script? If it is, hit the stop sign before editing, it will be smoother then.
Nah, the script is always stopped when I edit it, its just slow cause it has like 1000 blocks or something
But I distributed the long script into sections by using the broadcast and wait block, so its goin a bit faster now.
Oh my, that is huge. What are you making? Command and Conquer?
Offline
roijac wrote:
MoreGamesNow wrote:
on graphics: Not that I know of, but I think Python grants that ability.
you mean m30w?
Oops, I meant panther xD
Offline
sonicfan12p wrote:
LEGOengineer261 wrote:
sonicfan12p wrote:
Is the program running while you edit this script? If it is, hit the stop sign before editing, it will be smoother then.
Nah, the script is always stopped when I edit it, its just slow cause it has like 1000 blocks or something
But I distributed the long script into sections by using the broadcast and wait block, so its goin a bit faster now.Oh my, that is huge. What are you making? Command and Conquer?
I am making a huge awesome tun based strategy game... 1s1s >
Offline
LEGOengineer261 wrote:
sonicfan12p wrote:
LEGOengineer261 wrote:
Nah, the script is always stopped when I edit it, its just slow cause it has like 1000 blocks or something
But I distributed the long script into sections by using the broadcast and wait block, so its goin a bit faster now.Oh my, that is huge. What are you making? Command and Conquer?
I am making a huge awesome tun based strategy game... 1s1s >
strategy game. 1s1s. AI. Bad idea! Well, it's a good idea, but it will run unbearably slow most likely. Regular non 1s1s AI run very slow.
Offline