万本电子书0元读

万本电子书0元读

顶部广告

L?VE2d for Lua Game Programming电子书

售       价:¥

7人正在读 | 0人评论 9.8

作       者:Darmie Akinlaja

出  版  社:Packt Publishing

出版时间:2013-09-25

字       数:24.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(12条)
  • 读书简介
  • 目录
  • 累计评论(12条)
This book follows a tutorial approach with examples and step-by-step instructions to help explain the key concepts of the L?VE framework as well as everything you need to know about game development using the Lua programming language.L?VE2d for Lua Game Programming is for anyone who is interested in learning about desktop game development.
目录展开

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

累计评论(12条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部