Fangames > Programming Questions
Boshy Spike Stand How?
PikachuLPer:
I want to make some spikes where you can stand on like in the boshy good level design room or the kill the guy spikes.
But i dont know if someone answers it would be awesome. :atkHappy:
- PikachuLPer
WetWookie:
I haven't tried it but I suspect that the easiest way without recoding a bunch of things would be to make a new object that has objBlock as it's parent. The sprite would be just the flat surface that you can stand on and then in the create event for the object put
--- Code: ---event_inherited();
instance_create(x,y,objSpikeDown);
--- End code ---
So essentially you have the flat block to stand on and a downward spike jutting out the bottom.
PikachuLPer:
Ehm i dont know why but im dying if im trying to walk on it any help?
WetWookie:
comment out the code that creates the spike and make sure standing on the block works.
PikachuLPer:
i puted in the code but i still die when i try to walk on it
Navigation
[0] Message Index
[#] Next page
Go to full version