A
A
Afafks1231321321652021-07-17 18:51:44
Game development
Afafks123132132165, 2021-07-17 18:51:44

How to make destructible?

How can you make it destructible like in worms?
Maybe there are links to lessons or an algorithm?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Shatunov, 2021-07-17
@Afafks123132132165

Briefly about destructibility in Noita is set out in the presentation of the developers at the GDC.
Detailed description of destructibility in Jelly in the sky from the author of the game: [ 1 ], [ 2 ], [ 3 ].
In Worms, the implementation of destructibility is quite simple.
Mat. the level model consists of a bit matrix (where the raised bit is filled and the removed bit is empty), and a set of drawing functions in this matrix. The level is initially generated in this bitmap and this bitmap is modified during the game. Drawing functions are standard - this is drawing a line from a point to a point with a given width, as well as drawing a filled circle. The drawing itself occurs with zero bits.
At its core, Worms are such an intricate drawing editor.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question