≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
A few questions
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b][/b] wrote: Allright, I don't know if it is a troll post or not, but I would like to answer all of your questions. Also, for most of your questions, if you do a simple search on ambiera forums, you will get an answer for it. Also there can be multiple ways of achieving something in CC. The answers I am sharing below are more focussed on NON-Coding stuff, while some of the things do require coding. [b]As the answers might not fit into a single post, multiple posts will get created by me[/b] 1) There is an option in the Collide when moved behavior to enable inclination, might not work perfectly but it does its job. 2) you can use every few seconds behavior and on-click event together with a variable, for example. When the left mouse button is pressed down set a variable "Fire" to true, and every few seconds behavior checks for that variable if "Fire: is true then attach a shoot action to it. You can increase or decrease the TimeMS in the every few seconds behavior to control the rate of fire, and along with that you can add a single bullet firing on the key left up, and set the "fire" to false, so that if you press the key for a short amount of time and then release it and your every few seconds behaviors has high time for the firing rate, then it should at least shoot one bullet. 3) You can simply put any texture on a 2D plane, if you want then yeah, you can simply assign the tank texture to a plane mesh and can also make its material into a double-sided material, which you can also rotate, or if you want you can also put a real 3D model of a tank in the UI. for the rotation, you can use the Rotate behavior. 4) It depends on how you are setting your game, if you are using multiple scene, then you can use the save and load variable to disk, to load variables in all the scene, there are also various other ways for global variables, if you want you can totally avoid CC variables and can use pure javascript variables as variables and do your stuff on the basis of those variables. As I mentioned my approach is to provide you inbuilt behaviors and non-coded solution. So you can use the inbuilt set/change variable action to create, change, and save variables to disk, you can further load them. You can create variables for example "Player_Tank" and can assign it a value initially like "red", and on selecting a different value in the UI for example on clicking a button change the value of the variable "Player_Tank" to somethin like "blue", and in your main game you can check if the variable has a value "Player_Tank" and check it with all the values that you want for your Tank for example"blue" and then assign the desired action to it for example change texture of the Tank, and so on.[/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