How do I make a Game with big Layout

Get help using Construct 2

Post » Mon Dec 03, 2012 8:08 pm

Hi,

I would like to make a game like Tiny Wings, and I have a question.

What is the best way to have a large World Level with a lot of stuff, I mean should I already allocate all the objects and giving a big size to my layout or create a normal size layout and adding objects programatically?

I ask this question because I have a CocoonJS performance issue and i'm thinking about a new way to display the game objects.

Thank you
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Mon Dec 03, 2012 10:00 pm

The second ... It is the best idea for performance and for confort
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Mon Dec 03, 2012 10:39 pm

Thanks for your answer.

Do you know if there's some kind of tutorial to do it?
I have a little idea but may be it's better if I ask experienced people.
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Tue Dec 04, 2012 2:00 am

This is a very advanced technique. Tiny Wings had the advantage of vecors and whatnot to make a single layout feasible. A long layout like this must be done programmatically in C2, which means you will need to be VERY comfortable with arrays and similar concepts.

Honestly, if you are a beginner this is unfortunately probably not the project you should be attempting at the moment.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,390

Post » Tue Dec 04, 2012 3:17 am

Randomly generated terrains made out of pre-made pieces being connected together. I would generate one level and delete the previous.

It's not that hard to think of how to generate the level actually.
Just to add, this concept is called Procedural Generation
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Tue Dec 04, 2012 7:37 am

Thanks,
It's not a problem for me, i like to learn and already have development skills.
For the moment I just want to place objects and extend the layout.
Is there a way to extend layout to the right when collapsing from the left?
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Sat Jul 19, 2014 12:36 pm

beufreecasse wrote:Thanks for your answer.

Do you know if there's some kind of tutorial to do it?
I have a little idea but may be it's better if I ask experienced people.



the game itself is verry easy to do! the problem is for more layouts or screen you wanna do! the more placement and positions you need to corectly spawn since you scrool to right side the screen or move the background to left1 depends on many aspects of how you wanna do the engine either is a programmed scrooling background! that make you feel your mooving , or you actually move and scrool screen to actor! but that will require you a huge amount of actors and a big layout placement tile! unless you calculate for each tile upfront where to be and when to spawn but i woldnt recomend the last one cause if your already in game and you start creating massive long maps! on mobile games will make your game crash! or freez till crasshes! so its possible but to take out the other problems that are involved in the programming itself! will be needing you to know alot more about programming! and c2! ( hope i dident been so harsh) the game itself should be simple to be done! but the optimization will be a pain in ass!
Do you have games and want to make money with them!? do you want more then pennis from ads you have in your games?! visit us today www.gcstudio.net and make money with your games!:)
B
14
S
2
Posts: 89
Reputation: 2,395

Post » Sat Jul 19, 2014 1:26 pm

@gamecorptm

Any particular reason for bringing up a topic from more than 1,5 years ago?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
53
S
16
G
8
Posts: 6,157
Reputation: 19,744

Post » Sun Jul 20, 2014 6:08 pm

LittleStain wrote:@gamecorptm

Any particular reason for bringing up a topic from more than 1,5 years ago?


somebody mentioned my name here! or smth got an alert on my inbox from this post sorry my bad dident read the time !
Do you have games and want to make money with them!? do you want more then pennis from ads you have in your games?! visit us today www.gcstudio.net and make money with your games!:)
B
14
S
2
Posts: 89
Reputation: 2,395


Return to How do I....?

Who is online

Users browsing this forum: Draconinho, LeFuji, plinkie, totoe and 18 guests