Search found 2234 matches

by VilleK
Mon Aug 01, 2022 8:36 am
Forum: Releases
Topic: Evaluate expression
Replies: 7
Views: 9130

Re: Evaluate expression

What is the number printed in the console after assigning, let's say, a value to an array cell? For example if I enter "arr_MyArray[0,0] = 0", the [0,0] in the arr_MyArray indeed becomes 0 but the console will print "4294967296". That sounds like a bug :). I will make a note to ...
by VilleK
Wed Jul 27, 2022 2:43 pm
Forum: Feature requests
Topic: Possibility to change ZGE default font?
Replies: 4
Views: 650

Re: Possibility to change ZGE default font?

Please try this. Download ZGE again, I just updated it.

Open ZGameEditor.ini

In the Designer-section, add
"CodeEditorFontName=the name of your font"

For instance: CodeEditorFontName=Webdings
Save the file.

Open ZGE and see if it worked.
by VilleK
Wed Jul 27, 2022 9:56 am
Forum: Feature requests
Topic: Find unused components
Replies: 2
Views: 41

Re: Find unused components

There is a menu item for this: Tools - Find unused components.

It shows the names of unused components in a message box.
by VilleK
Mon Jul 25, 2022 11:12 am
Forum: General discussion
Topic: Question about Rotation and RotationVelocity
Replies: 5
Views: 122

Re: Question about Rotation and RotationVelocity

Thanks for the example. Indeed looks like a problem with the normal matrix just like Kjell said.

I've added a fix now. Please download latest version again.
by VilleK
Thu Jul 21, 2022 8:01 am
Forum: Bug reports
Topic: [FIXED] Little bug with the XML Editor's search window
Replies: 2
Views: 47

Re: Little bug with the XML Editor's search window

Hi,

I've now fixed:

- Xml editor has focus when dialog opens
- Any open search dialogs are closed when xml editor is closing

Please download latest version again to try it.
by VilleK
Fri Jun 10, 2022 1:23 pm
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 1
Views: 167

Re: Edit XML with an external editor

I do this sometimes manually by copy paste all into my favorite text editor and then copy it back. But you are right there could be an option for this. ZGE could also autodetect if the zgeproj file have been edited and ask to reload current project.
by VilleK
Wed Jun 08, 2022 11:39 am
Forum: General discussion
Topic: Cubemap?
Replies: 2
Views: 115

Re: Cubemap?

That looks great, thanks! Creating a real OpenGL cube-map for use with OpenGL features or a samplerCube in a shader? Yes I think a samplerCube in a shader is the next step because the question mentioned this shader: https://www.shadertoy.com/view/Wl3fWX I will reply to the user and ask for more deta...
by VilleK
Wed Jun 08, 2022 7:18 am
Forum: General discussion
Topic: Cubemap?
Replies: 2
Views: 115

Cubemap?

Someone on FL Studio forums asked how to use a cubemap in ZGE. I remember seeing this but when I search the ZGE forums I only find mentions of it but no project. Maybe Kjell happen to have an example lying around? :)
by VilleK
Tue Jun 07, 2022 6:54 am
Forum: Your projects
Topic: Sugoroku
Replies: 2
Views: 213

Re: Sugoroku

Thanks for posting. I'm always interested in seeing your projects.
by VilleK
Fri May 27, 2022 7:30 am
Forum: General discussion
Topic: Automatic report of State switch
Replies: 5
Views: 5973

Re: Automatic report of State switch

I think you want to read the "Name" property, like this: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion="2"> <OnLoaded> <AppState Name="AppState1"/> <SetAppState...
by VilleK
Tue May 24, 2022 7:55 am
Forum: Tips'n'Tricks
Topic: QOI
Replies: 3
Views: 323

Re: QOI

original PNG images were 59228 bytes total, while the QOI images are only 36970 bytes. That is impressive indeed. When I read the QOI spec I thought well this looks nice and simple but it will surely be much worse compression than PNG for most pictures. But it turns out it is really quite ok as a g...
by VilleK
Mon May 23, 2022 7:15 am
Forum: Tips'n'Tricks
Topic: QOI
Replies: 3
Views: 323

Re: QOI

That is very neat! I've been keeping an eye on this format and your implementation looks solid. With a cool demo as usual :)

What kind of compression ratio do you get for the included images?
by VilleK
Fri May 20, 2022 7:33 am
Forum: Your projects
Topic: Sonda
Replies: 19
Views: 16957

Re: Sonda

That looks really smooth :). And I do hope I can help you make it work 100% on Mac too.
by VilleK
Fri Apr 22, 2022 11:25 am
Forum: General discussion
Topic: ZGE on Mac
Replies: 19
Views: 1324

Re: ZGE on Mac

Posted alpha5 in first post. News: - Keypress and mouse now works in preview. - Toolbar button sizes adjusted - Hide malplaced tab-button on preview panel - Order of vector properties was wrong in property editor. - Import png and jpeg bitmaps now work. Also when using drag/drop from Finder. - Tile ...
by VilleK
Thu Apr 07, 2022 2:41 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 19
Views: 1324

Re: ZGE on Mac

Posted alpha4 in first post. News: - The OpenGL view is no longer in a detached window. There were huge problem with this, I hope it works now. - Search/replace in xml editor now works. - Right-click menu in xml editor shows correctly. - Drag/drop in tree does not copy unless ctrl is pressed. - Spri...