Search found 623 matches
- Mon Apr 26, 2021 9:04 am
- Forum: Bug reports
- Topic: [FIXED] App.ScreenMode Use DesktopResolution only works on Windows
- Replies: 7
- Views: 9321
Re: App.ScreenMode Use DesktopResolution only works on Windows
Oh, I didn't see it was already in sdlvideo.inc because I was searching for the whole exact word. So T and P nomenclature stands for get and set? ZDesigner compiles without problems on Windows, but on Linux I get: ZPlatform_SDL.inc(67,41) Error: Incompatible type for arg no. 2: Got "TSDL_Displa...
- Sun Apr 25, 2021 10:51 am
- Forum: Bug reports
- Topic: [FIXED] App.ScreenMode Use DesktopResolution only works on Windows
- Replies: 7
- Views: 9321
Re: App.ScreenMode Use DesktopResolution only works on Windows
As Kjell told me, it's not a bug, but a missing feature :wink: ZPlatform_SDL.inc if Width=-1 then begin //Todo: support "current desktop resolution" on sdl Width := 800; Height := 600; end; After a few readings regarding the detection of screen size on several different devices using SDL2,...
- Sun Apr 25, 2021 9:45 am
- Forum: Bug reports
- Topic: [FIXED] App.ScreenMode Use DesktopResolution only works on Windows
- Replies: 7
- Views: 9321
[FIXED] App.ScreenMode Use DesktopResolution only works on Windows
Here's the little ZGE project to test it: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="test_viewport" FullScreen="255" ScreenMode="0" MouseVisible="255" FileVersion="2" AndroidPackageNam...
- Sat Apr 24, 2021 6:07 pm
- Forum: General discussion
- Topic: [FIXED] Simple var test, different results on Windows and Linux
- Replies: 4
- Views: 7556
Re: Simple var test, different results on Windows and Linux
Thanks. This is working perfectly now
- Fri Apr 23, 2021 9:01 pm
- Forum: General discussion
- Topic: [FIXED] Simple var test, different results on Windows and Linux
- Replies: 4
- Views: 7556
Re: Simple var test, different results on Windows and Linux
Even simpler test: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion="2"> <OnLoaded> <ZLibrary HasInitializer="1"> <Source> <![CDATA[// int a = 0; int b = 1;]]> </Source> </Z...
- Fri Apr 23, 2021 4:45 pm
- Forum: General discussion
- Topic: [FIXED] Simple var test, different results on Windows and Linux
- Replies: 4
- Views: 7556
Re: Simple test, different results on Windows and Linux
I found where the problem is coming from:
It's working on Linux if variables IsClicked and WasCliked are set as Variable components instead of being declared in the ZLibrary.
Weird...
Edit:
I tried initiating both var in ZLibrary, but it's not working:
int IsClicked = 0;
int WasClicked = 0;
It's working on Linux if variables IsClicked and WasCliked are set as Variable components instead of being declared in the ZLibrary.
Weird...
Edit:
I tried initiating both var in ZLibrary, but it's not working:
int IsClicked = 0;
int WasClicked = 0;
- Fri Apr 23, 2021 2:29 pm
- Forum: General discussion
- Topic: [FIXED] Simple var test, different results on Windows and Linux
- Replies: 4
- Views: 7556
[FIXED] Simple var test, different results on Windows and Linux
While trying to make Rado1's ZgeBullet examples to work, I've stumbled on a weird bug. So I stripped out the thing to make a simple test: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion="...
- Fri Apr 23, 2021 11:11 am
- Forum: General discussion
- Topic: Keycode finder
- Replies: 4
- Views: 2594
Re: Keycode finder
Nice, it's working
On Linux, the arrow keys are:
left key: 60
right key: 62
up key: 94
down key: 95
Should I simply remove Windows numbers 37 to 40 and replace by Linux numbers in order to make it work on both Windows and Linux (and Android?), or is it better to test both series of numbers?
On Linux, the arrow keys are:
left key: 60
right key: 62
up key: 94
down key: 95
Should I simply remove Windows numbers 37 to 40 and replace by Linux numbers in order to make it work on both Windows and Linux (and Android?), or is it better to test both series of numbers?
- Fri Apr 23, 2021 10:51 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210156
Re: SunVox for ZGE
You're right, everything is working with Stdcall
Preview, Windows and linux !
Preview, Windows and linux !
- Fri Apr 23, 2021 9:30 am
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210156
Re: SunVox for ZGE
Thanks :D Player.bin is working, but ZDesigner preview still crash and log: Hardware stack error after call to sv_init. Check argument count and sizes, and calling convention. Is there a bat file somewhere to compile Player.bin, or should I make mine, the same as linux? Or maybe it is Zzdc.exe that ...
- Thu Apr 22, 2021 6:52 pm
- Forum: General discussion
- Topic: Keycode finder
- Replies: 4
- Views: 2594
Re: Keycode finder
And it's crashing on linux too:
An unhandled exception occurred at $0000000000416ECB:
EAccessViolation: Access violation
$0000000000416ECB
It's coming from KeyPress component.
An unhandled exception occurred at $0000000000416ECB:
EAccessViolation: Access violation
$0000000000416ECB
It's coming from KeyPress component.
- Thu Apr 22, 2021 6:49 pm
- Forum: General discussion
- Topic: Keycode finder
- Replies: 4
- Views: 2594
Keycode finder
I made a quick tool to test the keys and display the code, so I can retrieve what are the arrow keycodes on linux. Funny thing, on Windows, the arrow keys gives two numbers per key: left key: 37 60 right key: 39 62 up key: 38 94 down key: 40 95 <?xml version="1.0" encoding="iso-8859-1...
- Thu Apr 22, 2021 5:36 pm
- Forum: Extensions
- Topic: SunVox for ZGE
- Replies: 87
- Views: 210156
Re: SunVox for ZGE
Sorry, but sunvox isn't working anymore on Windows... :? I'm on a Win10 x86_64 computer, and I don't know when it broke with the last updates as I was focused on Linux... Just in case, I tried with both versions of the dll: sunvox.dll 64 -> error dialog box with "sunvox" sunvox.dll 32 -> e...
- Thu Apr 22, 2021 4:11 pm
- Forum: General discussion
- Topic: linux 64bit binary?
- Replies: 59
- Views: 48032
Re: linux 64bit binary?
And now I'm running tests to see if everything is working on Linux 64. :arrow: For starters, simple RenderText doesn't show on linux. I think I saw that written somewhere for Android, but I didn't manage to find it. [SOLVED] :arrow: Jasper is crashing: Loading rom... done Loading game... done An unh...
- Thu Apr 22, 2021 3:06 pm
- Forum: Extensions
- Topic: 3D Physics with ZgeBullet
- Replies: 104
- Views: 276996
Re: 3D Physics with ZgeBullet
As ZgeBullet is my last problem before being able to run Omeganaut on linux (maybe), I'm back at experimenting. And after a lot of tries, I finally managed to get something: I had to link the compiled "so" files from bullet3, not the "o" files. gcc -Wall -fPIC -I ~/bullet3-3.09/s...