0 Favourites

Moving Platforms Example

This forum is currently in read-only mode.
  • Hello guys/girls!

    This is my own example that shows how to create moving platforms that makes your character rides on it. This is the link where you can download my "BAD" example and check it:

    http://www.mediafire.com/download.php?ldzjzzezdtt

    Well, check it and I'm waiting for your opinions and conclusions. Forgive me for my VERY BAD ENGLISH. I'm from Buenos Aires, Argentina hahaha.

    Bye'!

    Nicol�s

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • If you're going to manually move your platform objects you should check out the TimeDelta article on the wiki

  • Do you anderstand how does the platforms do to move?. I'd like that a behaviour called "Path movement" exists (Like in "Multimedia Fusion, The Games Factory, Klik & Play, Game Maker, etc.) It would make it more easy (The platform would move by following "Path Lines")

    Do you anderstand my little bAD EXAMPLE?

  • Yes, I understand it.

    You're moving your platforms manually, which means they may perform differently with slower/faster monitor refresh rates. In other words, you're doing it wrong

    The way you fix it is to use TimeDelta (which helps you maintain the proper speed on different computers), or use a behavior such as Bullet.

    Also, you have multiple detectors to bounce your platforms, and you're using a private variable to toggle their direction. You don't need to...

    Take a look at my Platform School tutorials for an example of how to make moving platforms in a more efficient and accurate manner, that requires fewer objects, events, and variables, and will run at a constant speed regardless of refresh rate. Moving platforms are covered in Lesson 4, but you might want to take lessons 1-3 first.

    As for Path movement, I believe there is a path object in the works that will be released in the future.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
564 105,216
rexrainbow's avatar
rexrainbow
Unread hot topic
0 Favourites
Tutorial: Platform School
267 93,737
Megabeard's avatar
Megabeard
Unread hot topic
0 Favourites
Examples & Tutorials List
110 211,340
abdalghani's avatar
abdalghani