Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, degenerate_762, 7th_zorro), 1,075 guests, and 0 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
puzzle problem #159416
10/07/07 14:43
10/07/07 14:43
Joined: Apr 2006
Posts: 28
S
sky Offline OP
Newbie
sky  Offline OP
Newbie
S

Joined: Apr 2006
Posts: 28
I have a puzzle in my planned game in which the player(camera) can only get past a door if he has found a hidden key. As it stands the player can simply walk thru the door or adjacent wall thus negating the puzzle. How can I fix this? How can the door(walls) be made to appear solid. Is it a coding problem or something that can be set in wed?

Re: puzzle problem [Re: sky] #159417
10/07/07 15:08
10/07/07 15:08
Joined: Apr 2005
Posts: 952
Cologne
padrino Offline
User
padrino  Offline
User

Joined: Apr 2005
Posts: 952
Cologne
You can set a variable, for example found_key.

This one you set to 0, and change it to 1 when the player finds the key. Now you use if to check whether the player has already found the key. If he/she has, you open the door.

Therefore coding problem.

Re: puzzle problem [Re: padrino] #159418
10/07/07 19:53
10/07/07 19:53
Joined: Apr 2006
Posts: 28
S
sky Offline OP
Newbie
sky  Offline OP
Newbie
S

Joined: Apr 2006
Posts: 28
I know about setting flags but if the door and walls are not solid the player can just pass thru them. Thats the problem how do yuo make the camera incapable of passing thru the walls of my level?

Re: puzzle problem [Re: sky] #159419
10/08/07 14:03
10/08/07 14:03
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
use c_move that does the collisions-dection else, there is nothing that could be detected


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