
Hi! I’m the beer & robot loving artist Yamatron!today is last post of 2013!
Thank you for seeing a lot of blog this year!
see you next year!!
しとしとぴっちゃん、しとぴっちゃん、しとぴっちゃん♪
Samurai Programmer Sawa (and cub) here!
Previously I talked about how “Over 70% of PixelJunk is done with scripts”. Today I want to speak a little bit more about “GameMonkey Script”. Why? Because I want more game developers throughout the world to use it!
To get the ball rolling, most of the basic things you’d need to know are available on the public page.
Furthermore, we’ve gone and improved on this original flavour over time.
The convenience of threads should be felt in your belly every time you use them but, our GameMonkey is even simpler.. more convenient.. more wild!? You can make threads.
global WildThreadingFunction = function()
{
local a = 10;
fork
{
// This is a thread
...
// the local variable gets copied so, "10" will be shown
print( a );
}
local sound_pointer = Q.PlaySound( "WILD" );
fork
{
// Here's another thread
...
// Animation goes here
...
sleep( 0.5f );
...
sleep( 0.5f );
sound_pointer.Stop();
}
};
Do you feel it? Can you feel that convenience?
Making threads everywhere easily is all nice and good but, the real guts of the value is that local variables get copied into threads right? With this, you can get rid of a lot of useless variables and arguments, the data and processing can be squeezed into one place.
This is deeply concerned with the programs readability. It means you don’t need to jump around here there and everywhere in the editor looking for stuff!
Regarding this fork、it’s been implemented in the latest version of GameMonkey, so feel free to try using it!
ちゃぁん♪
That’s all for today!
Hi! I’m the beer & robot loving artist Yamatron!
This week, we made new coworker robot
His name is Hank!!
He is throw up ingredient & soup can!
He can’t move on their own, you need to carry to any point .
You can use it in conjunction with side robot Bill & Phil,
automation of the base should proceed further.