Forum Topic: boundaries

(207 views • 3 replies)

This topic is 1 page long.

<< < > >>
Questioning

snoop-e

Reply To Post Reply & Quote

Posted at: 3/3/01 01:22 PM

snoop-e NEUTRAL LEVEL 04

Sign-Up: 11/24/00

Posts: 5

Alright I've got a particular movie clip which can move about with the arrow keys. However I want it so that when it reaches a point on the stage it can't move any further in that direction, even though the movie clip is still on the screen, similar to that in toms samurai game and space shooter. If anyone can help, it would be much appreciated!!!


None

EntropicOrder

Reply To Post Reply & Quote

Posted at: 3/7/01 02:16 AM

EntropicOrder NEUTRAL LEVEL 10

Sign-Up: 04/21/00

Posts: 1,318

If there is just 1 to 4 lines keeping the object, then just use if statements in the buttons testing if /object:_x>0 or something, then move it. Otherwise, it's kind of complicated, because you'll have to set up a bunch of hidden movie clips that you have to call each time you move. Email me if you need more help.

My original game site: EntropicOrder.net
My kid friendly animal themed game site: PlushQuest.com
Our large stuffed animal online store: MyBigPlush.com


None

thisisnotmike

Reply To Post Reply & Quote

Posted at: 3/7/01 09:52 AM

thisisnotmike NEUTRAL LEVEL 11

Sign-Up: 08/26/00

Posts: 627

I usually just make the position controlled by two text variables for x and y and if the variable equals whatever it does whatever action

The reason I do it that way is it's alot easier to calculate the crap. You just have to move the guy to whatever position, see what the variable is, put that in, and when you're done move the text fields off screen.

I know that might not sound right, but I'm not very well right now and my thinkingisn't very coherant at the moment.


None

the-anti-stick

Reply To Post Reply & Quote

Posted at: 8/10/06 05:00 PM

the-anti-stick DARK LEVEL 09

Sign-Up: 06/08/06

Posts: 342

dont know take their advice


All times are Eastern Standard Time (GMT -5) | Current Time: 01:33 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!