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,513 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
Coding the Cursor to work for aiming #265532
05/12/09 23:14
05/12/09 23:14
Joined: Feb 2009
Posts: 2
R
rev Offline OP
Guest
rev  Offline OP
Guest
R

Joined: Feb 2009
Posts: 2
Ok so i'm trying to make a game with some mates, and i have absolutely NO idea how to code, but i'm trying to figure out how i can code the cursor to work with aiming.
Originally we had one in the engine, but because the scaling of the level is so small, a 10x10 pxl image is massive and horribly pixelated, so i started looking up the cursor. I have that in now but my problem is i dont kow how to clamp the cursor inside the window and align it to work as a targeting recticule. Any suggestions?

Re: Coding the Cursor to work for aiming [Re: rev] #265560
05/13/09 05:56
05/13/09 05:56
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Setting mouse mode to show cursor and asigning the cursor your targeting image will do the trick but to cage the cursor requires Window access protocals according to some posts here.
Do a search and you should find the relevent threads.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage

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