Close Banner

How to Make a Platformer Using libGDX

Cross Platform Robot-Blasting Fun

中级

大约 8 个礼拜

6小时每周 (按照自己的节奏)

由以下企业参与制作:
加入成千上万的全球学员

开始免费课程

加入课程
免费
可享受
课程视频
实战练习与参考项目指导
中级

大约 8 个礼拜

6小时每周 (按照自己的节奏)

由以下企业参与制作:
加入成千上万的全球学员

课程概述

'2D Game Development with libGDX' explored the basics of the libGDX game framework, from simple drawing to user input.

This course will use those skills to create a much more sophisticated platforming game called GigaGal. In creating GigaGal, you'll learn about sprite drawing, keeping track of complex game state, controlling interactions between game entities, and also how to load and manage level data.

为什么学习这门课程?

Making and playing games is easily the most fun you can have with a computer, but there are real career opportunities here as well. Over the last decade, mobile gaming has grown into a huge market. Independent game developers are enjoying unparalleled success, and established gaming studios are hiring faster than ever.

In the course '2D Game Development with libGDX' you learned to build a simple game. Now, you'll learn to build a platformer. These are the skills you'll need to enter the world of professional game development.

先修要求

This course builds on '2D Game Development with libGDX', so taking that course first is strongly recommended. Otherwise, you'll need familiarity with the basics of libGDX.

This course assumes basic proficiency with Java and Android Studio, including working with collections, implementing interfaces, and extending abstract classes. It is also assumed that you can read and understand documentation and source code.

To brush up on these skills, consider taking Intro to Java Programming and How to Install Android Studio.

查看使用优达学城的技术要求

你将学习什么内容?

项目

Space Kerfuffle

Build a "shoot-em-up" game that can be used with a keyboard or mobile device, manages image, animation, and level assets.

学习计划

Level 2-1: Sprites and Animations

Learn to draw using predefined sprites and combine sprites into animations and stretchable nine-patches. Finally, you'll learn to pack many sprites into a texture atlas that can be efficiently loaded by your game.

Level 2-2: The Player

Create GigaGal and give her the ability to move and jump. You'll add separate sprites for facing left, facing right, standing, and jumping. Then, you will add an animation for GigaGal's walk.

Level 2-3: The Platforms

Add the platforms to GigaGal and allow GigaGal to jump on them and fall off again.

Level 2-4: The Camera

Set up the camera to follow GigaGal around the level.

Level 2-5: The Enemies

Add GigaGal's evil robot adversaries.

Level 2-6: The Bullets

Let GigaGal fight back with her arm cannon and create awesome explosions when she scores a hit.

Level 2-7: Level Loading

With the gameplay complete, add the ability to load level data created in an external tool.

Level 2-8: Adding the HUD and onscreen controls

Add a score display, lives counter, and on screen controls for mobile players.

讲师与合作伙伴

Peter Heinrich

Peter Heinrich

Peter Heinrich is a Developer Evangelist with Amazon specializing in mobile game development. He speaks regularly on game design, coding, marketing, and monetization best practices. Before Amazon, Peter was a full-time game developer for fifteen years, working on desktop and console titles before moving to online and mobile games. He co-founded two indie game studios after working as an individual contributor for several large game makers.

Jeremy Silver

Jeremy Silver

Jeremy Silver 在核反应堆和音乐剧场开始自己的教学生涯。他曾从事苹果公司的语音压缩,利用分形学发明了编码方案,并撰写了一项物理模仿以寻求将重物举过其脑袋的最高效方法。Jeremy 是优达学城的课程策划,之前曾在优达学城学生支持团队担任教练。

官方微信公众号二维码

优达学城(Udacity)微信