Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning LibGDX Game Development- Second Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning LibGDX Game Development- Second Edition

Learning LibGDX Game Development- Second Edition

By : Suryakumar B Nair, Andreas Oehlke
3.5 (11)
close
close
Learning LibGDX Game Development- Second Edition

Learning LibGDX Game Development- Second Edition

3.5 (11)
By: Suryakumar B Nair, Andreas Oehlke

Overview of this book

This book is aimed at indie and existing game developers as well as those who want to get started with game development using LibGDX. Basic knowledge of Java programming and game development is required.
Table of Contents (16 chapters)
close
close
15
Index

Chapter 8. Special Effects

In this chapter, you will learn to add special effects to Canyon Bunny using LibGDX's particle system, and learn about linear interpolation, and several other ways to enhance the visual appearance of the game. You will also design a custom particle effect in a graphical editor, which will serve as dust. This dust effect will be shown whenever the player character is running on rocks. You will be introduced to the concept of linear interpolation, using examples of smoothing the camera's movement while it is following a set target, as well as letting the rocks slowly bob up and down on the water.

In addition to this, you will implement a parallax scrolling effect for the displayed mountains in the background. The clouds will continuously move at random speeds from the right to the left of the level. The game's GUI will also be enhanced by adding some subtle effects for events where the player has lost a life or when the game score has increased...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY