[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
GameMonkey Script • View topic - gmRealtimeGL - openGL in GM with realtime results

GameMonkey Script

GameMonkey Script Forums
It is currently Thu Oct 28, 2021 4:15 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 

what do you think?
interesting 67%  67%  [ 2 ]
ok 33%  33%  [ 1 ]
boring 0%  0%  [ 0 ]
Total votes : 3
Author Message
PostPosted: Tue Aug 19, 2008 1:31 pm 
Offline

Joined: Tue Aug 19, 2008 12:46 pm
Posts: 1
Hi..
I have created program that parses openGL functions and constants from gl.h into c++ binds for game monkey. So you can use most of openGL functions in game monkey script.
I have also created glut program, that runs this script and automatically reloads file if it is changed. So you can edit script in text editor, and see result in realtime just by pressing ctrl+s.

example script: http://psycho.mypage.sk/projects/gmRealtimeGL/test.gm (see header for how-to)
viewer: http://psycho.mypage.sk/projects/gmReal ... timeGL(exe).rar
viewer+parser source, and exe: http://psycho.mypage.sk/projects/gmReal ... timeGL.rar

It's nothing serious, I only did it for fun and it was created in about 5 hours, so the code is not much polished (hm, how to register globals from c++ other than running script?). But it works (mostly :]).
Btw, I am using game monkey for my 2d engine (all-purpose quickly-make-anything engine for my own projects).

I'd love to hear any reactions, good or bad, drop comment or message me, thank you.. (or if you want to discuss anything gamedev related)

psycho
http://psycho.mypage.sk/


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 19, 2008 9:28 pm 
Offline

Joined: Fri Jan 14, 2005 2:28 am
Posts: 439


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 20, 2008 10:11 am 
Offline

Joined: Mon Dec 15, 2003 1:38 pm
Posts: 708
Nice one psycho, that is pretty cool! I must admit I wasn't paying attention when you said 'automatic change detection' and was delighted to see the changes occur as soon as I hit Ctrl-S in my editor. ...And welcome to the forum :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group