Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Circular Pathed Platforms #1467

Merged
merged 8 commits into from Jul 20, 2020
Merged

Add Circular Pathed Platforms #1467

merged 8 commits into from Jul 20, 2020

Conversation

weluvgoatz
Copy link
Member

This adds circular-pathed platforms to the game.

Yes, they do follow the same behavior as flames, moving around in a circle. You can set the radius and speed of their movement as well as a delay for when they begin moving. You can also change the sprite.

They could possibly be introduced in the ice bridge levels in Icy Island because 1) Those levels introduce no new mechanics and 2) They could "foreshadow" the introduction of the flames by introducing a docile/helpful variant and then showing you the enemy version of it.

This was quite simple of an object to add. Please test and review, and hopefully this will get merged once it looks all good.

@serano01
Copy link
Member

Looks good.

src/object/circleplatform.cpp Outdated Show resolved Hide resolved
data/images/engine/editor/objects.stoi Outdated Show resolved Hide resolved
@weluvgoatz
Copy link
Member Author

I updated the pull request by updating with your suggestions and requirements @Zwatotem, but I don't understand your problems with the indentation seen as I cannot see the problems you are talking about.

@weluvgoatz weluvgoatz merged commit 70f01c2 into master Jul 20, 2020
tux314159 pushed a commit to tux314159/supertux that referenced this pull request Jul 31, 2020
* Add circular platforms [ci skip]

* update objects file [ci skip]

* Add to gameobjectfactory

* Add files via upload

* Update objects.stoi

[ci skip]

* quality de la code [ci skip]

* Update objects.stoi

[ci skip]

* Replaced tabs with spaces

Co-authored-by: Zwatotem <zwatotem@gmail.com>
@mrkubax10 mrkubax10 deleted the circle branch August 18, 2023 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants