View Single Post
  #28  
02-01-2008, 07:59 AM
Fuzzle Guy's Avatar
Fuzzle Guy
Outlaw Flamer
 
: Apr 2003
: Greater London, UK
: 2,634
Blog Entries: 17
Rep Power: 25
Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)Fuzzle Guy  (2482)

:
Hey, I am using gamemaker7 for Pacmud so I know the ins and outs and how you can get the punching to only hurt things near you.
So heres how you'd go about it:
  • instead of setting "on press_down" "change sprite", set "on press_down" "change instance" and make the punching thing an entierly different instance!
  • then you can set that when this instance collides with something you can punch the reaction happens and therefore it will only work if you are right next to them when you punch!!
  • You will also be able to set "on press_up" "change instance" back to the origanal instance of the mud.
Hows that?

Yer, stick that in your pipe and smoke it!
Ah, thanks very Much.
__________________

Reply With Quote