Creation/Dev/Releases/Client/6.036: Difference between revisions

From Graal Bible
Line 44: Line 44:


=== Text with gradient ===
=== Text with gradient ===
GUI profiles allow you to define a text gradient with the ''textgradient'' and ''gradientcolor'' attributes:
<pre>
new GuiTextCtrl("MyTextCtrl") {
  bounds = {100,100, 200,30};
  useownprofile = true;
  profile.fontcolor = "white";
  profile.textgradient = true;
  profile.gradientcolor = "gray";
  text = "Hello World!";
}
</pre>


==Bug fixes==
==Bug fixes==


* Various crashes related to the scripting engine and handling of objects being destroyed and then recreated
* Various crashes related to the scripting engine and handling of objects being destroyed and then recreated

Revision as of 10:23, 19 November 2012

Release date

November 4th 2012 for Windows and Mac, November 10th for Linux

Note: various other platforms are now supported (iPhone, Bada, Android, Flash) but they don't follow this exact release cycle.

New features

GUI animations

Animate GUI without requiring script timeouts:

with (MyWindow.createAnimation()) {
  transition = "moveintop";
  duration = 0.5;
}

This is animating the window, it floats in from the top of the screen to the current position.

Support of multiple GUI styles at once

New particle engine

Brings much higher speed

No scanning of files at startup anymore

External scripted windows

Scripted Tools

Playerlist, PMs, options, profiles and RemoteControl

Improved file download from web

Supports https, keep-alive connections, update of files, download of web files as game files

Extended script engine documentation

You can get the script engine documentation by starting the game client with the start option -listscriptfunctions. It will now print GUI events like onShow and onHide.

Smoother move() function

360-degree projectiles

Text with gradient

GUI profiles allow you to define a text gradient with the textgradient and gradientcolor attributes:

new GuiTextCtrl("MyTextCtrl") {
  bounds = {100,100, 200,30};
  useownprofile = true;
  profile.fontcolor = "white";
  profile.textgradient = true;
  profile.gradientcolor = "gray";
  text = "Hello World!";
}

Bug fixes

  • Various crashes related to the scripting engine and handling of objects being destroyed and then recreated