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
camera.arc and its implications #69571
04/03/06 20:52
04/03/06 20:52
Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
EdMercer Offline OP
Newbie
EdMercer  Offline OP
Newbie

Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
I'm once again stuck with a very annoying problem whose solution eludes me: in writing a car game I've decided to handle camera.arc in order to create the illusion of driving at high speeds (increasing the field of view enhances the periferal vision and diminishes the world ahead). The effect worked great but introduced a very unwelcome problem: My tacho and speedometer are greatly influenced by the increase in field of view (they are defined as view entities) being "dragged" away from the camera and down to the center of the screen. I can understand the reason why that happens but understanding does not solve it: how do you create static gauges while dynamically manipulating camera.arc ?

Re: camera.arc and its implications [Re: EdMercer] #69572
04/03/06 21:19
04/03/06 21:19
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
Perhaps using a view entity? That is, like a panel, only an entity instead (flat if needed). Doubling camera.arc makes objects cover 1/4 the area (1/2 the width and height) causing them to become small.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: camera.arc and its implications [Re: ulillillia] #69573
04/04/06 12:17
04/04/06 12:17
Joined: May 2005
Posts: 338
Brasil
Filipe Offline
Senior Member
Filipe  Offline
Senior Member

Joined: May 2005
Posts: 338
Brasil
i had the exact same problem with minimap (view entities) and the sniper aiming (small camera arc).
what i did was, i created a different view and made it invisible. view entities in an invisible view are still visible, so i put the minimap view-entities in that view.

hope this helps you,
Filipe

Re: camera.arc and its implications [Re: Filipe] #69574
04/04/06 12:41
04/04/06 12:41
Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
EdMercer Offline OP
Newbie
EdMercer  Offline OP
Newbie

Joined: Mar 2006
Posts: 35
Sao Paulo, Brazil
Wow Filipe that was kick-ass ! Many thanks man, owe you one !

Problem solved 100%


Moderated by  HeelX, Spirit 

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