Hello,
Those last weeks I trained a lot with LUA scripting in GameGuru MAX.
Thanks to my research on the available parameters explained in the 'global.lua' script and a better understanding of the Behaviour's structure and functioning I may now create useful scripts for a game's project that I am developing since a few months.
I already created a dozen of scripts especially to control imported animations or other ones created with GameGuru MAX instructions.
My purpose with that game will be to demonstrate that what Mister Lee Bamber declared in his interview recorded by Avenging Eagle in this video
https://www.youtube.com/watch?v=7tgKTroAk3s ( see this thread
https://forum.game-guru.com/thread/223411 ) is the truth.
Indeed this is the related part excerpted from that interview starting on elapsed time of 26 minutes and 58 seconds and concluded by a laugh of Mister Lee Bamber : " ... and I am hoping that GameGuru Max is finally the gamemaker where you can make a game and you can sell it in the shops and no one know it's GameGuru Max. That's the ambition...".
I am glad to show this script 'rgba_converter.lua' that could be defined as a utility tool for GameGuru Max.
It offers two functionalities :
- the first one is the conversion of a color defined by its four parameters (r,g,b and a) into its decimal value as found in the .FPE files relative to the assets properties in conjuction with the .DBO files and with the assigned textures.
- the second one is the conversion of that unique decimal rgba value of a color into its four distinctive r,g,b and a values.
For each of those two functionalities, the script shows five sprites respectively colored with the r,g,b,a and rgba values.
I show herewith a screen capture of the script where I inserted as many comments as possible.
For the complete newbies who would be interested in the usage of behaviors in GameGuru MAX I also recorded a video with my audio comments showing how that behaviour works in an empty project.
Here is the link to that video published on my Vimeo Gallery :
https://vimeo.com/715954518 ( size : 131 MBytes ; duration : 4 minutes and 55 seconds . HD + audio ).
To conclude this comment I want to say this : Creating a video game is a GAME in itself and that is especially true (no irony in my words) when your project is evolving through the successive builds that you'are testing with many trials and errors. A big thank you to Mister Lee Bamber and to the members of the small team dedicated to that superb game engine.