Search found 2414 matches

by VilleK
Fri Jan 02, 2026 4:47 pm
Forum: General discussion
Topic: How to access external var from MeshExpression
Replies: 2
Views: 277

Re: How to access eternal var from MeshExpression

This does indeed appear to be a bug. I can't find a simple fix at the moment. Please remind me about this again next week unless you can find a workaround.
by VilleK
Fri Dec 19, 2025 12:46 pm
Forum: General discussion
Topic: I might have been using the light position wrong in my shaders from the start
Replies: 15
Views: 1663

Re: I might have been using the light position wrong in my shaders from the start

Ats wrote: Tue Dec 16, 2025 6:13 pm Is there an exsting tool to create shaders the box/whire way, then produce the code from it?
I'm currently looking at SHADERed and NodeToy.
LLMs are very good at generating GLSL code but I assume you have already tried that.
by VilleK
Tue Dec 09, 2025 1:52 pm
Forum: Feature requests
Topic: Limit the code completion to ENTER key
Replies: 6
Views: 1330

Re: Limit the code completion to ENTER key

Aha I see this in your ini-file

CodeCompletionDelay=100

Try increasing that value :)
by VilleK
Tue Dec 09, 2025 11:31 am
Forum: Feature requests
Topic: Limit the code completion to ENTER key
Replies: 6
Views: 1330

Re: Limit the code completion to ENTER key

I see what you mean but surely you have to press "ctrl + space" to open the code completion? If I just type "in a car or a boat" here I get no completion. So I've never noticed a problem like what you describe.
by VilleK
Mon Dec 08, 2025 8:21 am
Forum: General discussion
Topic: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape
Replies: 12
Views: 1552

Re: I need help with ZGEBullet zbtCreateHeightfieldTerrainShape

Ats wrote: Sun Dec 07, 2025 11:43 pm By te way, I replaced the sky bitmap with the exact same gradient produced by LLM. Worked like a charm.
So you mean you showed the LLM the bitmap file and asked it to write code to generate it? That is a interesting form of compression.
by VilleK
Wed Nov 26, 2025 11:56 am
Forum: Feature requests
Topic: Better error location for external editors
Replies: 3
Views: 1228

Re: Better error location for external editors

There is no easy way to do this. When the project is loaded in memory it is no longer in XML form and have no connections back to it.
by VilleK
Wed Nov 26, 2025 8:28 am
Forum: General discussion
Topic: Using LLMs to generate procedural content for ZGE
Replies: 3
Views: 1324

Re: Using LLMs to generate procedural content for ZGE

You could add to your rules that X, Y, R, G, B are reserved and can’t be used as temporary variable names Claude did that too but after I added "contrary to C, variable names are not case-sensitive" it stopped defining variables named "x" and "y" in the BitmapExpressio...
by VilleK
Tue Nov 25, 2025 5:07 pm
Forum: General discussion
Topic: Using LLMs to generate procedural content for ZGE
Replies: 3
Views: 1324

Using LLMs to generate procedural content for ZGE

One of the powerful features of LLMs is that it is possible to attach a document to the query. So if you have a specification of something then you could attach that and then ask the LLM to use it. This means you can tell a LLM of features in ZGE and then ask it to generate content based on a specif...
by VilleK
Tue Nov 25, 2025 2:47 pm
Forum: General discussion
Topic: Making a demo out of a full project
Replies: 37
Views: 6605

Re: Making a demo out of a full project

Ats wrote: Tue Nov 25, 2025 11:55 am Just one question: are the unused components removed if I compile the exe from command line?
I think so (it should use the stored setting in ZGameEditor.ini) but best to check the resulting binary size to make sure this happens.
by VilleK
Tue Nov 25, 2025 11:20 am
Forum: General discussion
Topic: Making a demo out of a full project
Replies: 37
Views: 6605

Re: Making a demo out of a full project

Ats wrote: Tue Nov 25, 2025 10:37 am That is better. Now I have another bug when there's an unused ModelState to delete:
Thanks for the example, I made another fix, please try again.
by VilleK
Tue Nov 25, 2025 10:17 am
Forum: General discussion
Topic: Making a demo out of a full project
Replies: 37
Views: 6605

Re: Making a demo out of a full project

Ats wrote: Tue Nov 25, 2025 9:32 am And here it is 8)
Thanks, I was able to reproduce the problem. Please download and try new build.
by VilleK
Mon Nov 24, 2025 3:58 pm
Forum: General discussion
Topic: Making a demo out of a full project
Replies: 37
Views: 6605

Re: Making a demo out of a full project

Ats wrote: Mon Nov 24, 2025 3:44 pm Would it be possible to add a hint about which Component or Variable the error refers to?
Can you please PM me the project file so I can reproduce it here?
by VilleK
Mon Nov 24, 2025 10:26 am
Forum: General discussion
Topic: Making a demo out of a full project
Replies: 37
Views: 6605

Re: Making a demo out of a full project

Ats wrote: Sun Nov 23, 2025 8:02 am I managed to make a very short example to reproduce a bug that I had trouble tracking down:
Hi,

I think I was able to fix this. Please download and try again.
by VilleK
Fri Nov 21, 2025 8:21 am
Forum: General discussion
Topic: Making a demo out of a full project
Replies: 37
Views: 6605

Re: Making a demo out of a full project

Ats wrote: Thu Nov 20, 2025 3:29 pm Is it possible to list which components were deleted during compilation when “Remove unused components” is checked?
I now made a change so that it lists deleted components in the log window. And I also fixed the bug with "byte" expressions. Please update and try it.
by VilleK
Thu Nov 20, 2025 2:32 pm
Forum: General discussion
Topic: Making a demo out of a full project
Replies: 37
Views: 6605

Re: Making a demo out of a full project

Ats wrote: Thu Nov 20, 2025 1:42 pm But not with const byte DEMO = 1;
That sounds like a ZGE bug :). Please use int for now.