|
Post by sinclairfan on Oct 23, 2020 21:57:33 GMT
Hello, I've been watching all the cool videos on AGD and MPAGD. I have a question about MPAGD Tutorial 3. He shows really well how to add a cool delay and explosion to the player when killed by a sprite but my question is this.
How do I apply the same delay and player explosion when killed by deadly blocks?
Thank you very much.
|
|
|
Post by ultranarwhal on Oct 23, 2020 22:29:07 GMT
Off top of my head try
IF DEADLY LET K = 50 REMOVE EXPLODE 40 ENDIF
|
|
|
Post by sinclairfan on Oct 24, 2020 11:12:41 GMT
Thanks for trying but sadly it doesn't work. I also tried adding "other" just before the remove and explode lines but still nope. It's a shame, I love the explosion effect and delay before respawning but if I can only get it working on sprites and not deadly blocks I guess I will have to remove it as it will be odd when playing if you die in different ways.
Edit: Ignore the above! I had some conflicting code in my player event list! Just changed it and it works. Thank you very much!
|
|