Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Oh! IMMA FIRING MA LASER!!! OVER 9000! XD really nice! I enjoyed playing it. maybe make it so the Z-parts don't push you and when there's many of them it starts to lag. Maybe combine them if there's many in one location.

Combining sounds amazing. I'll try that! I think those are the main things making the game lag. The Z things are rigidbody when they probably don't need to be.

(+1)

In Godot you can disable node's collision layer or mask to make them not collide with each other. Disabling these may lead to you needing to add Area2D to make them detect player near it. Or add another collision layer that only triggers the detection and not effect the collisions. Try things out and see what works. 

And if you are using move_and_collide() maybe change it to move_and_slide() so they don't get stuck on each other. But I think that part was working fine. 

Not sure about Rigidbody, it is maybe ok or you can try using CharacterBody2D. That it what I usually use. Rigidbody I use if I want like bouncy ball in the scene or something like that has physics and it reacts automatically to other things.

(+1)

Thanks!  I updated the game. The pick ups were originally rigidbody2D because I used impulse. Right now I switched them to Area2D and changed them to a different layer. As for the player it was due to characterbody2d thinking the enemies were ground, switching to floating fixed the problem.