Achtung, das System ist noch nicht für den Produktiveinsatz freigegeben. Nutzung auf eigene Gefahr, es kann zu Datenverlust kommen.

Commit b5680761 authored by Kevin Balz's avatar Kevin Balz

probably final tweaks

parent 04c1bfc1
Pipeline #3461 passed with stage
in 4 minutes and 36 seconds
......@@ -36,7 +36,7 @@
"beats_per_step": 1,
"distance_per_step": 4,
"step_time_percentage": 0.5,
"off_beat_threshold": 0.2,
"off_beat_threshold": 0.3,
"overshoot": 3
},
"Input_controller": {},
......@@ -45,7 +45,7 @@
"attack_width": 0.5
},
"Stationary_attack": {
"radius": 3
"radius": 4
},
"Rigid_body": {
"radius": 0.5
......
......@@ -60,7 +60,7 @@ namespace phase_shifter::gameplay {
for(auto&& [player_transform, p] : _ecs.list<Transform_comp, Player_comp>()) {
for(auto&& [transform, goal] : _ecs.list<Transform_comp, Goal_comp>()) {
if(glm::distance2(player_transform.position, transform.position) < 1.f) {
if(glm::distance2(player_transform.position, transform.position) < 2.1f) {
_game_won = true;
_bus.send<Win_msg>();
}
......
......@@ -123,7 +123,7 @@ namespace phase_shifter::level {
.position(position)
.post_create([=](auto entity) {
entity.process([&](gameplay::Shooting_comp& shooting) {
shooting.attack_radius = 20;
shooting.attack_radius = 100;
shooting.pause_between_shots = 2;
shooting.set_patterns({gameplay::Bulletpattern({{0, 0}})});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment