Search found 1888 matches

by VilleK
Mon Mar 05, 2018 8:34 am
Forum: Your projects
Topic: Butterfly
Replies: 82
Views: 13916

Re: Butterfly

I think it is cool with a Chinese name but it makes it a bit harder to find with google for non-Chinese users. Well, any webpage etc counts as "marketing" in my book, maybe I've worked in commercial industries too many years :) Indeed it might be the low resolutions that cause the poor com...
by VilleK
Sun Mar 04, 2018 12:22 pm
Forum: Your projects
Topic: Butterfly
Replies: 82
Views: 13916

Re: Butterfly

Nice. The info text is good. Do you intend to market it by its Chinese name or will you call it "Butterfly"? The caption text under the videos do not center below the video if I maximize the window in Firefox. The videos do seem far too heavily compressed. It could use some wow-factor but ...
by VilleK
Sun Jan 21, 2018 10:49 am
Forum: Your projects
Topic: Butterfly
Replies: 82
Views: 13916

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: 82
Views: 13916

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: 820

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: 858

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: 858

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: 858

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: 858

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: 296

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: 82
Views: 13916

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: 1375

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: 379

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: 820

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...

Go to advanced search