0%
Camera, Viewport, and World — Chapter 31

Chapter 31 — Camera, Viewport, and World

Part 2B — The Flame Engine · Chapter 31 of 62 · 9 hrs

Chapter 31 — Camera, Viewport, and World

Level: intermediate Estimated time: 9 hours Prerequisites: chapters 27 to 30 (installing Flame, FlameGame, components and lifecycle, sprites, input), chapter 25 (hand-written camera, world and screen, parallax), chapter 28 (component tree, priority, anchors) Flame version used: 1.38.0 What you will be able to do by the end: display a dungeon larger than the screen, make the camera follow the hero without jitter, bound the view to the level's walls, place a HUD that never moves, and convert a screen click into a world position.


31.0 — Chapter objectives

By the end of this chapter, you will be able to:

Comments

Comments are powered by GitHub Discussions

Sign in with GitHub to join the discussion

Link copied!