Gamestudio Links
Zorro Links
Newest Posts
OptimialF values in .fac file mostly zero
by SBGuy
6 minutes 52 seconds ago
wanted to share my working player/camera control action C++ app
by rayp
Today at 14:37
Votes for future features
by AndrewAMD
Today at 14:06
Transaction Cost
by jcl
Today at 09:42
Indicator RSI
by jcl
Today at 09:36
Is it possible to do Trade Mode without live brokerage account?
by AndrewAMD
Yesterday at 20:36
MED (or any tool) - change base frame / pose of frame 0 ?
by rayp
Yesterday at 17:55
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
14 registered (SBGuy, kvm, cepturion, alibaba, Mio, AndrewAMD, ChrstphFr, 20BN, 2 invisible), 465 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Mio, thewalruss, jiffdbf, jgtrader, Chefmac
18081 Registered Users
Topic Options
Rate This Topic
#473635 - 07/30/18 21:12 issue with mouse cursor in fullscreen mode
pegamode Offline
User

Registered: 02/07/06
Posts: 994
Loc: Germany
Hey there,

currently I've got an issue with the mouse cursor in fullscreen mode.
When I move the cursor to the upper border of the screen I see the Windows mouse cursor once I'm about there where the window border would be in window mode. When I do a mouse click in this area, I get back to Windows and the game is set to background.

Info: I use a kind of crosshair as mouse cursor and set the mouse_spot to its center.

Is it an engine issue or maybe DirectX or video driver issue?

Regards
Pegamode.

Top
#473673 - 08/03/18 16:55 Re: issue with mouse cursor in fullscreen mode [Re: pegamode]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26532
Loc: Frankfurt
Sounds as if the video driver would not set the screen to real fullscreen, but to a window of screen size.

Top
#473955 - 09/02/18 11:20 Re: issue with mouse cursor in fullscreen mode [Re: jcl]
pegamode Offline
User

Registered: 02/07/06
Posts: 994
Loc: Germany
I thought you were right, but now during our beta tests I got message that it occurs on several different PCs. So it doesn't seem to be video driver related.

Anyone else with such a problem? Maybe something win10 related? It seems that the problem isn't there for long.

Top
#473957 - 09/02/18 13:22 Re: issue with mouse cursor in fullscreen mode [Re: pegamode]
pegamode Offline
User

Registered: 02/07/06
Posts: 994
Loc: Germany
From the acklog.txt it looks ok:

D3D_Init Screen: 1920x1080 -> Screen: 1x1920x1080x32

I uploaded a mini testproject here:

https://www.meteormess.de/files/mouse_issue.zip

A can reproduce the issue there sporadically. About 1 or 2 out of 10 times.

Same issue using mouse_mode = 4.


Edited by pegamode (09/02/18 13:27)

Top
#473958 - 09/02/18 13:52 Re: issue with mouse cursor in fullscreen mode [Re: pegamode]
pegamode Offline
User

Registered: 02/07/06
Posts: 994
Loc: Germany
I wasn't able to reproduce the issue yet after modifying the code like this:

Code:
void main() {
	
	level_load(NULL);
	
	wait(1);
	
	video_aspect = 1.777;
	video_switch(12,32,1);
	
	mouse_map = crosshair_1_pcx;
	
	mouse_spot.x = bmap_width(crosshair_1_pcx)/2;
	mouse_spot.y = bmap_height(crosshair_1_pcx)/2;
	mouse_pos.x = mouse_cursor.x;
	mouse_pos.y = mouse_cursor.y;
	
	mouse_mode = 2;
	
	level_load(NULL);
	
	while (1) {		
		mouse_pos.x = mouse_cursor.x;
		mouse_pos.y = mouse_cursor.y;
		wait(1);
	}
	
}



No idea if it's coincidence ... any great differences between using video_switch or video_screen?

Top


Moderator:  elsewood, old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de