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
1 registered members (TipmyPip), 18,449 guests, and 6 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
full screen mouse #313691
03/02/10 22:25
03/02/10 22:25
Joined: Aug 2008
Posts: 25
B
bluemax Offline OP
Newbie
bluemax  Offline OP
Newbie
B

Joined: Aug 2008
Posts: 25
Why can't I get a mouse in full screen with this code?

function main()
{
video_mode = 8;
mouse_map=max_head;
mouse_mode=2;
while (mouse_mode > 0)
{
vec_set(mouse_pos, mouse_cursor);
wait(1);
}
...
}

Re: full screen mouse [Re: bluemax] #313692
03/02/10 22:27
03/02/10 22:27

M
mercuryus
Unregistered
mercuryus
Unregistered
M



mouse_pointer=1;

Re: full screen mouse [Re: bluemax] #313694
03/02/10 22:51
03/02/10 22:51
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Originally Posted By: bluemax
Why can't I get a mouse in full screen with this code?

function main()
{
video_mode = 8;
mouse_map=max_head;
mouse_mode=2;
while (mouse_mode > 0)
{
vec_set(mouse_pos, mouse_cursor);
wait(1);
}
...
}


use this code to switch the mouse with [M] on/off

Code:
//#include <acknex.h>
#include <default.c>

#define PRAGMA_PATH "%EXE_DIR%\templates\images";

BMAP* arrow = "arrow_red.pcx";

function on_m_event(){  
  while (key_m){wait (1);}
  mouse_range = 50000; mouse_map = arrow; mouse_mode += 2; if (mouse_mode > 2){mouse_mode=0;}
  while (mouse_mode > 0) {vec_set(mouse_pos,mouse_cursor);wait(1);}
}

function main(){video_set(sys_metrics(0), sys_metrics(1), 32, 1);}



Last edited by rojart; 03/02/10 23:01.

Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: full screen mouse [Re: rojart] #313722
03/03/10 04:01
03/03/10 04:01
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
you'll need to create a mouse_map for full screen

Re: full screen mouse [Re: MrGuest] #313747
03/03/10 11:51
03/03/10 11:51
Joined: Aug 2008
Posts: 25
B
bluemax Offline OP
Newbie
bluemax  Offline OP
Newbie
B

Joined: Aug 2008
Posts: 25
still not getting it in full screen. If the code is outside of the main function, I won't even get the map. Only when the code is in side main. but never in full screen

Re: full screen mouse [Re: bluemax] #313860
03/04/10 01:11
03/04/10 01:11
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
can you post what code you have so far?


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