You're reading from Corona SDK Mobile Game Development: Beginner's Guide
Q1 When adding the physics engine in your code, which functions are valid to add to your application? |
4 |
Q2 Which is correct when adding an event listener? |
4 |
Q3 What is the correct way to have the following display object transition to |
1 |
Q1 How do you properly remove a display object from the stage? |
3 |
Q2 What is the correct way to make the following display object into a physics object? local ball = display.newImage("ball.png") |
3 |
Q3 What best represents what local function onCollision( event ) if event.phase == "began" and event.object1.myName == "Box 1" then print( "Collision made." ) end end |
4 |
The rest of the chapter is locked
You have been reading a chapter from
Corona SDK Mobile Game Development: Beginner's GuidePublished in: Mar 2015Publisher: ISBN-13: 9781783559343
© 2015 Packt Publishing Limited All Rights Reserved
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime