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

Missing features on Custom Level API #266

Open
1 of 7 tasks
yancouto opened this issue Dec 19, 2019 · 0 comments
Open
1 of 7 tasks

Missing features on Custom Level API #266

yancouto opened this issue Dec 19, 2019 · 0 comments

Comments

@yancouto
Copy link
Member

yancouto commented Dec 19, 2019

Custom levels are working, though some features are still missing:

  • Lasers/Emitters (probably need to figure out how they'd work in the custom level API).
  • Checking if lava is burning or not
  • Checking what the bot is holding
  • Checking paint color on the floor
  • Cannot recreate level "Cleanup on aisle 5", since we cannot create bodies. It could be done with buckets (maybe allow user to override bucket image? That's basically what we do on our code :P)
  • Cannot recreate "Cleaner I" because the paint there is actually bleach, but that is just appearances, so maybe it is fine.
  • math.random used on custom levels always returns different values. It should be fixed like the random in our levels (https://github.com/MarvellousSoft/MarvInc/blob/dev/marv/classes/reader.lua#L38)
yancouto added a commit that referenced this issue Dec 26, 2019
math.random will now always return the same numbers on the same test case, as it should be.
Fixes item from #266
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

No branches or pull requests

1 participant