supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Add Conveyor Belt object

Open Raoul1808 opened this issue 3 years ago • 2 comments

This PR adds conveyor belts, a new object that shifts entities in a certain direction at a certain rate.

They have variable length and speed and can shift entities left or right. The conveyor can also be controlled through a script to start or stop the conveyor, change its speed or direction.

Some things may need more polish, like for example extending the texture/animation so it can be seamless over longer belts.

Any feedback is welcome, especially on the code. I'm very new to adding new objects into the game.

Raoul1808 avatar Aug 26 '22 20:08 Raoul1808

Could you fix compilation issues?

mrkubax10 avatar Sep 10 '22 07:09 mrkubax10

I just changed the way the conveyor belt shift objects, but there's still the issue of some enemies turning around at the end of the conveyor belt (it only affects enemies that stay on their platform), I don't really know how to tackle this

Raoul1808 avatar Sep 10 '22 08:09 Raoul1808

@weluvgoatz Is the PR good after the new changes?

Vankata453 avatar Jun 20 '23 17:06 Vankata453