Multimedia Fusion 2 Tutorial #2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,233
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 18, 2010

This video covers grid, fast loops and object snapping. Useful for creating turn-based strategy, sim city style or real time strategy (RTS) games.

Download the .MFA file from this tutorial at: http://www.achronism.com/tutorials/tutorial2.mfa

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (achronism)

  • 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.

see all

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!

  • @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

  • 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?

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