turn based is all i play on the bus or in a waiting room... and it helps you get learn things better because they're a lot less stressful
ajay

- Jan 23, 2023
- Joined Feb 18, 2022
- 0 best answers
Chess is pretty popular. Then there's Hearthstone and MTG and several other card games, very popular. Most tactics games are turn based. I don't really see why people wouldn't play turn based games. Fact is, lots of people do play them... and there are new ones currently being developed and being released all the time.
I don't know if this is the right forum to post this.
I'm just thinking it would be fun to make a game with other GodotHeads... wat,
no that's bad. What are we called? Godotians? Whatever....
So, anyhow, if you want to collab on a project, let me know. Or, if this is the wrong forum, please let me know where I should relocateCheers.
- Edited
Ok, this worked... in Player.gd:
extends RigidBody2D func _ready(): pass func _integrate_forces(state): if Input.is_action_just_pressed("Jump"): apply_impulse(Vector2.ZERO, Vector2(0, -300 - linear_velocity.y)) func _physics_process(delta): var crash = get_colliding_bodies() print(crash) pass
● Array get_colliding_bodies() const
Returns a list of the bodies colliding with this one. Requires contact_monitor to be set to true and contacts_reported to be set high enough to detect all the collisions.
Note: The result of this test is not immediate after moving objects. For performance, list of collisions is updated once per frame and before the physics step. Consider using signals instead.
add it to your KinematicBody's script:
func _process(delta): global_position = get_global_mouse_position()
or
func _input(event): if event is InputEventMouseMotion: global_position = get_global_mouse_position()
or... signals
Here's where I learned it... https://kidscancode.org/godot_recipes/physics/godot3_kinematic2d/
I think OP means the script attached to the kinematic bodies (the pipes) in the flappy bird game...
What do you mean by "Snap"? Drag and drop??
- Edited
Well, there needs to be a script to reference the method, some wheres and I think, yes, it needs to be local to the scene if you connect through the interface (rather than through script), though not necessarily to the top node.
This is a pretty comprehensive video explaining it... and he describes your dilemma here @ 10:30
->