Jump to content


Photo

Moving objects?


  • Please log in to reply
2 replies to this topic

#1 Hahajiggly

Hahajiggly

    GMC Member

  • GMC Member
  • 20 posts
  • Version:GM8

Posted 07 January 2012 - 10:44 PM

;

Edited by Hahajiggly, 07 January 2012 - 11:47 PM.

  • 0

#2 Bcm27

Bcm27

    GMC Member

  • New Member
  • 333 posts
  • Version:GM8

Posted 07 January 2012 - 10:49 PM

It would help if we saw your code or your drag and drop actions so we know what the problem is.
  • 0

#3 Hahajiggly

Hahajiggly

    GMC Member

  • GMC Member
  • 20 posts
  • Version:GM8

Posted 07 January 2012 - 10:59 PM

It would help if we saw your code or your drag and drop actions so we know what the problem is.


Invisible Unsolid Block:

In collision with sonic_do_basic (spring parent) Change instance into Sonic (player) Yes to Perform Events

sonic_go_right (spring object)

Create (execute a code):

hspeed=7

sonic_do_basic

In collision with invisible_unsolid_block Change instance into Sonic Perform Events No

Sonic, moves left and right, however, when he goes in contact with the block... It's like there's a force that PULLS him to the left, you can still move, but it's like playing on a tredmill.

Edited by Hahajiggly, 07 January 2012 - 11:00 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users