Gamestudio Links
Zorro Links
Newest Posts
Where's the Wiki?
by Quad. 06/25/19 22:16
Published Gamestudio Games?
by Dooley. 06/25/19 16:59
Updating to A8 [SOLVED]
by Dooley. 06/25/19 16:00
Message from IB of open position
by Zheka. 06/25/19 13:58
FXCM: "Can't connect to price server"
by riinvest. 06/25/19 10:35
New Zorro version 2.12
by jcl. 06/25/19 09:42
Aum120 is ready
by Emre. 06/24/19 17:54
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
5 registered members (JeyKey II, wdlmaster, alibaba, jenGs, kvm), 574 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Theaisback, redye, rhe2564, Qw3rty, Dal
18239 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
issue with mouse cursor in fullscreen mode #473635
07/30/18 19:12
07/30/18 19:12
Joined: Feb 2006
Posts: 997
Germany
pegamode Offline OP
User
pegamode  Offline OP
User

Joined: Feb 2006
Posts: 997
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.

Re: issue with mouse cursor in fullscreen mode [Re: pegamode] #473673
08/03/18 14:55
08/03/18 14:55
Joined: Jul 2000
Posts: 26,909
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 26,909
Frankfurt
Sounds as if the video driver would not set the screen to real fullscreen, but to a window of screen size.

Re: issue with mouse cursor in fullscreen mode [Re: jcl] #473955
09/02/18 09:20
09/02/18 09:20
Joined: Feb 2006
Posts: 997
Germany
pegamode Offline OP
User
pegamode  Offline OP
User

Joined: Feb 2006
Posts: 997
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.

Re: issue with mouse cursor in fullscreen mode [Re: pegamode] #473957
09/02/18 11:22
09/02/18 11:22
Joined: Feb 2006
Posts: 997
Germany
pegamode Offline OP
User
pegamode  Offline OP
User

Joined: Feb 2006
Posts: 997
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.

Last edited by pegamode; 09/02/18 11:27.
Re: issue with mouse cursor in fullscreen mode [Re: pegamode] #473958
09/02/18 11:52
09/02/18 11:52
Joined: Feb 2006
Posts: 997
Germany
pegamode Offline OP
User
pegamode  Offline OP
User

Joined: Feb 2006
Posts: 997
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?

Re: issue with mouse cursor in fullscreen mode [Re: pegamode] #475687
01/03/19 16:13
01/03/19 16:13
Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
draculaFactory Offline
User
draculaFactory  Offline
User

Joined: Feb 2005
Posts: 647
Williamsburg, VA USA
Bruh! I'm not sure if you all fixed this or not; I came in search of an answer because I too am experiencing this issue: it seems as if the full screen mode still behaves as if there is a bar at the top like in windowed mode. Clicking the area at the top will cause the focus to shift to the window behind the engine window which minimizes the engine window, but I noticed that when I switch back to the engine window, the problem seemed to be solved. This got me thinking and I tried something... I initialized my video like this:
Code:
video_mode = 12;
video_screen = 1;


Then, I used video switch to change the engine to windowed mode and back to full screen mode:
Code:
video_switch(0,0,2);
video_switch(0,0,1);


This seems to solve the issue, at least for my purposes. Anyone experiencing this issue should try this :3


Making dreams come true... And being erroneously accused of software piracy by Conitec in the process.

Moderated by  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

Powered by UBB.threads™ PHP Forum Software 7.7.1