Search found 1892 matches
- Mon Dec 26, 2022 12:35 pm
- Forum: General discussion
- Topic: Fickering issues on some Android devices
- Replies: 16
- Views: 19853
Re: Fickering issues on some Android devices
Hi Ats, ChatGPT is pretty impressive, but it's certainly not perfect ( yet ). Avoid using uniform arrays if possible. Instead of using a uniform matrix for the light position, light color ambient, and fog color, you could use individual uniform variables for each of these values. This would reduce t...
- Tue Nov 29, 2022 12:19 pm
- Forum: General discussion
- Topic: HOW TO REGISTER
- Replies: 2
- Views: 7676
Re: HOW TO REGISTER
Hmm, Wouldn't it be useful to also make the register link visible again ( next to login in the top-right corner ) and then put this information on the register page instead of the current "Creating a new account is currently not possible" message? As soon as this topic won't be the most re...
- Wed Nov 23, 2022 12:21 am
- Forum: Extensions
- Topic: 3D Physics with ZgeBullet
- Replies: 104
- Views: 287011
- Sun Oct 02, 2022 3:44 pm
- Forum: General discussion
- Topic: Rpg style text display
- Replies: 4
- Views: 7441
Re: Rpg style text display
Hi jinxtengu, what does "0xD" denote? When you press Enter ( for a newline ) in Notepad ( on Windows ) it inserts the following two bytes: 0x0D = 13 = CR = Carriage Return 0x0A = 10 = LF = Line Feed https://i.imgur.com/UeuoAcL.png So basically the code is looking for two consecutive newlin...
- Sun Oct 02, 2022 12:00 pm
- Forum: General discussion
- Topic: Rpg style text display
- Replies: 4
- Views: 7441
Re: Rpg style text display
Hi jinxtengu, The animated text effect itself is super easy, but depending on what "features" are needed for the cut-scenes that drive the text animation your implementation might vary quite a bit. Anyway, below is a simple example ( press spacebar to continue ). <?xml version="1.0&qu...
- Sun Sep 11, 2022 4:01 pm
- Forum: General discussion
- Topic: Fickering issues on some Android devices
- Replies: 16
- Views: 19853
Re: Fickering issues on some Android devices
Hi guys, I think you can get better range of the zbuffer by adjusting ClipNear and ClipFar so that you reduce the difference between them. Correct, this can alleviate z-fighting problems because you're basically giving the same amount of pixel-depth to a smaller depth-region. However, the glichting ...
- Sat Sep 10, 2022 5:31 pm
- Forum: General discussion
- Topic: Fickering issues on some Android devices
- Replies: 16
- Views: 19853
Re: Fickering issues on some Android devices
Hi Ats, So I searched a bit on the internet and I found something similar here: https://community.khronos.org/t/flickering-in-android/104038 They are talking about cleaning the depth buffer: GLES20.glClearColor(0, 0, 0, 1); GLES20.glEnable(GLES20.GL_DEPTH_TEST); GLES20.glClearDepthf(1.0f); ... GLES2...
- Mon Sep 05, 2022 9:32 am
- Forum: General discussion
- Topic: [Solved] Shifting an array of vectors
- Replies: 5
- Views: 8183
Re: Shifting an array of vectors
Hi Ats, The shift only happens then the waypoint will be destroyed, so once every 1 or 2 seconds That's something you generally want to avoid .. processor intensive stuff that only happens every once in a while and can't be spread over multiple frames. In video games you want to keep your processor ...
- Mon Sep 05, 2022 12:13 am
- Forum: General discussion
- Topic: [Solved] Shifting an array of vectors
- Replies: 5
- Views: 8183
Re: Shifting an array of vectors
Hi Ats, What do I do wrong? By trying to shift the point vectors back-to-front, you end up copying the last point of your array into all indices. Your inner loop should go front-to-back instead. By the way, i'd recommend trying to avoid shifting around elements in your arrays unless absolutely neces...
- Mon Aug 15, 2022 12:26 pm
- Forum: Extensions
- Topic: 3D Physics with ZgeBullet
- Replies: 104
- Views: 287011
Re: 3D Physics with ZgeBullet
Hi zakkwylde, In the keypress assignments, only 2 keys were shown. But the commands to rotate along the axes are the 4 cursor arrows. Could you point me to where the commands are programmed? The ZExpression in the AxisRepeat component sets the CharCode property of the AxisPositive and AxisNegative c...
- Fri Aug 12, 2022 5:38 pm
- Forum: General discussion
- Topic: Scrolling heightmap
- Replies: 3
- Views: 7024
Re: Scrolling heightmap
Hi Ats, I don't know how to calculate the ration translate / time to make the movement fluid That value ( and how you calculate it ) is dependent on what you do in your MeshExpression calculation. But now that I think of it, maybe it would be better to have several height maps that scrolls and less ...
- Thu Aug 11, 2022 3:25 pm
- Forum: General discussion
- Topic: Going too far from the center of the world
- Replies: 8
- Views: 9752
Re: Going too far from the center of the world
Hi Ats, For starters, is 00100000 = 0x20 or 0x32??? A binary value of 00100000 is 20 in hexadecimal and 32 in decimal, so 0x20 is correct. If you're having trouble with hexadecimal and binary i'd recommend keeping a calculator that has a programmer mode handy ( like the default one in Windows ). htt...
- Thu Aug 11, 2022 9:00 am
- Forum: General discussion
- Topic: Going too far from the center of the world
- Replies: 8
- Views: 9752
Re: Going too far from the center of the world
Hmm, But it turned out that I still have to use it, otherwise colliding bodies would just get out of the ground if the object are planted into it. Can't you adjust the colliders so you don't have objects that sit on / in the ground don't penetrate the floor collider? That would save you the physics ...
- Wed Aug 10, 2022 10:33 am
- Forum: General discussion
- Topic: Going too far from the center of the world
- Replies: 8
- Views: 9752
Re: Going too far from the center of the world
Hi Ats, Big boy engines such as Unity and Unreal gets weird when the objects are too far from the center of the world: physics, animations, lights... So I was wondering if this could be an issue in ZGE? Same thing in ZGE ( since it also uses 32-bit floating point values for most things ). And if it ...
- Wed Jul 27, 2022 9:28 am
- Forum: Feature requests
- Topic: [FIXED] Possibility to change ZGE default font?
- Replies: 4
- Views: 9310
Re: Possibility to change ZGE default font?
Hi Ats, So where does the magic happen to set the editor's font? ZGameEditor uses the SynEdit component for code editing and doesn't set any specific font ( so the default is used ). Apparently you can set a custom font using the SetFont procedure. Should be pretty straight-forward to add a CodeEdit...