ZGameEditor 1.9.2

Information and change log about the latest ZGameEditor release.

Moderator: Moderators

Post Reply
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

ZGameEditor 1.9.2

Post by VilleK »

Changes in 1.9.2 version:

* New component DefineArray for defining arrays of floating point values that can be used in expressions. See attached sample project.
* New property Filter on Bitmap component.
* Changed property TextureScale on Material so that a texture can be scaled in x and y axis individually.
* New function round in expressions.
* Bugfix: Alpha-value is kept when changing colors on material.
* Bugfix: Screen is cleared to avoid garbage on screen when using a non-fullscreen viewport ratio.
* + several other minor fixes.

Thanks to Kjell, Kattle and JPH.

Download from here:

http://www.zgameeditor.org/index.php/Main/Download
Attachments
ArrayTest.zgeproj
just a small non-graphic project to test the new array-functionality
(1.44 KiB) Downloaded 936 times
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

great stuff again!

Post by jph_wacheski »

These are all very welcome additions, my great thanks to you all!

A couple things I noticed and will point out; the Alpha-value Bugfix seems to work fine however the default value for both Material and RenderSetColor components is now zero (0) ! took me a few minuets to figure out what was going on there,.
With the other bugfix,. it is indeed better in that the garbage is not displayed,. however the viewport is no longer centered on the screen,. For me centering it would make more sence,. not too sure what anyone would use this mode for anyhow., so not a big deal.

I reall lov the pixle filter mode,. very nice! the new DefineArray may come in very usefull,. as well as the rest! again great stuff.
iterationGAMES.com
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

The alpha-bug just shows how even the smallest change that seems perfectly reasonable can introduce new problems.
Thanks for reporting.

I've changed now so it doesn't restore the alpha value if it is zero.

The zip is updated with a new exe.

I cannot reproduce the viewport problem though, it is still always centered for me.
User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell »

Hmm,

Minor issue, when accessing Arrays from ZExpressions, it is not possible to use any assignments other then "=". So for example "Array[0] += 1" doesn't work.

K
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

That's a proper bug Kjell, I found out it does not work with local vars either.
I will fix it for next release/beta update. Thanks for reporting.
Post Reply