Search found 1984 matches

by VilleK
Fri May 17, 2019 7:36 am
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 411

Re: Cardboard VR

Kjell wrote:
Wed May 15, 2019 6:02 pm
the AspectRatio properties aren't meant to be updated in real-time / mid-frame
It should work to update those properties in OnBeginRenderPass though. But I haven't followed the details of this thread so I guess there is a reason you are not doing that.
by VilleK
Wed May 08, 2019 11:10 am
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 411

Re: Cardboard VR

Kjell wrote:
Wed May 08, 2019 10:28 am
I wouldn't call this a bug at all, it behaves the same as-in C & is by design, no?
That is correct yes, but it is still unfortunate as it is obviously not what anyone writes that kind of code wants to happen.
by VilleK
Wed May 08, 2019 7:05 am
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 411

Re: Cardboard VR

.. is because both ScreenWidth and ScreenHeight are integers, so the result is a integer as well ( you want a floating point value ). Quite unfortunate, this is a parser bug, ZGE should handle it better. + You can't call functions from the global scope in a ZLibrary .. so that "switchVR(0);" call i...
by VilleK
Tue Apr 23, 2019 10:09 am
Forum: Bug reports
Topic: Should compile?
Replies: 2
Views: 149

Re: Should compile?

Indeed this should not compile :). I will stop it from working so please don't write code that relies on it working.
by VilleK
Tue Apr 23, 2019 10:08 am
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 411

Re: Cardboard VR

Hi, I've been away on vacation. Did you find a workaround or do you still have problems with ScreenWidth issue?
by VilleK
Tue Apr 09, 2019 7:03 am
Forum: General discussion
Topic: How to have a flat 3d cube always face the camera.
Replies: 4
Views: 282

Re: How to have a flat 3d cube always face the camera.

I didn't realize before that it actually was possible to shoot and it switches to knife when out of ammo :D. Considering this is a project that you threw together as a reply to a question this is really cool.
by VilleK
Mon Apr 08, 2019 7:29 am
Forum: Your projects
Topic: 蝴蝶 / Inner99
Replies: 120
Views: 29929

Re: 蝴蝶 / Inner99

Very nice. I'm so impressed with the effort you put into this.
by VilleK
Mon Apr 08, 2019 7:26 am
Forum: General discussion
Topic: How to have a flat 3d cube always face the camera.
Replies: 4
Views: 282

Re: How to have a flat 3d cube always face the camera.

Poor example Kjell, where are the nazi soldiers :D
by VilleK
Thu Mar 28, 2019 8:43 am
Forum: General discussion
Topic: Firefox blocks download of latest version
Replies: 3
Views: 306

Re: Firefox blocks download of latest version

An update: the latest build is no longer blocked by Firefox. With help from Kjell we did some changes to reduce the amount of false positives in antivirus scanners.

http://www.zgameeditor.org/files/ZGameEditor_beta.zip
by VilleK
Mon Mar 18, 2019 8:11 am
Forum: Your projects
Topic: OMEGANAUT
Replies: 76
Views: 18946

Re: OMEGANAUT

Very nice screenshots :)
by VilleK
Mon Mar 11, 2019 8:07 am
Forum: General discussion
Topic: Firefox blocks download of latest version
Replies: 3
Views: 306

Re: Firefox blocks download of latest version

Hi, I get that in Firefox here too. Annoying. I ran ZGameEditor.exe on virustotal and it came up clean: https://www.virustotal.com/#/file/113637aa2ce9201ebf0021c2345f79f3723e3d02cc5c7dfe3f96745415b4434e/detection (1/69 can be considered clean) It seems Firefox uses some database for checks from goog...
by VilleK
Tue Mar 05, 2019 2:20 pm
Forum: Releases
Topic: Evaluate expression
Replies: 0
Views: 358

Evaluate expression

Added a new feature: a editbox for evaluate expression. It is located at the bottom right corner, just below the log. This is a useful debugging and productivity tool. You can type any expression that is valid in the currently loaded application. Enter will evaluate expression. Pressing Up and Down ...
by VilleK
Fri Mar 01, 2019 11:16 am
Forum: Your projects
Topic: OMEGANAUT
Replies: 76
Views: 18946

Re: OMEGANAUT

Hi,

The strtoint function in ZGE does not deal with hexvalues so I guess you are seeing some faulty value instead :). It only supports simple integer decimal strings like "42".
by VilleK
Mon Feb 11, 2019 8:04 am
Forum: Your projects
Topic: 蝴蝶 / Inner99
Replies: 120
Views: 29929

Re: GS 64k

Indeed, I also hope you finish this project some day. It has been very interesting to follow!
by VilleK
Mon Jan 28, 2019 2:45 pm
Forum: Feature requests
Topic: Number of models
Replies: 4
Views: 819

Re: Number of models

The "managed" stuff is related to the automatic garbage collection of strings and arrays. If those values rise drastically then there might be a bug, but I've rarely had any use for that information. To get a total count of models from script I guess you can loop the categories you use and call getM...