Skip to content

Chatarra-Estudio/Virtual-Joytick-3d

00175acb1d
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

https://raw.githubusercontent.com/Chatarra-Estudio/Virtual-Joytick-3d/c20ab2b2c9b6183e7cc9d8fb59cb1aee2be8e054/ferdi/asset/flotante/ciudad.jpg

Imagen: León en globo

https://raw.githubusercontent.com/Chatarra-Estudio/Virtual-Joytick-3d/c20ab2b2c9b6183e7cc9d8fb59cb1aee2be8e054/ferdi/asset/flotante/leon5.png


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:

https://github.com/Chatarra-Estudio/Virtual-Joytick-3d/blob/0656a09608d4a9f2c39f824465db8e0ef31b5362/modelos/terreno10x10.blend

Modelo chatarrero del clio de regalo:

https://github.com/Chatarra-Estudio/Virtual-Joytick-3d/blob/0656a09608d4a9f2c39f824465db8e0ef31b5362/modelos/clio_tuning.blend


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://3d.csm.ai/login

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:

Easy to setup:

Easy to use:

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published