Ambiera ForumDiscussions, Help and Support. |
|
[ 1 2 3 ] Page 2 of 3 |
|
|||||
|
Hi VP, I want the car to be controlled by keyboard, it's will be fantastic! I really thankful! |
||||
|
No problem, you're welcome. I'll start tomorrow and hopefully it will be of some help to you. |
||||
|
Ok VP, really thankyou! ;) |
||||
|
Here's a little car demo with acceleration, braking and steering, using only variables (no coding). Tyres will smoke as they spin, wheels turn as they steer, car tilts as it accelerates, you can swap cars by pressing "G". https://drive.google.com/file/d/... |
||||
|
Great VP, it's excellent! I will study your project, it will be very useful to me, thanks again to use your time to help me! ;) |
||||
|
You're welcome. |
||||
|
Hello VP, I had a doubt, in this project you created, I noticed that when the car brakes with the S button, it stops completely. Is it possible to make the car brake progressively and slowly with the S button? I'm trying to do this with variables. |
||||
|
The car uses acceleration for both increase/decrease speed. "S" will stop the car immediately - so if you don't want the car to stop abruptly, simply don't press "S". If you release W, the car will slowly decelerate to a stop instead. EG: While the car is driving Release "W" and press "T" to brake (instead of "S") - the car will slow down as you want. Download the latest version (same link) as I've added a few more things for you. |
||||
|
If you use "Player Controlled by Keyboard", it automatically uses WASD keys, so you can't change these easily. If, however, you want to make your own controller, the variable to slow down the car when a key is pressed is: Every 100ms, When key "S" is pressed, Change variable: ‡‡Taxi(Dummy).movementspeed Subtract 1 Just remember, "Player Controlled by Keyboard" will always use "S" as reverse unless you edit the script. "hashtag(Object).movementspeed" is a special variabe to adjust speed. You can set it directly or add/subtract to it. |
||||
|
Ok VP, it's excellent! Thank you! |
||||
|
VP, this idea of ??hitting the cones to score is fantastic, I can already imagine many possibilities to create games with similar systems! Thanks for all the help! |
||||
|
You're welcome! Hey, thanks. Glad you found it helpful. :) |
||||
|
Please Some one Help me. I am creating a open world game in coppercube BUT CAR is the problem I can't found CAR mechanics in whole internet PLEASE give me working car project which will not turn while standing and have some logics pleaseeeeeee |
||||
|
Mummy vp the link is broken pls repost the link |
||||
|
Just use "sm car behavior", the car don't turn when is stoped and have the logic to mark the rubber in the ground and spin and turn the wheels! I'll share a ccb file for you: https://drive.google.com/file/d/... Good luck with your project and show to us when you develop your game! : |
[ 1 2 3 ] Page 2 of 3 |
|