Search found 1714 matches

by Kjell
Sat Sep 14, 2019 10:10 am
Forum: Extensions
Topic: Very Simple MP3 Player DLL
Replies: 11
Views: 5418

Re: Very Simple MP3 Player DLL

Do I always have to refer to a particular file name in order to stop it or is there a way to just issue a command "Stop current playing track"? You can assign a alias ... which requires the file to be opened & closed ( instead of just play & stop ). It's pretty straight-forward though, here's a mod...
by Kjell
Fri Sep 13, 2019 9:55 am
Forum: Extensions
Topic: Very Simple MP3 Player DLL
Replies: 11
Views: 5418

Re: Very Simple MP3 Player DLL

Hi rrTea, Is there any way to control the volume? I'm trying to fade a song at a particular point at the end of the stage. Sure, put the following ZExpression in App.OnUpdate of the Sunset example for a demonstration ( move mouse up & down to control the volume ). float v = (App.MousePosition.Y+1)*5...
by Kjell
Wed Aug 14, 2019 10:17 am
Forum: General discussion
Topic: Virus or false positive?
Replies: 15
Views: 4386

Re: Virus or false positive?

Hi rrTea, So I tested my new project (was just getting ready to publish it) and it came out with a 20/66 score ("seriously suspicious" I assume), crazy! I have no idea what to do :( Once you're completely done with a project, you can submit it to the AV vendors that have detected it as false-positiv...
by Kjell
Tue Aug 13, 2019 12:59 pm
Forum: General discussion
Topic: Virus or false positive?
Replies: 15
Views: 4386

Re: Virus or false positive?

Hi rrTea, Maybe ZGE should have an additional build option "year 2020 version" where it produces a 64 Mb exe for an empty project, I bet such a file would be treated with much more respect >:-P I know this is just a snarky / jokingly remark. But you can easily put this to the test by adding a File c...
by Kjell
Sat Aug 10, 2019 11:29 am
Forum: General discussion
Topic: Sound Meter
Replies: 2
Views: 643

Re: Sound Meter

Hi Ats, I'm afraid this is not possible ( out of the box ). The easiest workaround would probably be to wrap the IAudioMeterInformation interface in a DLL so you can call GetPeakValue from ZGE. By the way, the MasterVolume property simply controls the overall volume of all audio in your project, it ...
by Kjell
Wed Jun 26, 2019 2:00 pm
Forum: Off-topic
Topic: Testing forum notification emails
Replies: 10
Views: 1525

Re: Testing forum notification emails

Just found this in my email inbox :wink: Hello Kjell, You are receiving this notification because a topic you bookmarked, "Testing forum notification emails" at "ZGameEditor forum", has received a reply since your last visit. You can use the following link to view the replies made, no more notificat...
by Kjell
Wed Jun 26, 2019 1:55 pm
Forum: Off-topic
Topic: Testing forum notification emails
Replies: 10
Views: 1525

Re: Testing forum notification emails

Hej Ville,
VilleK wrote:
Wed Jun 26, 2019 1:47 pm
Can you also try if you receive email notification?
Just bookmarked & subscribed to this thread and ( temporarily ) enabled all email notifications* I'll let you know after your next reply :-)

*Or are you using some kind of phpBB extension?

K
by Kjell
Wed Jun 26, 2019 1:40 pm
Forum: Off-topic
Topic: Testing forum notification emails
Replies: 10
Views: 1525

Re: Testing forum notification emails

Beep Boop 8)
by Kjell
Mon Jun 10, 2019 1:24 pm
Forum: General discussion
Topic: app.DeltaTime sync with frame rate
Replies: 2
Views: 733

Re: app.DeltaTime sync with frame rate

Hi jinxtengu, Obviously I'd like to have a standard height reached regardless of the speed the game is currently running on. Getting the exact same jumping height using a varying time-step is actually a little more tricky than you might think ... that being said you probably want to use "CurrentMode...
by Kjell
Mon Jun 10, 2019 1:20 pm
Forum: General discussion
Topic: Doom style 3d reduced to 2 directions
Replies: 12
Views: 2229

Re: Doom style 3d reduced to 2 directions

Hi jinxtengu, Any chance this could be simplified for use under version 1.9.9 of z game editor? Not sure if "simplified" is the correct word as 1.9.9 lacks a couple of features that actually make things easier, but sure .. here's a version for 1.9.9. <?xml version="1.0" encoding="iso-8859-1" ?> <ZAp...
by Kjell
Fri May 17, 2019 7:46 am
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 2508

Re: Cardboard VR

Hej Ville, 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. He's using 2 render passes ( one for each eye ) but wants the mouse coordinates for the entire screen ... and since...
by Kjell
Wed May 15, 2019 6:02 pm
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 2508

Re: Cardboard VR

Hi Ats, Ville informed me that the AspectRatio properties aren't meant to be updated in real-time / mid-frame, so it's better to not touch any of those values and to just modify the projection matrix instead ( might sound intimidating .. but it's super easy ). Here's a quick & dirty example. <?xml v...
by Kjell
Mon May 13, 2019 9:55 am
Forum: Bug reports
Topic: Function keys F10 & F12
Replies: 2
Views: 783

Re: Function keys F10 & F12

Hi Ats, F10 key (code 121) seems to do nothing F10 is a bit of a special case in Windows. It's possible to get it to work, but you need a bit of a workaround .. here's a snippet from MSDN ( for Ville ). If the F10 key is pressed, the DefWindowProc function sets an internal flag. When DefWindowProc r...
by Kjell
Wed May 08, 2019 10:28 am
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 2508

Re: Cardboard VR

Hi guys, Quite unfortunate, this is a parser bug, ZGE should handle it better. I wouldn't call this a bug at all, it behaves the same as-in C & is by design, no? Indeed, but if you put it in a global "{" block it will work since addition of "Library initialization" feature Personally i wouldn't put ...
by Kjell
Tue May 07, 2019 7:04 pm
Forum: General discussion
Topic: Cardboard VR
Replies: 17
Views: 2508

Re: Cardboard VR

Hi Ats, Seems like there's a bug when switching between certain ViewportRatio modes in standalone executables. The easiest way to go around this is to simply use a CustomViewportRatio for both VR and non-VR. Here's your example with a couple of small modifications .. <?xml version="1.0" encoding="is...