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

Documentation ▸ Developer Guides ▸ Getting Started ▸ chapter 5 chapter files -- a minor bug in the backup code example #177

Open
Ratgor opened this issue Sep 1, 2024 · 0 comments

Comments

@Ratgor
Copy link

Ratgor commented Sep 1, 2024

from page https://docs.coronalabs.com/guide/programming/05/index.html
zip download url https://github.com/coronalabs/GettingStarted05/archive/master.zip

in GettingStarted05-master.zip
file main_original.lua
line 73: physics.addBody( ship, { radius=30 } )
should be: physics.addBody( ship, { radius=30, isSensor=true } )

While passing this user guide I occassionally dropped my own main_original.lua,
to cope with that I took that one from archive,
and after extracting these lines to game.lua as manual says,
I got a bug: the ship after the first collision with asteroid keeps impulse on the next life and drifts out of screen.

I've additionally checked, the chapter 4 zip also have the same bug in the same file.

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