Files

20 lines
696 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# radiation_explosion.js — üst seviye kod
[← radiation_explosion.js](index.md) · [← Master](../../wiki.md)
Parça 3/3 · [önceki](_ust-seviye-2.md)
```javascript
// Verilen yarıçapta yeşil parçacıklardan bir küre kabuğu çiz
// ---------------------------------------------------------------------------
// Tam radyasyon küresini birkaç kez pulsla + içeri girenlere hasar ver
var PULSE_COUNT = 6; // kaç puls (her puls ~20 tick arayla)
var PULSE_INTERVAL = 20; // tick
// ---------------------------------------------------------------------------
// Yok edilen blokları kabuk kabuk geri getir (dıştan içe, her tick bir kabuk)
```