If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2004
    Member #
    I want to make a movieclip move towards a specific _x _y position, and with hittests i want to make sure that he stays within the "walls"..

    is there an more simple way to do that, exept a bunch of if's like this one:

    onClipEvent (enterFrame) {
    if (this._y<262) {
    _y += 3;



  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Boston, MA
    Member #
    205 times
    you could create functions that do all your processing to simplify your scripting. Other than that, you're pretty much stuck with what you've got.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 08:33 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: