Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building a 3D Game with LibGDX

You're reading from  Building a 3D Game with LibGDX

Product type Book
Published in Aug 2016
Publisher Packt
ISBN-13 9781785288418
Pages 234 pages
Edition 1st Edition
Languages

Enemy models!


It's time to work or fetch a model to represent our enemies. We have two options, model our own or get them from the Internet (either buy them or get them for free). We will show you how to work with a free model downloaded over the Internet.

Getting models from the Internet

With a simple Google search, you'll find a trillion sites to get 3D models from. They can come in different formats and sizes, with or without animations, and with one or more animations. We will get a model from www.3drt.com, and download the free alien test model from http://3drt.com/store/free-downloads/free-monster-character.html.

As you can see in the preceding image, the formats included are varied. We are mostly interested in FBX, but there's a variety of formats that Blender can import in case Fbx-Conv doesn't read it, so we can then export to FBX.

This ZIP file contains an FBX, so we can convert it directly.

Let's convert and then change createEnemy(...) from EntityFactory.java:

public static Entity...
lock icon The rest of the chapter is locked
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.
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 €14.99/month. Cancel anytime}