Search found 376 matches

by JohnM
Dec 5th, '17, 16:57
Forum: Bugs
Topic: When click open Demo's and Project starters not visible
Replies: 6
Views: 12258

Re: When click open Demo's and Project starters not visible

Whoa, where did that strange path come from? It looks like you are on Mac OS, probably the latest version (High Sierra). What's your OS version number? (e.g. 10.13.0)? Something must have changed about how the OS resolves absolute paths. GP uses the absolute path of the app to find the Examples fold...
by JohnM
Dec 5th, '17, 16:48
Forum: Getting started
Topic: A Few Questions
Replies: 5
Views: 22360

Re: A Few Questions

Good catch! Yes, that is definitely an error. The export app is supposed to have the same logical stage size as when you developed it in GP. (It scales when you resize the window, but it should remain 800x500 logical units.)

I'll fix this in the next release.
by JohnM
Nov 28th, '17, 12:38
Forum: Getting started
Topic: A Few Questions
Replies: 5
Views: 22360

Re: A Few Questions

1. In GP, lists are just values like numbers, strings, colors, etc. The "list" block creates a list, and you can store it in a variable so you can operate on it they way you operate on Scratch lists. SimpleSi's post is a good guide. 2. GP doesn't have a block in the palette to open a file selector, ...
by JohnM
Nov 28th, '17, 11:49
Forum: Bugs
Topic: When click open Demo's and Project starters not visible
Replies: 6
Views: 12258

Re: When click open Demo's and Project starters not visible

It sounds like the GP application got separated from the "Examples" folder. Make sure the GP app is in the GP folder that you got when you first unzipped GP. This problem sometimes arise on Mac OS 10.12 and later because you need to remove GP.app from the GP folder and put it in the Applications fol...
by JohnM
Nov 26th, '17, 18:21
Forum: Requests
Topic: try-catch bolock please!
Replies: 2
Views: 4024

Re: try-catch bolock please!

About 99% of the time, I prefer using if statements and returns to handle expected errors, as MSandro suggested. However, there are are a few cases when one needs a mechanism that can catch and recover from unexpected errors. For example, making a robust server that recovers from unexpected errors, ...
by JohnM
Nov 20th, '17, 18:58
Forum: Working with GP
Topic: initial feedback on v77
Replies: 1
Views: 7530

Re: initial feedback on v77

You're right, the "send" block does what broadcast used to do -- it allows you to send a message to a sprite or list of sprites (with an optional "data") parameter. Broadcast now means "everyone", as in Scratch. My hope is that this will the simple cases of broadcast easier to understand/discover fo...
by JohnM
Nov 20th, '17, 15:29
Forum: Download GP!
Topic: Version 78
Replies: 0
Views: 9211

Version 78

The latest version of GP, v078, is available from http://gpblocks.org/versions/GP.zip. The only new feature is support for 64-bit Linux. This was tested on Ubuntu 14.4 and 16.4 plus a few other Linux distros. Not surprisingly, GP works best on variations of Ubuntu, such as Mint. The sound stutters a...
by JohnM
Nov 19th, '17, 18:08
Forum: Bugs
Topic: Raised to block in operators category
Replies: 3
Views: 8820

Re: Raised to block in operators category

Thanks for reporting this. In v076 it nows gives an error message (in the debugger) rather than returning the mysterious NaN. There's a special case for -1 raised to an integer power, which is sometimes used in math equations as a way to get alternating -1 and 1 values. Maybe that should be extended...
by JohnM
Nov 19th, '17, 12:48
Forum: Bugs
Topic: HSV alpha value
Replies: 1
Views: 3631

Re: HSV alpha value

Thanks for reporting this. WIll be fixed in v077.
by JohnM
Nov 18th, '17, 23:36
Forum: Bugs
Topic: [v77]Instance Method "this" settings
Replies: 1
Views: 3252

Re: [v77]Instance Method "this" settings

This isn't a new feature in v77; it's been that way since we added user-defined methods. But I agree, it doesn't make sense to be able to specify the type of the "this" parameter. I'm hoping to rework all the method stuff, maybe in January, to minimize the use of "this" as much as possible. As you a...