Commit Graph

122 Commits

Author SHA1 Message Date
6605221398 Fixed velocity problem for landing on moving floors
The problem was that blobby got the velocity
of the velocity_jump_boost added to him whilst
jumping on a moving platform without moving
2022-05-31 23:09:43 +02:00
b75d57499a Usable Spring Platform Implementation
The spring is a Node2D with it's self contained physics.
It manipulates the vertical velocities of parents of
areas that come in contact with it, based on their
current velocities and masses.
2022-05-30 17:28:08 +02:00
8d92d285d9 Movement accelerations use two step euler method 2022-05-29 23:29:00 +02:00
6bf50d1bab Jump forces, smoother falling, ez walljumps
The jump velocity is not calculated on a one second basis anymore.
Instead the 60hz physics ticks are
the new reference for the jump force constants.
This is to unify the calculation of velocities in the blobby class.

Walljumps are now easier.
A just pressed jump event was changed to a pressed jump event.
This means the player can walljump,
with pressing a direction while sliding down a wall and keeping jump pressed.

Falling was smoothed out with a slightly and naivly improved euler method.

Also the spring is being experimented on.
2022-05-28 16:10:33 +02:00
1b7b6acd09 First working spring implementation
The behaviour of the spring is
erratic still.
The main problem is:
Blobby being slowed down,
disproportionally much when touching the spring surface.

A communication between the contraption and Blobbys physics needs to happen.
He has to slow down according to the, motion of the spring plattform,
and not go to 0 because hes touching some ground.

The other thing is that it should be always possible to jump.
Currently the platform can move down faster than blobby and cause
him to hover, which makes jumping
unavailable.
2022-05-23 22:12:09 +02:00
9c2a01f8a1 Renamed Areas and Bodies, slight restructure, preliminary spring 2022-05-23 16:19:32 +02:00
cb894d1c5d Gitignore and readme 2022-05-17 20:56:11 +02:00
8ea91e0f05 Spring with capsuled physics(no interaction) 2022-05-17 14:39:48 +02:00
e421662534 New blobby character, overhauled project structure 2022-05-16 12:46:06 +02:00
82028789e7 Midair boost, easier walljump, dpad fix, physic adjustments 2021-05-18 15:23:09 +02:00
7fd2c58218 Coyote time and jump buffer, walljump fix 2021-05-11 20:07:43 +02:00
36595e81ec Jump height control, walk level, adjustments 2021-05-11 14:17:37 +02:00
61cd57c253 Stone Texture, Wallslide/Jump, Level One Draft 2021-05-09 19:44:05 +02:00
ce04af9332 walk/run states, in-air movement, gravity fix 2021-04-13 23:46:07 +02:00
7d3a99b284 Working jumps and friction 2021-04-11 01:54:59 +02:00
742b79db52 Inertia based movement(broken jumps) 2021-03-30 22:57:34 +02:00
edc8a4d16f Debug Textbox that shows current State 2021-03-19 17:21:30 +01:00
67f2466f8c Player Movement intiated via the PlayerStateMachine 2021-03-14 13:25:52 +01:00
Jakob Feldmann
6500d525cd RayCaster Tutorial angefangen 2021-01-08 18:28:32 +01:00
Jakob Feldmann
58fa20d2e7 Added a StateMachine interface 2020-08-09 17:12:05 +02:00
bbe611c1aa Ignored .import, new Statemachine script 2020-08-09 16:20:39 +02:00
Jakob Feldmann
2c4d089643 Result of the GDQuest Tutorial 2020-08-06 10:40:10 +02:00