≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Open and Close door with key
Posted by:
(you are not logged in)
Enter the missing letter in: "Internation?l"
(you are not logged in)
Text:
[quote][b][/b] wrote: You can use variables for that, you can check the collision or proximitt with the key, if player is in proximitt of the key, then set the variable for example "key_collected" to true. And you can check that key variable value on proximity or collision with the door. For example when player is in proximity with door check if a variable has value "key_collected" is equal to true or not. If it is true then open the door and change the level otherwise do something else like show him a text box that reads, "you need to get a key to unlock the door". Above pseudocode will work with any game engine or any programming language. So it doesn't matter if you are a construct 3 user or Coppercube user or unreal or unity user. [B]Help will always be given at Hogwarts to those who ask for it.[/B] *holy*[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact