售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
LÖVE for Lua Game Programming
Table of Contents
LÖVE for Lua Game Programming
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with LÖVE
Downloading LÖVE
For Windows users
For Linux users
For Mac users
Choosing your editor
Running a LÖVE game
Basic structure of LÖVE
Examples
Conf.lua
Summary
2. LÖving Up!
Drawing 2D objects
Moving objects
Rotating objects
Moving left, right, up, or down
Sprites
Animation
Summary
3. Before You Build a Game
Planning your game
Strategy
Role-playing games
Adventure
Action
Simulation
Summary
4. Making Your First Game
Basic level design
Getting your assets ready
Player
Coin
Antagonist
Diamond
Tile set
Getting started with Tiled
Exporting your tile map
Loading the game level
Conf.lua
Summary
5. More About Making the Game
Bump on it!
Loading solid tiles into the bump
Loading the character objects (player and enemy)
A player character
The anim8 library
Frames
Animation
Player movement
Gravitation physics
Player collision with platform
Player's death
Draw player
Summary
6. Meeting the Bad Guy!
Bad guy
Updating the enemy position and animation
Enemy collision configuration
Enemy death function
Drawing the enemy character to the screen
Summary
7. Pickups and Head-Up Display and Sounds
Pickups
Coins
Diamonds
Life
Audio system
Enemy collision sounds
Item pick sounds
Coin sound
Diamond sound
Head-Up Display (HUD)
Menu HUD
On clicking a button
Life HUD
Score HUD
Summary
8. Packaging and Distributing Your Game
Windows executable
Mac apps
Linux
LÖVE on browsers
LÖVE on Android mobile phones
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜