Search found 1886 matches

by VilleK
Sun Jan 21, 2018 10:49 am
Forum: Your projects
Topic: Butterfly
Replies: 78
Views: 11601

Re: Butterfly

Ah yes, the topic of windowed mode and pixellation often pops up in #ZGameEditor To me, it seem that if you run the game full screen on a big monitor (20" or higher) then the cutscene graphics does not do themselves justice, because the pixels become so large that it is hard to appreciate the ...
by VilleK
Sat Jan 20, 2018 10:55 am
Forum: Your projects
Topic: Butterfly
Replies: 78
Views: 11601

Re: Butterfly

Thanks! You know already I'm a fan of this game. The story (what I can understand of it :) ) and art of the cutscenes is fantastic. The shooting action is excellent too. I noticed it starts by default in fullscreen now. I wonder if it's not better to default in windowed mode? It makes the art look b...
by VilleK
Fri Jan 19, 2018 3:15 pm
Forum: General discussion
Topic: Works only in Preview
Replies: 10
Views: 407

Re: Works only in Preview

Yes, indeed everything is rendered in every render pass :-). So you need to test CurrentRenderPass everywhere to use it like you want. If you have ideas on how to improve this feature, go ahead. It has not been used much as far as I know (but it is quite powerful feature).
by VilleK
Sun Jan 14, 2018 7:46 pm
Forum: Releases
Topic: Inline functions
Replies: 6
Views: 320

Re: Inline functions

Another important advantage of inline functions is when one or several of the arguments to a function is a constant, this adds more opportunities for optimization. Using the function "min" from above: float x=min(1,2); After inlining the compiler transforms to this: float x=1 <= 2 ? 1 : 2;...
by VilleK
Sat Jan 13, 2018 10:57 am
Forum: Releases
Topic: Inline functions
Replies: 6
Views: 320

Re: Flooding the console

rrTea wrote:The current build prints out the whole ZGE project to console every time a project is loaded or launched in Preview.

Aha, sorry this was debug info I forgot to exclude. Fixed now. Please download again.
by VilleK
Fri Jan 12, 2018 12:28 pm
Forum: Releases
Topic: Inline functions
Replies: 6
Views: 320

Re: Inline functions

Thanks for testing, this should be fixed now: http://www.zgameeditor.org/files/ZGameEditor_beta.zip
by VilleK
Thu Jan 11, 2018 1:18 pm
Forum: Releases
Topic: Inline functions
Replies: 6
Views: 320

Inline functions

New build: http://www.zgameeditor.org/files/ZGameEditor_beta.zip You can now tag functions with the "inline" keyword to inline them. inline float min(float v1, float v2) { return v1 <= v2 ? v1 : v2; } This means that every function calling this will inline the function itself , so there is...
by VilleK
Sat Jan 06, 2018 8:50 pm
Forum: General discussion
Topic: Call component from BaseModel
Replies: 3
Views: 124

Re: Call component from BaseModel

There are some limitations about basemodel inheritance. Try this variant that uses a Vec3 variable to hold the color and a library to set it. <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion=&q...
by VilleK
Sun Dec 17, 2017 11:41 am
Forum: Your projects
Topic: Butterfly
Replies: 78
Views: 11601

Re: Butterfly

Looks very nice! Another feature that adds professionalism and polish to this game.
by VilleK
Wed Dec 13, 2017 1:27 pm
Forum: Feature requests
Topic: Setting UI font size
Replies: 8
Views: 615

Re: Setting UI font size

I've noticed this too, it is annoying. I will fix it.
by VilleK
Mon Dec 04, 2017 9:15 am
Forum: General discussion
Topic: Pausing
Replies: 3
Views: 221

Re: Pausing

I think some of Jphs games have pause feature but I don't know how he implemented it. I would probably make a AppState called "PlayingState" and another "PausedState" but I can guess there are some issues like those you explained, yes. If there was a full "engine stop" ...
by VilleK
Sat Dec 02, 2017 10:40 am
Forum: General discussion
Topic: Works only in Preview
Replies: 10
Views: 407

Re: Works only in Preview

The beta is updated with my change that makes it work 100% in preview, but I notice now that it is still black in exe-file. I notice something unusual with your project though, you do some rendering in OnBeginRenderPass. I would try to just set things up in OnBeginRenderPass and then do the actual r...
by VilleK
Sat Dec 02, 2017 10:21 am
Forum: Feature requests
Topic: RenderText string equivalent of TextFloatReference
Replies: 10
Views: 511

Re: RenderText string equivalent of TextFloatReference

I get the same problem here, I must have done something wrong while rebuilding, will check.
by VilleK
Fri Dec 01, 2017 12:40 pm
Forum: General discussion
Topic: Works only in Preview
Replies: 10
Views: 407

Re: Works only in Preview

I could reproduce this problem, and I think I've fixed it here: http://www.zgameeditor.org/files/ZGameEditor_beta.zip

Go to advanced search