[solved] Elevators

For questions about using Classic.

Post » Tue Sep 06, 2011 8:59 am

I have few problems with elevators... as you may see here. (Z to jump, up and down to move the elevator when it stops)

http://dl.dropbox.com/u/38398861/simple_elevator.cap


1. How do I prevent the player from ejecting the elevator up when it reach the blue stopper?

2. I have a stopper on the second elevator (the pink one) to stop the elevator half way, then I move this stopper up when I the elevator goes down. It works perfectly with one stopper, but with two stoppers, when I change the variable, both stoppers change, even though I picked the nearest one, and my second stopper is not going up... Do I need to create a different stopper for each stop, or is there a way to change the variable of the nearest stop only?sved2011-09-06 12:10:24
...but this is mostly psychological. Check my devlog
B
15
S
4
G
3
Posts: 258
Reputation: 2,850

Post » Tue Sep 06, 2011 9:22 am

Actually I forgot a control sprite there, I'm reuploading the file. Basically the problem now, is if I go up and down between the two center floors.

And I figure I could use a different stopper for top and bottom to prevent the first problem... but would there be a smarter way to do it?sved2011-09-06 09:24:24
...but this is mostly psychological. Check my devlog
B
15
S
4
G
3
Posts: 258
Reputation: 2,850

Post » Tue Sep 06, 2011 12:09 pm

Aaaand it seems I have solved all my problems.

Here is the cap if you're interested : http://dl.dropbox.com/u/38398861/not_so_simple_elevator.cap

I am still interested for a more elegant solution, but this one at least works ^^sved2011-09-06 12:13:39
...but this is mostly psychological. Check my devlog
B
15
S
4
G
3
Posts: 258
Reputation: 2,850


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests