Search found 2075 matches

by VilleK
Thu Jul 30, 2020 1:18 pm
Forum: General discussion
Topic: Z80 ZX Spectrum build support (+ Sega Master System and Vectrex)
Replies: 7
Views: 2142

Re: Z80 ZX Spectrum build support (+ Sega Master System and Vectrex)

Small update: Functions defined in ZLibrary does no longer need to be defined as "inline" to work. This will be translated to the native function calls using "call/jsr" in the binary. Not sure what to implement next, have anyone any suggestions? It would be cool if someone tried to make a small game...
by VilleK
Wed Jul 29, 2020 1:48 pm
Forum: General discussion
Topic: Exporting images from ZGE
Replies: 9
Views: 8609

Re: Exporting images from ZGE

I needed a non-component version of this routine so I'm posting it here for future reference. This routine also need the OpenGL ZExternalLibrary from Kjells project. void saveScreenDump(string filename) { //Based on code by Kjell http://www.emix8.org/forum/viewtopic.php?f=1&t=1156&p=7242&hilit=save+...
by VilleK
Mon Jul 27, 2020 11:40 am
Forum: General discussion
Topic: Mapping a Cube from a texture sheet
Replies: 4
Views: 182

Re: Mapping a Cube from a texture sheet

Welcome back Luis :)
by VilleK
Fri Jun 26, 2020 7:34 am
Forum: General discussion
Topic: Where can I find tutorials or Documentation
Replies: 1
Views: 330

Re: Where can I find tutorials or Documentation

Hi, If you want to create custom effects for the visualizer then I think the best place to start is this thread and then follow the links: https://forum.image-line.com/viewtopic.php?f=1700&t=138754 However you should know that ZGE is quite a technical tool and you will need to do some scripting to g...
by VilleK
Mon Jun 22, 2020 6:50 am
Forum: Your projects
Topic: Sonda
Replies: 18
Views: 4309

Re: Sonda

Great boss design :D
by VilleK
Tue Jun 09, 2020 7:56 am
Forum: General discussion
Topic: Odd rendering errors on Android
Replies: 12
Views: 7277

Re: Odd rendering errors on Android

Thanks Kjell. @Ats: What happens if you change the code from this (line 690 in ZApplication.pas): {$ifndef android} glGetFloatv(GL_PROJECTION_MATRIX, @Matrix); glGetFloatv(GL_MODELVIEW_MATRIX, @TmpM); Matrix := MatrixMultiply(TmpM,Matrix); {$else} Matrix := IdentityHmgMatrix; {$endif} To simply this...
by VilleK
Mon Jun 08, 2020 1:10 pm
Forum: General discussion
Topic: Odd rendering errors on Android
Replies: 12
Views: 7277

Re: Odd rendering errors on Android

The depth sort is happening in ZApplication.pas, in procedure TZApplication.RenderModels. The problem iirc is that these lines are not supported on GLES: glGetFloatv(GL_PROJECTION_MATRIX, @Matrix); glGetFloatv(GL_MODELVIEW_MATRIX, @TmpM); Maybe Kjell has some knowledge that could help solve this?
by VilleK
Mon Jun 08, 2020 6:58 am
Forum: Bug reports
Topic: Can't make working APK file with last ZGE
Replies: 3
Views: 801

Re: Can't make working APK file with last ZGE

Hi, indeed I think the libandroid needs to be rebuilt. Please try that and let me know how it goes :)
by VilleK
Sun Jun 07, 2020 12:35 pm
Forum: General discussion
Topic: Z80 ZX Spectrum build support (+ Sega Master System and Vectrex)
Replies: 7
Views: 2142

Re: Z80 ZX Spectrum build support (and Sega Master System)

Motorola 6809 CPU support with Vectrex platform mostly working now :). I noticed MAME have excellent built-in debugger for 6809 and I will probably use this for any additional retro development.
by VilleK
Mon Jun 01, 2020 7:13 am
Forum: General discussion
Topic: Preview window flashing
Replies: 2
Views: 569

Re: Preview window flashing

Indeed this is a problem with models that has a base-model: they can only work correctly when they are cloned. And when previewing in the project tree they are not clones, they are the original. Not sure what is the best solution, but at least I've fixed the flashing in this build: http://www.zgamee...
by VilleK
Wed May 27, 2020 7:57 am
Forum: Bug reports
Topic: First letter gets cut off
Replies: 2
Views: 607

Re: First letter gets cut off

Thanks, I can reproduce it here and I will fix it.

How is the development of your game going? Looking forward to updates :)
by VilleK
Fri May 22, 2020 6:40 am
Forum: General discussion
Topic: Random crash with newer build of ZGE
Replies: 3
Views: 739

Re: Random crash with newer build of ZGE

Ats wrote:
Thu May 21, 2020 4:43 pm
But if that is coming from my game, maybe I could also do something about that?
It is probably coming from your game indeed but it can be hard to find where.

Here is a new build where I've disabled floating point exceptions: http://www.zgameeditor.org/files/ZGameEditor_beta.zip
by VilleK
Thu May 21, 2020 3:08 pm
Forum: General discussion
Topic: Random crash with newer build of ZGE
Replies: 3
Views: 739

Re: Random crash with newer build of ZGE

It probably is exactly what the error says: some floating point value is overflowing its 32-bit capacity. I think I need to turn off floating point exceptions when building ZGE with Freepascal, this is likely the cause.
by VilleK
Thu May 07, 2020 2:37 pm
Forum: General discussion
Topic: Z80 ZX Spectrum build support (+ Sega Master System and Vectrex)
Replies: 7
Views: 2142

Re: Z80 ZX Spectrum build support (and Sega Master System)

Kjell helped create a sprite example for Sega Master System so I've replaced the demo project in the installer.