Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit/AppGameKit Studio Showcase / [Plugin] GLInfo (My first plugin) ;)

Author
Message
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 2nd Apr 2017 02:49 Edited at: 19th May 2017 08:50
I have just written a small plugin.
Nothing special but it works. So you can get additional version information of the GL context.
Here the command list:


May be extended

and a smal example.


[2017-05-19]
FIX - Corrected string handling.
FIX - Unused agk commands removed. (smaller library)
ADD - Linux64.so now it should work under linux.


Maybe someone can use it.
Extract the file in the plugin folder of the compiler.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Attachments

Login to view attachments
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 2nd Apr 2017 03:11
Very nice. I got an error "main.agc:22: error: "init" is not a recognised command for that plugin". I deleted that line (added a loop & sync()) and it worked fine
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 2nd Apr 2017 08:10
Sorry, can you remove. Is no longer necessary.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 20th Apr 2017 02:19
Maybe the mods can make a plugin sticky and move all the community created plugin threads there?
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 19th May 2017 08:47
New version added to the first post. Now with Linux64.so
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Wilf
Valued Member
17
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 22nd Jun 2017 12:46
There are one too many lines at the end of commands.txt in GLInfo_20170519.zip, resulting in the error message:

Quote: "
main.agc:9: error: Failed to load plugin GLInfo, command list /Plugins/GLInfo/Commands.txt does not have enough tokens per line
"


Deleting the last line fixes the prob. Just FYI!
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 24th Jun 2017 06:54
UPS. I did not notice that. Thank you.
Share your knowledge. It\'s a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Login to post a reply

Server time is: 2024-03-28 15:45:09
Your offset time is: 2024-03-28 15:45:09