Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 1,507 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
problem with a "mini" view #168278
11/19/07 20:24
11/19/07 20:24
Joined: Jan 2004
Posts: 59
S
SH6811 Offline OP
Junior Member
SH6811  Offline OP
Junior Member
S

Joined: Jan 2004
Posts: 59
Hello,

Can somebody please explain the problem with this code. I simply want to place a "view" up in the corner of the screen. It does this however it "freezes up" the main camera view at the same time...the cursor then appears only within this "small" view...I have no idea why.

view Small_Look // sets up a view area for overhead birds eye view
{
layer = 99;
pos_x = 600;
pos_y = 50;
size_x = 150;
size_y = 150;
}

function Mini_On()
{
Small_Look.x = center_ent.x;
Small_Look.y = center_ent.y;
Small_Look.z = 500;
Small_Look.pan = 180;
Small_Look.tilt = -90;
Small_Look.roll = 0;
Small_Look.arc = 77;
Small_Look.visible = on;
}

problem with a "mini" view [Re: SH6811] #168279
11/19/07 21:22
11/19/07 21:22
Joined: Sep 2006
Posts: 188
Latvia
MDI Offline
Member
MDI  Offline
Member

Joined: Sep 2006
Posts: 188
Latvia
what is that "center_ent"?
Otherwise this code is great!
Possible you are called this function in some while bracket.
Because to me very similiar miniview works without any problems.


Latvija rullē
Re: problem with a "mini" view [Re: MDI] #168280
11/19/07 21:39
11/19/07 21:39
Joined: Jan 2004
Posts: 59
S
SH6811 Offline OP
Junior Member
SH6811  Offline OP
Junior Member
S

Joined: Jan 2004
Posts: 59
thanks for the reply. The "center_ent" is simply an entity that is always in the center of the screen view...


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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