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

Author Topic: Implementation of a 2d Destructible terrain with Sfml  (Read 941 times)

0 Members and 1 Guest are viewing this topic.

ankitpaudel20

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Implementation of a 2d Destructible terrain with Sfml
« on: February 02, 2020, 09:41:50 am »
I came up with an implementation of destructible terrain idea which includes making vertex arrays for each pixel column of screen and the process of destroying it. It is computationally very slow and if there is a way to maintain the destructibility and fall of pixels after destroying the area clicked? I want to make a single vertexarray so that there is a single drawcall.

this is my github repo for project.


https://github.com/ankitpaudel20/Terrain.git
« Last Edit: February 02, 2020, 09:44:37 am by ankitpaudel20 »

 

anything