Gamestudio Links
Zorro Links
Newest Posts
Purchase A8 full licence version
by jcl. 05/05/26 11:20
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (VoroneTZ, AndrewAMD, alibaba, 2 invisible), 5,417 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dangyc, ukgamer, valino, juergenwue, VladMak
19211 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: How can i make a snipper lens [Re: VeT] #265866
05/14/09 17:37
05/14/09 17:37
Joined: Apr 2009
Posts: 274
atari98 Offline
Member
atari98  Offline
Member

Joined: Apr 2009
Posts: 274
The Code for you:


function sniper()
{
while(1)
{
if(mouse_right) // right mouse button pressed
{
camera.arc = max(camera.arc - time_step, 30); // reduce fiel of view
}
else
{
camera.arc = min(camera.arc + time_step, 90); // increase fiel of view
}
wait(1);
}


Meine Fun Websiten
www.free4-fun.de.tl

www.gamer-liga-live.de.tl

Meine Game-Projekt Websiten
www.gamer-projects.de.tl
Re: How can i make a snipper lens [Re: atari98] #265868
05/14/09 17:47
05/14/09 17:47
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
98 is your birth date, right?


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Page 2 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