Search found 2274 matches

by VilleK
Fri Jun 10, 2022 1:23 pm
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 62565

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

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

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: 5
Views: 19838

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

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

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

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

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: 38
Views: 150449

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: 38
Views: 150449

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...
by VilleK
Thu Apr 07, 2022 7:38 am
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 150449

Re: ZGE on Mac

Imerion wrote: Wed Apr 06, 2022 4:26 pm Does this mean it would work on Linux too eventually? A native Linux version and I would definitely pick up working in ZGE again. :D
It would at least make it much easier to port to Linux, yes :). But I would need help with the details since I currently do not have a Linux environment configured.
by VilleK
Fri Apr 01, 2022 8:08 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 150449

Re: ZGE on Mac

Struggling a bit with how to avoid the detached OpenGL windows. There seems to be a problem with LCL, OpenGL and sharing contexts between views. No new alpha this week but trying again next week! :)
by VilleK
Wed Mar 23, 2022 10:18 am
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 150449

Re: ZGE on Mac

Alpha 3 on top: When generating binary then ZGE will create an application bundle for your project. This is required for an application to receive keypresses. So if your project is named "test.zgeproj" then it will create the application bundle "test.app". This can be started in ...
by VilleK
Fri Mar 18, 2022 2:26 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 150449

Re: ZGE on Mac

New alpha on top:
- Fixed possible file corruption when saving projects with binary properties (such as BitmapFromFile)
- F9 now works to build and launch project

Still no keyboard support though, hope to fix that soon.
by VilleK
Thu Mar 17, 2022 9:24 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 150449

Re: ZGE on Mac

It looks like it has problems saving the settings file. This does not happen here. Maybe try moving the application to Application folder or to desktop and see if it makes a difference.