Author Topic: Trying to recreate spikes that move when jumping  (Read 514 times)

DemoTou

  • Wannabe
  • Posts: 3
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 66.0.3359.181 Chrome 66.0.3359.181
    • View Profile
  • Playstyle: Keyboard
Trying to recreate spikes that move when jumping
« on: May 20, 2018, 02:16:17 PM »
Hey,

I'm currently trying to recreate spikes that go up and down whenever you jump like in Boshy.
I found this post https://iwannacommunity.com/forum/index.php?topic=2390.msg17113#msg17113
and did everything that was written there but I get this error. (I'm using Game Maker Studio 1.4.1)

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of  Step Event0
for object objJumpspikeUp:

Push :: Execution Error - Variable Get 102128.tX(100224, -2147483648)
 at gml_Object_objJumpspikeUp_StepNormalEvent_1 (line 12) -     x=lerp(sX,tX,sine);
############################################################################################

I hope someone can help me figure out where the problem is.