Player isn't killed; Bullets hit each other [...]
Posted: Wed Oct 04, 2006 8:19 pm
Some problems I've met while coding things for Rockfighter
Preamble: the CEs in the middle of the map are two multiplicators. They shoot out bullets when hit by bullets. They are pushable - if you manage to switch off the machine-gun effect (it's enough that you stop/destroy the bullet that's travelling between them).
First issue: the bullets seem to hit each other, somehow. In my purpose, they should run and disappear, but they act in this way only on two directions. Seems tied to the engine scan mode: press the R and N elements to reverse the scan mode and see how they change. Also, this is tied to the fact that the two multiplicators are just two tiles away from each other. If you increase this distance, the "machine gun" rate is decreased and the problem can't be noticed.
Second issue: decisely a bug: the player explodes but doesn't die. This happens when you walk down to the tile beside one of the two multiplicators, while they shoot out bullets at the maximum rate (that is, as they appear just starting the level). If they are aligned horizontally, the bug shows up on the right and the left sides, while occupying one of the tiles above or below them will correctly kill the player. This changes if you align them vertically: then the bug shows up on the top and bottom sides.
Tape attached, ready to be ":ist"ed
I've tried it only on 3.2.2.
The multiplicators are being made after one of Zomis' ideas about extending Rockfighter.
Get the example here:
http://www.zomis.net/rnd/download.php?id=570
Preamble: the CEs in the middle of the map are two multiplicators. They shoot out bullets when hit by bullets. They are pushable - if you manage to switch off the machine-gun effect (it's enough that you stop/destroy the bullet that's travelling between them).
First issue: the bullets seem to hit each other, somehow. In my purpose, they should run and disappear, but they act in this way only on two directions. Seems tied to the engine scan mode: press the R and N elements to reverse the scan mode and see how they change. Also, this is tied to the fact that the two multiplicators are just two tiles away from each other. If you increase this distance, the "machine gun" rate is decreased and the problem can't be noticed.
Second issue: decisely a bug: the player explodes but doesn't die. This happens when you walk down to the tile beside one of the two multiplicators, while they shoot out bullets at the maximum rate (that is, as they appear just starting the level). If they are aligned horizontally, the bug shows up on the right and the left sides, while occupying one of the tiles above or below them will correctly kill the player. This changes if you align them vertically: then the bug shows up on the top and bottom sides.
Tape attached, ready to be ":ist"ed
I've tried it only on 3.2.2.
The multiplicators are being made after one of Zomis' ideas about extending Rockfighter.
Get the example here:
http://www.zomis.net/rnd/download.php?id=570