Reader small image

You're reading from  Corona SDK Mobile Game Development: Beginner's Guide

Product typeBook
Published inMar 2015
Publisher
ISBN-139781783559343
Edition1st Edition
Tools
Right arrow
Author (1)
Michelle M Fernandez
Michelle M Fernandez
Right arrow

Appendix A. Pop Quiz Answers

Chapter 1 – Getting Started with Corona SDK


Pop quiz – understanding Corona

Q1 What is true about using the Corona simulator?

1

Q2 How many iOS devices can you use for development in the iPhone Developer Program?

4

Q3 What does the version code have to be when building for Android in Corona SDK?

2

Chapter 2 – Lua Crash Course and the Corona Framework


Pop quiz – basics of Lua

Q1 Which of the following are values?

4

Q2 Which relational operator is false?

3

Q3 What is the correct way to scale an object in the x direction?

4

Chapter 3 – Building Our First Game – Breakout


Pop quiz – building a game

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 x = 300, y = 150, and have the alpha changed to 0.5, in 2 seconds?

1

Chapter 4 – Game Controls


Pop quiz – working with game controls

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 "began" means in the following function?

local function onCollision( event )
  if event.phase == "began" and event.object1.myName == "Box 1" then

    print( "Collision made." )

  end
end

4

Chapter 5 – Animating Our Game


Pop quiz – animating graphics

Q1 What is the proper way to pause the animation of an image sheet?

1

Q2 How do you make an animation sequence loop forever?

3

Q3 How do you create a new image sheet?

4

Chapter 6 – Playing Sounds and Music


Pop quiz – all about audio

Q1 What is the proper way of clearing audio files from the memory?

3

Q2 How many channels of audio can be played simultaneously in an application?

4

Q3 How do you make your audio file loop infinitely?

1

Chapter 7 – Physics – Falling Objects


Pop quiz – animating the graphics

Q1 What retrieves or sets the text string of a text object?

1

Q2 What function converts any argument into a string?

3

Q3 What body type is affected by gravity and collisions with the other body types?

1

Chapter 8 – Operation Composer


Pop quiz – game transitions and scenes

Q1 What function do you call to change scenes with Composer?

2

Q2 What function converts any argument into a number or nil?

1

Q3 How do you pause a timer?

3

Q4. How do you resume a timer?

2

Chapter 9 – Handling Multiple Devices and Networking Your Apps


Pop quiz – handling social networks

Q1 What is the specific API that scales down high-resolution sprite sheets?

2

Q2 What are the publishing permissions called that allow posting on a user's wall on Facebook?

2

Q3 Which parameter(s) is required for facebook.login()?

4

Chapter 10 – Optimizing, Testing, and Shipping Your Games


Pop quiz – publishing applications

Q1 When creating an iOS Distribution Provisioning file, what distribution method do you need to use?

2

Q2 Where do you refer to for the status of the submitted iOS applications?

1

Q3 What is required to build an app for the Google Play Store?

4

Chapter 11 – Implementing In-App Purchases


Pop quiz – all about In-App Purchases

Q1 What are nonconsumable purchases?

1

Q2 What is true about testing In-App Purchases?

3

Q3 What type of Provisioning Profile must be used to test In-App Purchases?

2

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Corona SDK Mobile Game Development: Beginner's Guide
Published in: Mar 2015Publisher: ISBN-13: 9781783559343
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

Author (1)