Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 6,454 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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