move to level to level like Zelda

Get help using Construct 2

Post » Tue Feb 07, 2012 1:29 pm

ok....so in the first Zelda game when the player goes to a "door" at the corner of the screen the game would scroll to the next room or level. How do i go from level to level....the scrolling FX is not really needed.   (also how do i make a new level in the same editor screen) thanks....
B
4
G
2
Posts: 4
Reputation: 1,135

Post » Tue Feb 07, 2012 1:36 pm

I think the better way to make it is setting the Player X and Y everytime he touch the doors.

Don't forget to make save points and set the initial position each time the player save, or, set to save his position when he save the game (can be trick, if the player is near to die and save).

The mechanic behind it is strict like Game Maker, Indie Game Maker and RPG Maker.
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,213
Reputation: 18,484

Post » Thu Feb 16, 2012 1:31 pm

I have no idea what you mean.....is there a tutorial or a .caproj file??
B
4
G
2
Posts: 4
Reputation: 1,135

Post » Thu Feb 16, 2012 3:03 pm

Set up an invisible sprite to detect colission with the door and then use the system command "go to layout"
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Feb 16, 2012 3:15 pm

[QUOTE=Weishaupt] Set up an invisible sprite to detect colission with the door and then use the system command "go to layout"[/QUOTE]

Complete with:

>"Player" is overlapping "Invisible Sensor of Door"
>> "Player" Go To Layout "Layout 2";
>> "Player" Set initial position X and Y;
>> "Player" Set position X and Y;
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,213
Reputation: 18,484

Post » Thu Apr 12, 2012 4:43 pm

http://www.hbgames.org/forums/viewtopic.php?f=293&t=76279

onzephyr does it here, in his game Drunken Wizard. I couldn't figure out HOW he did it. But it allowed him to make the level very Zelda 1-like, and then have the screen pan from one room to another.

He was even super nice to have his .capx file there.

Any ideas?Cpryd0012012-04-12 16:45:30
B
20
S
5
G
5
Posts: 66
Reputation: 4,515

Post » Thu Apr 12, 2012 4:59 pm

Using a different layout for each room is the last thing you want to do here o.o;

Someone posted a zelda room + room transition example here a while back, but they didn't use delta time. Might try searching for it.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024


Return to How do I....?

Who is online

Users browsing this forum: alextro, h1k3 and 0 guests