Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: The way to construct 2D scene?  (Read 2243 times)

0 Members and 1 Guest are viewing this topic.

kevin0211722@gmail.com

  • Newbie
  • *
  • Posts: 2
    • View Profile
The way to construct 2D scene?
« on: April 20, 2021, 01:52:32 pm »
Hi guys!
I'm about to build my first 2D game scene.
I'm wondering that what's the usual method of building scenes.
I heard some people would use textures in blocks to build when they using a game engine to develop games.
When it comes to drawing a scene, my mind comes up withdrawing an entire picture of the game level.
Does it sound unprofessional? How do you guys sort out this task?

 

fallahn

  • Hero Member
  • *****
  • Posts: 507
  • Buns.
    • View Profile
    • Trederia
Re: The way to construct 2D scene?
« Reply #1 on: April 21, 2021, 10:57:33 am »
A common approach is to use a scene graph. There's a topic in the SFML tutorials which touches on implementation, and it is covered in detail in the SFML Game Development book.