Multiple-Rooms Layout Template (Game Templates)

Discuss Scirra's 2D Asset Store

Post » Tue Oct 25, 2016 9:33 am

Image

Multiple-Rooms Layout Template — Now for sale in the Scirra Store!

Hello everyone!

Here is the topic of my first asset : The Multiple-Rooms Layout Template. I made it in response to an issue that Scirra comrade Smileh had. The idea is to allow one to create the illusion of multiples layouts although there is only one. That is pretty useful for old-school platformer for example : it helps to build a coherent whole level instead of creating too much small layouts disconnected from each others. In fact, a lot of actual games are made this way, and not only platformers, like Zelda.
Anyway, the method I used is really user-friendly : You visually create your rooms with objects, and then the events handle the camera for a perfect illusion! You just have to respect some basic rules (given in the documentation) to make it work.

Try out the demo to see what it looks like in game!

Thanks to Kenney for his graphics that I used in my template! I think everybody recognize them anyway. :P

And that's all! Thanks for reading, and keep up creating!
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696

Post » Tue Oct 25, 2016 10:21 am

This is a great stuff. Can't wait to test it on my project.

I would like one addiction tho. It needs some layout transition whenever the camera switches to create the actual change layout effect.
B
14
S
5
Posts: 248
Reputation: 1,705

Post » Tue Oct 25, 2016 10:44 am

Thanks Smileh!

You're right, I share a word about that in the documentation. In fact, I had mixed feelings between the fact that I didn't want the time to stop on transition, and the fact that it is a real pain to not do so. :P Maybe I'll quickly add first option for now, and keep thinking about a better way. ;)
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696

Post » Wed Oct 26, 2016 10:31 am

I'd like to see this applied to other user's projects. My time is very limited and right now I can't afford to adjust this to my project.
B
14
S
5
Posts: 248
Reputation: 1,705

Post » Wed Nov 16, 2016 6:11 pm

NEW VERSION : v1.1
    * Possibility of smooth transition added : With the layoutRooms' "scrollSpeed" instance variable, you can decide whether the transition is instantaneous, or smooth with a movement of scrollSpeed pixels per seconds
    * Added players' "outside" instance variable and OutsideTile object allowing you to define when the player goes out of your layoutRooms (fall in a trap for example).

NEW VIDEO : HOW IT WORKS, HOW TO IMPORT?
You can check the new video about the general description of the template, how it works, and how to import it in your project! Hope it will help you to have a better idea of it before making your choice! I apologize for the audio, and the english subtitles. If the video is really not clear or understandable, please tell me!

See you!
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696

Post » Wed Nov 16, 2016 6:31 pm

hello,
it seems that you video is private use only on youtube?
B
79
S
28
G
108
Posts: 194
Reputation: 59,906

Post » Wed Nov 16, 2016 6:47 pm

totoe wrote:hello,
it seems that you video is private use only on youtube?

Woops! That's fixed. Thank you @totoe. :P
Image
B
10
S
3
G
2
Posts: 68
Reputation: 1,696


Return to Scirra Store

Who is online

Users browsing this forum: pkerry and 0 guests