BitmapExpression: UseBlankSource

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
rrTea
Posts: 383
Joined: Sat Feb 15, 2014 9:54 am
Contact:

BitmapExpression: UseBlankSource

Post by rrTea » Sat Nov 23, 2019 2:41 am

What does that do? If it does what the name implies to me, the same effect would be achieved by just putting the BitmapExpression first in the list, so I assume there's more to it than that…

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

Re: BitmapExpression: UseBlankSource

Post by VilleK » Mon Nov 25, 2019 8:01 am

It is set automatically when needed by the tool. Since the producers list is just a flat list, if there is a bitmapexpression in the middle then that needs to know it should start with a blank input.

In this image both of the BitmapExpressions have UseBlankInput set to true, because otherwise at runtime when ZGE processes the Producers list the second BitmapExpression would use the input of the first one. It really is an implementation detail so not sure it ever needs to be manually adjusted.
Attachments
zgebitmap.png
zgebitmap.png (25.71 KiB) Viewed 33 times

User avatar
rrTea
Posts: 383
Joined: Sat Feb 15, 2014 9:54 am
Contact:

Re: BitmapExpression: UseBlankSource

Post by rrTea » Mon Nov 25, 2019 11:48 pm

I understand, thanks :_)

Post Reply