Skip to content

Conversation

@Daft-Freak
Copy link

Still has a few issues, but mostly works

  • The collision code relies on integer truncation to not go out of bounds for negative positions, lua doesn't have a built-in function for this, so we're reading out of bounds... which works out as it just returns nil
  • I'm not seeding the random generator in episode 4/5 as there isn't anything to seed it with. (Though this is also broken in the C++ version on hardware)
  • Didn't bother copying the map data until episode 5, so that ends up a little messy
  • There seems to be a bug where enemy ninjas get stuck at the bottom of a ladder sometimes, not sure if I introduced that or not
  • Needs Fix loading files on pico builds 32blit-lua#18 to work on pico (2) and also for require to work (+ some more patches for it to work in SDL)
  • Also needs 32blit/32blit-lua@2917dcf for Surface.load
  • I think I committed both the source images and the generated assets, but you need to run the tool manually to generate them so... 🤷
  • This is only the code, no tutorial updates here.

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.

2 participants