Search found 11 matches

by Spiralo-Idioïde
Mar 25th, '20, 15:45
Forum: Share Your Mod
Topic: coreLoader (GP Mod community edition branch)
Replies: 0
Views: 103760

coreLoader (GP Mod community edition branch)

For the last week I have been working on a branch of the GP community edition. The objective of this branch is to ease switching between different mods or custom applications. How it works When you launch GP the VM (virtual machine) loads all the libraries (*.gp) inside the 'runtime/lib' folder. But...
by Spiralo-Idioïde
Mar 18th, '20, 19:41
Forum: Projects
Topic: Quiz Maker in GP
Replies: 2
Views: 7454

Re: Quiz Maker in GP

I modified the menuSelectionFromList global function to have the selection Menu always at the same place. scriptImage.png The only thing that needed was to replace popUpAtHand by popUp. Then we need to retrieve the position of the Class we want the menu to appear on. But we cannot just use (x Positi...
by Spiralo-Idioïde
Mar 6th, '20, 07:10
Forum: Tips and Tutorials
Topic: Simple Way to get Memory Available
Replies: 6
Views: 21887

Re: Simple Way to get Memory Available

I don't remember perfectly but I had already used this exact same block to print memory usage next to the FPS. When seeing your code I wanted to know wich one was faster than the other
by Spiralo-Idioïde
Mar 5th, '20, 15:27
Forum: Requests
Topic: Discord for better communication?
Replies: 4
Views: 97418

Re: Discord for better communication?

I think it might be a good thing to do. I also prefer Discord to IRC since GP is aimed at beginners in programming (just like me). Even if I do sometimes use IRC I think there are more persons that might get interested in GP who already use Discord. Installing an IRC client and learning how IRC work...
by Spiralo-Idioïde
Mar 2nd, '20, 17:47
Forum: Tips and Tutorials
Topic: Simple Way to get Memory Available
Replies: 6
Views: 21887

Re: Simple Way to get Memory Available

I like your method a lot more lol Thanks you. also you can right click it and press text code to copy and paste that into the forums (if people want to import, they open a workspace and paste it then highlight all the text and press ctrl+b) Waw, we can use Ctrl+b ? That's really, really, awesome. T...
by Spiralo-Idioïde
Feb 11th, '20, 17:32
Forum: Tips and Tutorials
Topic: Simple Way to get Memory Available
Replies: 6
Views: 21887

Re: Simple Way to get Memory Available

Oh, I just noticed we can speed-up the process a lot. The (memoryUsage) block is not a primitive, the primitive is (memStat) . Using this one instead (with a division and multiplication) should make things go faster. For example, GP manages to set a variable with the reporter you gave approximately ...
by Spiralo-Idioïde
Feb 11th, '20, 17:09
Forum: Tips and Tutorials
Topic: Simple Way to get Memory Available
Replies: 6
Views: 21887

Re: Simple Way to get Memory Available

I'm not sure it could add anything to the built-in garbage manager wich seems to be very efficient.
Just look at this GIF (I'm using your code to get memory usage and the 'grapher' part).
garbageCollector.gif
garbageCollector.gif (2.1 MiB) Viewed 21882 times
But if you think it can be usefull in some way I'd be happy to know.
by Spiralo-Idioïde
Jan 15th, '20, 19:51
Forum: Tips and Tutorials
Topic: Notepad++ simple GP syntax highlighting
Replies: 3
Views: 36175

Re: Notepad++ simple GP syntax highlighting

I made a V2. More in first post.
by Spiralo-Idioïde
Jan 13th, '20, 18:50
Forum: Requests
Topic: An Update?
Replies: 3
Views: 8142

Re: An Update?

But if we want one we'll have to do it ourselves until "a few years"
by Spiralo-Idioïde
Jan 13th, '20, 18:44
Forum: Requests
Topic: An Update?
Replies: 3
Views: 8142

Re: An Update?

Yes it would be great.