Godot controles 3d chatarreros + Virtual Joystick
Aquí unos controles chatarreros de kinemático 3d con suelo plano para exportar en html.
Asset controles flotantes con Joystick
Plantilla imágenes
https://github.com/Chatarra-Estudio/Virtual-Joytick-3d/tree/c20ab2b2c9b6183e7cc9d8fb59cb1aee2be8e054
Imagen: ciudad desde arriba
Imagen: León en globo
Añadimos mecánicas de coche como asset de coche:
https://github.com/Chatarra-Estudio/Virtual-Joytick-3d/tree/0656a09608d4a9f2c39f824465db8e0ef31b5362
Modelo chatarrero de terreno básico de regalo:
Modelo chatarrero del clio de regalo:
Plantilla proyecto editable - Juego game jam 16 /09/ 2023: Call of Ferdi
https://github.com/Chatarra-Estudio/Virtual-Joytick-3d/tree/772b82ce9b34c68218be91a7bf15ba3dbd3d5f37
Truck Town
This is a demo implementing different types of trucks of varying complexity using vehicle physics.
Controls:
- Up Arrow, W, Gamepad Right Trigger, Gamepad A/Cross: Accelerate
- Down Arrow, S, Gamepad Left Trigger, Gamepad B/Circle : Brake
- Left Arrow, Gamepad Left Stick: Steer left
- Right Arrow, Gamepad Left Stick: Steer right
- U, Gamepad Select, left-click speedometer: Change speedometer unit (m/s, km/h, mph)
- C, Gamepad Y/Triangle: Change camera (exterior, interior, top-down)
- Escape, Gamepad D-Pad Up: Go back to menu (press again to exit)
Language: GDScript
Renderer: Forward Plus
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/524
How does it work?
The base vehicle uses a
VehicleBody
node. The trailer truck is tied together using a
ConeJointTwist
node, and the tow truck is tried together using a chain made of
RigidBody
nodes which are pinned together using
PinJoint nodes.
Screenshots
El germen del proyecto de producir unos controles 3d surgió de un intento, no satisfactorio, para una Game Jam de pocas horas donde. El objetivo de nuestro proyecto era hacer unos controles básicos para un submarino. Finalmente tenemos una plantilla con joytick virtual t movimiento en 3d:
Plantilla proyecto editable original solo movimiento con joystick virtual, para que vaya bien en movil
https://github.com/Chatarra-Estudio/Virtual-Joytick-3d/tree/437d8bb987b4bb11bce31ce0715674a3b5abe02a Juego: https://josegarciamoreno.github.io/Chatarra-Estudio/landing2023/ferdi/3d.html
Pruebas de 3d
https://josegarciamoreno.github.io/Chatarra-Estudio/landing2023/sensor/acelera.html (Probando giroscopio: no va)
https://josegarciamoreno.github.io/Chatarra-Estudio/landing2023/submarino/amarillo.html Interfaz chatarrero para movil
Virtual joystick for touchscreens, with useful options.
Godot Virtual Joystick Aquí unos controles chatarreros de kinemático 3d con suelo plano para exportar en html.
Godot Virtual Joystick
A simple virtual joystick for touchscreens, with useful options.
GitHub Page: https://github.com/MarcoFazioRandom/Virtual-Joystick-Godot
Godot Engine: https://godotengine.org
PREVIEWS:
OPTIONS:
-
Joystick mode:
- Fixed: The joystick doesn't move.
- Dynamic: Every time the joystick area is pressed, the joystick position is set on the touched position.
-
Dead zone size: If the tip is inside this range the output is zero.
-
Clamp zone size: The max distance the tip can reach.
-
Visibility mode:
- Always: Always visible.
- touchscreen only: Visible on touch screens only (will hide if the device has not a touchscreen).
-
Use input actions: if true the joystick will trigger the input actions created in Project -> Project Settings -> Input Map
HELP:
- The Control parent of the joystick is the area in which the joystick can move in Dynamic mode.
- For moving the joystick inside his area, select it, right click, turn on "Editable Children" and then change the position of the Base node.
- With "Editable Children" turned on you can also edit the joystick textures and colors.
- To be able to use the joystick with the mouse, you have to go to Project settings -> Input Devices -> Pointing, and turn on the option "emulate touch from mouse".
- If you want multitouch, make sure to disable the option "emulate mouse from touch".
- Create a CanvasLayer node and name it "UI", it'll contain all the UI elements, then add the Joystick scene as a child of the UI node and move it where you prefer.
- An example scene is provided in the "Test" folder.





