Search found 365 matches

by JohnM
Nov 12th, '18, 12:15
Forum: Bugs
Topic: copy costume from <dirlist> doesnt work in exported app
Replies: 2
Views: 213

Re: copy costume from <dirlist> doesnt work in exported app

Is your app meant to read an image from a file? If so, "copy costume" isn't helpful. What you'll want to do is to get the file name, then read the image file. The "read file" block (in the "Words" category) recognizes .png files and convert them into an actual bitmap image that can be used in the "s...
by JohnM
Oct 22nd, '18, 20:22
Forum: Bugs
Topic: GP-beta-082 lockup Bad texture printed repeatedly in console
Replies: 4
Views: 568

Re: GP-beta-082 lockup Bad texture printed repeatedly in console

That's one of the alternatives I'm considering. Nice to know it has a good reputation.
by JohnM
Oct 21st, '18, 22:50
Forum: Bugs
Topic: GP-beta-082 lockup Bad texture printed repeatedly in console
Replies: 4
Views: 568

Re: GP-beta-082 lockup Bad texture printed repeatedly in console

This can sometimes happen if you make the GP window too large, especially on a large, high-resolution display. You can try making the window smaller. In any case, it's probably a good idea to save the project, then quit and restart GP when this starts happening. Unfortunately, these texture issues c...
by JohnM
Sep 1st, '18, 17:32
Forum: Projects
Topic: How to use serial port?
Replies: 1
Views: 361

Re: How to use serial port?

Here are the built-in GP serial port functions: -- Serial Port -- listSerialPorts openSerialPort isOpenSerialPort closeSerialPort readSerialPort writeSerialPort I got this by running the 'help' function in a workspace window. (To open a workspace, first enter developer mode, then select 'workspace.....
by JohnM
Sep 1st, '18, 17:17
Forum: Requests
Topic: Using microphone and webcam in GP?
Replies: 5
Views: 673

Re: Using microphone and webcam in GP?

GP supports getting data from the microphone using the "sound input" block in the Sound category.

I agree, camera support would be nice to have as well, but its a fair bit of work to support that on all platforms.
by JohnM
Sep 1st, '18, 17:12
Forum: Experience Reports
Topic: Why does Creating a New Instance have such an Overhead?
Replies: 1
Views: 463

Re: Why does Creating a New Instance have such an Overhead?

I suspect what your'e seeing may be the result of displaying a thumbnail for the new instance, rather than creating the instance itself. It's also slow to add an instance to the stage. One way to address the thumbnail slowdown is to select a different class before running the code the generates new ...
by JohnM
Sep 1st, '18, 17:08
Forum: Working with GP
Topic: Pulls GP benefits from the 64bit architecture?
Replies: 3
Views: 507

Re: Pulls GP benefits from the 64bit architecture?

GP uses the same size integers on both 32-bit and 64-bit architectures. GP does run a little faster when compiled for 64-bit architectures. However, the speed increase isn't really noticeable except on benchmarks.
by JohnM
Sep 1st, '18, 17:01
Forum: Requests
Topic: asymetrical encryption/decryption?
Replies: 7
Views: 791

Re: asymetrical encryption/decryption?

As Gosha pointed out, the RSA encryption system involves multiplying and taking the modulus of very large numbers (500-1000 decimal digits). If you have a system that supports working with such large integers, then RSA isn't too difficult to implement. As I recall, the most difficult part is generat...
by JohnM
Jul 22nd, '18, 21:27
Forum: Extending GP
Topic: Great to see the new GP mods, please share links!
Replies: 2
Views: 592

Re: Great to see the new GP mods, please share links!

Oh, I see -- you need to click on the number in the "Fork" box. Thanks!
by JohnM
Jul 22nd, '18, 21:24
Forum: Projects
Topic: BootToGP - minimal Linux to run a GP project as embeded app?
Replies: 6
Views: 842

Re: BootToGP - minimal Linux to run a GP project as embeded app?

This is really cool! I love the idea of "booting into GP".