Beta release 1.9.4b
Posted: Fri Oct 31, 2008 9:55 am
This version is released as 1.9.4
---------------
Hi,
Here is beta version 1.9.4b (updated Nov 7)
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
NOTE: Linux and Mac runtime builds not included. You cannot use the binaries from the previous version, it won't work.
NOTE: If you use this version you should be aware that the features may not fully work and that they can be changed or even removed in a later release.
Features:
- File-component now can write to files. Try updated FpsDemo for an example. Press "1" to save player position to file, "2" to restore from file.
- RenderNet can now set vertex colors
- Fixed timing-bug with midi-import
- Removed sleep-call in screensaver runtime
- Fixed bug with user defined functions with parameters in expressions
- Fixed bug with array out of range error
Please report any problems, thanks!
Example of using vertex colors, a simple plasma effect. Copy and paste into a ZGameEditor-tree:
---------------
Hi,
Here is beta version 1.9.4b (updated Nov 7)
http://www.zgameeditor.org/files/ZGameEditor_beta.zip
NOTE: Linux and Mac runtime builds not included. You cannot use the binaries from the previous version, it won't work.
NOTE: If you use this version you should be aware that the features may not fully work and that they can be changed or even removed in a later release.
Features:
- File-component now can write to files. Try updated FpsDemo for an example. Press "1" to save player position to file, "2" to restore from file.
- RenderNet can now set vertex colors
- Fixed timing-bug with midi-import
- Removed sleep-call in screensaver runtime
- Fixed bug with user defined functions with parameters in expressions
- Fixed bug with array out of range error
Please report any problems, thanks!
Example of using vertex colors, a simple plasma effect. Copy and paste into a ZGameEditor-tree:
Code: Select all
ZZDC<?xml version="1.0" encoding="iso-8859-1" ?>
<Model Name="Model1">
<OnRender>
<RenderNet XCount="8" YCount="8" VertexColors="255">
<RenderVertexExpression>
<![CDATA[//Update each vertex.
//Vertex : current vertex
//TexCoord : current texture coordinate
//Color : current vertex color
float t1,t2;
t1=noise3(this.vertex.x,this.vertex.y,app.time);
t2=noise3(this.vertex.x*1.2,this.vertex.y*1.3,app.time*0.5);
this.Color.R=t1*1.5;
this.Color.B=t2*1.5;]]>
</RenderVertexExpression>
</RenderNet>
</OnRender>
</Model>