Added: 1 year ago
From: achronism
Views: 1,182
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • Hey, this is great. I love these tutorials, where you dig beneath the surface of the basic tools to do math-oriented alternates. This is really how to learn the software!

    Please release more!

  • can't you just use the Grid object?

  • @Terror3659 I assume so, however many extensions including the Grid object aren't compatible with new exports such as the Flash runtime and upcoming iPhone runtime. It's much better to teach theory than just say 'here drag in a few objects and viola'. I advise the people program with the least number of extensions as possible to export to multiple platforms without hassle.

  • For some reason when I do the tutorial the House always is on my mouse even before I press space or any other button I map to that function. Not sure what I could have missed. And on a side note, how do you add extra directions to an Active object.

  • @Amplecan Have you tried downloading the example file? (as in the video description) and checking for differences between my example and your file? To add extra directions, double click on your active object to open the animation editor, then you'll see a little sliding bar underneath your direction wheel. By sliding this bar across, you can change from 4 directions up to 32.

  • When I do the XSize*YSize it says it can't understand my expression >_>

  • @Zambaku XSize and YSize are Global Variables I used to make my grid, you should beable to reference these if you've set them up in your game. If you wanted to use actual numbers, you could type 10*10, but I advise you set up global variables. Search to MMF help to find out about Global Variables. GridSpacing should be 32 if you're following my example file, but I suggest you set up a globabl variable for this too.

  • Cool, this is very helpfull, thanks! =D

    However, I have one question that is semi-related. I'm working on a game, and it uses the pathfinding object to create random mazes. I want objects to be placed at random but still snap to the grid, how would I achieve that?

  • @Zambaku Create Object at 0,0

    Set X Position to random(XSize)*GridSpacing

    Set Y Position to random(YSize)*GridSpacing

    repeat for as many objects as you need placed

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more