Dominion Rod Statue Discussion
#1
Posted 01 March 2011 - 08:52 PM
I'm not sure if it was intended, but if Link is walking against a solid wall, the statue will still move. By this logic, I was able to get the statue to leave the screen. A small fix would be to add another check to make sure that it isn't leaving the screen.
Also, I noticed that it triggering secrets is extremely sensitive. That is, if it barely touches the tile(s), it'll trigger secrets. May I suggest maybe making this something the user can decide? (That is, how many pixels that statue needs to be on the trigger for it to trigger.)
Just friendly suggestions; it works and I definitely see some good functionality with this, even if it's not to mimic the Dominion Rod statues.
Side note, you shouldn't put import 'std.zh' since when people copy it over, they're going to get errors. (Easy to pick out for people somewhat familiar with ZScript, but not so much for those who aren't.)
#2
Posted 01 March 2011 - 09:18 PM
I modified the script to detect the edge of the screen as unwalkable as per your suggestion and changed the velocity to be more user-friendly. When I have more time, I'd also like to change it to be less unwieldy by checking all lweapons to see if they collide with it, etc. instead of the pointless and contrived thingy with secrets. I'll also try to make the secret trigger less sensitive, but it seems like it might be a bit hard to make it defined by the user.
#3
Posted 02 March 2011 - 11:44 AM
#4
Posted 02 March 2011 - 11:52 AM
#5
Posted 02 March 2011 - 03:38 PM
#6
Posted 02 March 2011 - 03:44 PM
#7
Posted 02 March 2011 - 04:38 PM
#8
Posted 24 March 2011 - 06:20 PM
#9
Posted 25 March 2011 - 09:04 AM
Also, I don't want that the magic sphere does damages enemies. If I set it to 0, will it stun them? Enemies should ignore the sphere.
#10
Posted 25 March 2011 - 09:11 AM
It stuns enemies. Try adding
DSphere->CollDetection = false;
to the DSphere bit. I can't test it myself right now because I need to go.
#11
Posted 25 March 2011 - 10:20 AM
I also tried to add that line. It works! Enemies ignore the sphere.
Edited by Avataro, 25 March 2011 - 10:29 AM.
#12
Posted 25 March 2011 - 05:18 PM
#13
Posted 25 March 2011 - 06:41 PM
#14
Posted 25 March 2011 - 06:44 PM
#15
Posted 25 March 2011 - 06:51 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users