Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Mouse dissapears when using fullscreen mode #283420
08/07/09 17:30
08/07/09 17:30
Joined: Aug 2009
Posts: 19
D
Dominator Offline OP
Newbie
Dominator  Offline OP
Newbie
D

Joined: Aug 2009
Posts: 19
I have Lite-C and when I try to use full screen video mode my mouse is nowhere on the screen. If you need to see what my script looks like reply and tell me.

I would greatly appreciate anyone who will help me.

Re: Mouse dissapears when using fullscreen mode [Re: Dominator] #283433
08/07/09 18:37
08/07/09 18:37
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
I might need to see your script, yes smile

Re: Mouse dissapears when using fullscreen mode [Re: Claus_N] #283481
08/07/09 22:48
08/07/09 22:48
Joined: Aug 2009
Posts: 19
D
Dominator Offline OP
Newbie
Dominator  Offline OP
Newbie
D

Joined: Aug 2009
Posts: 19
Do I just copy the script text into the post

Last edited by Dominator; 08/07/09 22:49.
Re: Mouse dissapears when using fullscreen mode [Re: Dominator] #283482
08/07/09 22:50
08/07/09 22:50
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
yeah smile

Re: Mouse dissapears when using fullscreen mode [Re: Claus_N] #283486
08/07/09 23:16
08/07/09 23:16
Joined: Aug 2009
Posts: 19
D
Dominator Offline OP
Newbie
Dominator  Offline OP
Newbie
D

Joined: Aug 2009
Posts: 19
Here is my Lite-C script

#include <acknex.h>
#include <default.c>


BMAP* PlayingBackground = "PlayingBackground.png";
BMAP* SetUpTent = "SetUpTentNumberOne.png";
BMAP* BuildCampfire = "BuildCampfireNumber.png";
BMAP* CookMeal = "CookMealNumber.png";
BMAP* StayInCampExperiance = "StayInCampExperanceNumber.png";

var PlayerOneScore;
var PlayerTwoScore;

STRING* PlayerOneName = "David";
STRING* PlayerTwoName = "Robert";


PANEL* PlayingBackground =
{
layer = 2;
bmap = "PlayingBackground.png"; // 800 * 600 images
digits(10,0,0,Arial#40b,1,PlayerOneName);
digits(50,30,"%.f",Arial#40b,1,PlayerOneScore);
digits(1050,0,0,Arial#40b,1,PlayerTwoName);
digits(1100,30,"%.f",Arial#40b,1,PlayerTwoScore);

button(30, 100, SetUpTentNumberOne.png, SetUpTentNumberOne.png, SetUpTentNumberOne.png,
NULL, NULL, NULL);

button(200, 100, BuildCampfireNumber.png, BuildCampfireNumber.png, BuildCampfireNumber.png,
NULL, NULL, NULL);

button(370, 100, CookMealNumber.png, CookMealNumber.png, CookMealNumber.png,
NULL, NULL, NULL);

button(630, 100, StayInCampExperanceNumber.png, StayInCampExperanceNumber.png, StayInCampExperanceNumber.png,
NULL, NULL, NULL);
}

function main()
{
video_mode = 9;
video_screen = 1;

mouse_mode = 4;
mouse_sync = 1;
mouse_valid = 1;
mouse_pointer = 2;
window_focus = 0;

set (PlayingBackground, SHOW);
}

Re: Mouse dissapears when using fullscreen mode [Re: Dominator] #283490
08/07/09 23:29
08/07/09 23:29
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
I think you just need to set mouse_map to a bmap smile

Also, I thought mouse_valid and window_focus were readonly - at least I doubt that trying to change them would have an effect, and mouse_pointer is probably only working while running in windowed mode.

Edit: You can just use arrow.pcx from the templates whenever you don't bother making a new bmap for the mouse, I usually do that myself wink

Last edited by Claus_N; 08/07/09 23:31.
Re: Mouse dissapears when using fullscreen mode [Re: Claus_N] #283492
08/08/09 00:06
08/08/09 00:06
Joined: Aug 2009
Posts: 19
D
Dominator Offline OP
Newbie
Dominator  Offline OP
Newbie
D

Joined: Aug 2009
Posts: 19
How do I use arrow.pcx from the templates for the mouse_map

Last edited by Dominator; 08/08/09 00:06.
Re: Mouse dissapears when using fullscreen mode [Re: Dominator] #283493
08/08/09 00:12
08/08/09 00:12
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
From the manual >>>

"In fullscreen mode the system cursors are not visible; only a mouse_map can be used for the fullscreen cursor."

Copy the image file to your script's folder. Create a BMAP* for it...
Code:
BMAP* mycursor = "Cursor file here";


in the main function add...
Code:
mouse_map = mycursor;



Last edited by DJBMASTER; 08/08/09 00:13.
Re: Mouse dissapears when using fullscreen mode [Re: DJBMASTER] #283497
08/08/09 00:44
08/08/09 00:44
Joined: Aug 2009
Posts: 19
D
Dominator Offline OP
Newbie
Dominator  Offline OP
Newbie
D

Joined: Aug 2009
Posts: 19
I did a search of my computer and it couldn't find arrow.pcx
Where would I find the image file to copy?

Re: Mouse dissapears when using fullscreen mode [Re: Dominator] #283499
08/08/09 00:54
08/08/09 00:54
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
u could make ur own, just use an image like this http://ahhabrain.com/kidbytes/graphics/mouse_pointer.gif and save it as a bmap or draw ur own in paint

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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