jadijadi / riverraidrust

A text based river raid clone in Rust; streamed
GNU General Public License v3.0
94 stars 28 forks source link

Bomb Entity added #36

Open Siavoosh opened 7 months ago

Siavoosh commented 7 months ago

bombs appear only if there is at least 10 cells empty to avoid being too hard to play. player dies only if location happens to be 1 cell or less near the bomb when bomb goes off. after explosion effect remains for 5 frames but player can safely pass through smoke (effect).

this can close my previous suggestion #24

panoschagias commented 7 months ago

I played around a bit with the bombs. My suggestion is to lower the amount of frames that it takes for the counter to decrease. I will show in some screenshots below what I mean. Keep in mind that I didn't even die and the bomb passed me before it could detonate. 3 4 5 6 7 8

Siavoosh commented 7 months ago

thanks for checking out. right now i assumed 10 frames for a second , obviously for better experience bomb MUST go off when reached zero and not to wait another second. i'll fix this in a commit

panoschagias commented 7 months ago

after explosion effect remains for 5 frames but player can safely pass through smoke (effect).

This doesn't seem to be true, can you test as well? Sometimes when I go intentionally in the smoke (after the explosion), I loose. Sometimes I don't loose. It is not consistent.