Search found 673 matches

by Landeel
Mar 20, 2019 16:39
Forum: Community Discussion
Topic: Rescue The Colors Competition Final Results!
Replies: 7
Views: 787

Re: Rescue The Colors Competition Final Results!

Hi,
An enhanced port of YAGAC for Sega Genesis/Mega Drive, re-branded "Kromasphere", is live on Kickstarter:
https://www.kickstarter.com/projects/seconddimension/kromasphere-yagac-md
by Landeel
Mar 10, 2019 14:47
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 82
Views: 7026

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

I think the only acceptable values are 0 for 1:1 scaling, and 1 for 2:1 scaling, but im not sure.
I don't have my pc right now.
by Landeel
Mar 10, 2019 9:50
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 82
Views: 7026

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

It has nothing to do with sync. It's about scaling.
Either it should take a numeric value or we need new constants.
by Landeel
Mar 10, 2019 1:25
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 82
Views: 7026

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

The parameters for SET_GL_SCALE are wrong.
by Landeel
Feb 26, 2019 22:05
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 82
Views: 7026

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

Hello,
This is not in the FB manual.
by Landeel
Feb 21, 2019 22:27
Forum: Linux
Topic: Two fbgfx bugs on Linux
Replies: 6
Views: 465

Re: Two fbgfx bugs on Linux

1) Screensync does sleep;
2) Adding sleep doesn't fix any of the 2 problems.
by Landeel
Feb 17, 2019 21:27
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 785

Re: Dpi awareness functions not included?

Give the user an option to scale up. Maybe a magnifying glass button in the window. That's good design.
Scaling without asking is just bad design.
A fullscreen game should never be scaled out of the screen. That's beyond bad design.
by Landeel
Feb 17, 2019 18:51
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 785

Re: Dpi awareness functions not included?

A desktop environment that by default stretches a fullscreen OpenGL game out of the screen, now that's what I call bad design.
by Landeel
Feb 16, 2019 16:43
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 785

Re: Dpi awareness functions not included?

Hm, not really, because the defines are set at compile time, not at runtime. You could retrieve the Windows version with something like that: dim WindowsVersion as OSVERSIONINFO WindowsVersion.dwOSVersionInfoSize = len(OSVERSIONINFO) GetVersionEx(@WindowsVersion) dim as single winver=WindowsVersion....
by Landeel
Feb 16, 2019 16:25
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 785

Re: Dpi awareness functions not included?

Tourist Trap wrote:
Landeel wrote:This one uses the new API. Does it work?

This seems to work, congrats! This is preventing the oversizing effect on my system :)


Great!
This will work for windows 8.1 and 10. I think for 8.0, the old API must be used as fallback.
by Landeel
Feb 15, 2019 10:42
Forum: Documentation
Topic: Windows bug for small screens / fullscreen
Replies: 24
Views: 1076

Re: Windows bug for small screens / fullscreen

Using a manifest is not for beginners. SetProcessDPIAware() should work for Windows 8, and SetProcessDpiAwareness() should work for Windows 8.1 and 10. Sample code here: https://www.freebasic.net/forum/viewtopic.php?f=6&t=27417#p258291 Note: "DPI" and "Dpi". This is case sens...
by Landeel
Feb 15, 2019 10:31
Forum: Linux
Topic: Two fbgfx bugs on Linux
Replies: 6
Views: 465

Two fbgfx bugs on Linux

Borderless window (GFX_NO_FRAME) will freeze at exit, only in opengl mode (GFX_OPENGL). dim as integer fullscreen=0, useopengl=1, gfxnoswitch=0, borderlesswindow=1, alwaysontop=0, alphaprimitives=0, highpriority=0, multisample=0 dim as long screenflags=iif(fullscreen,&h01,0) or iif(useopengl,&am...
by Landeel
Feb 12, 2019 22:07
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 17990

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

jj2007 wrote:Illegal instruction C4. It seems he uses the latest set of instructions, I see lots of AVX stuff, and not every CPU can handle that.

It seems AVX requires a Sandy Bridge processor. I have an i7 2600k, and still it crashes.

Go to advanced search