I Wanna Community

Boshy Spike Stand How?

0 Members and 1 Guest are viewing this topic.

Offline PikachuLPer

  • 18
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 53.0.2785.101 Chrome 53.0.2785.101
  • Playstyle: Keyboard
Boshy Spike Stand How?
« on: September 14, 2016, 07:27:30 AM »
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

i like games

Offline WetWookie

  • 90
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Firefox 48.0 Firefox 48.0
  • Playstyle: Keyboard
Re: Boshy Spike Stand How?
« Reply #1 on: September 14, 2016, 10:27:29 AM »
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: [Select]
event_inherited();
instance_create(x,y,objSpikeDown);

So essentially you have the flat block to stand on and a downward spike jutting out the bottom.

Offline PikachuLPer

  • 18
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 53.0.2785.101 Chrome 53.0.2785.101
  • Playstyle: Keyboard
Re: Boshy Spike Stand How?
« Reply #2 on: September 14, 2016, 11:31:48 AM »
Ehm i dont know why but im dying if im trying to walk on it any help?

i like games

Offline WetWookie

  • 90
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Firefox 48.0 Firefox 48.0
  • Playstyle: Keyboard
Re: Boshy Spike Stand How?
« Reply #3 on: September 14, 2016, 12:38:40 PM »
comment out the code that creates the spike and make sure standing on the block works.

Offline PikachuLPer

  • 18
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 53.0.2785.113 Chrome 53.0.2785.113
  • Playstyle: Keyboard
Re: Boshy Spike Stand How?
« Reply #4 on: September 14, 2016, 12:41:21 PM »
i puted in the code but i still die when i try to walk on it

i like games

Offline WetWookie

  • 90
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Firefox 48.0 Firefox 48.0
  • Playstyle: Keyboard
Re: Boshy Spike Stand How?
« Reply #5 on: September 14, 2016, 12:48:44 PM »
Take out the code that makes the spike. Make sure that you can walk on the block object. Its parent should be objBlock.

Offline pieceofcheese87

  • 341
  • Personal Text
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 52.0.2743.116 Chrome 52.0.2743.116
    • Twitch Tv Channel
  • Playstyle: Keyboard
Re: Boshy Spike Stand How?
« Reply #6 on: September 14, 2016, 04:00:24 PM »
The spike object probably has priority over the block in your game. If you're using studio, try moving your block object above the spike object in the object library.
Signature

Offline PikachuLPer

  • 18
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 53.0.2785.116 Chrome 53.0.2785.116
  • Playstyle: Keyboard
Re: Boshy Spike Stand How?
« Reply #7 on: September 16, 2016, 09:08:54 AM »
got it to work now thanks for the help  :atkHappy:

i like games