Page 2 of 2

Re: How can i do a level transition?

Posted: Thu Sep 26, 2013 8:38 pm
by Jeeper
Diehl wrote:Hello!

I am one of the people who are working with Jack in this game.

But we do not know really make a game. So we would like to know how we can do to add more levels in our game.

We have several versions of the game, each with a different level, but we do not know how to put it all together, do not know how to identify the player reached the end of the level, not as we do to end a level and start again.

Is there a simple way to do this?

Thank you for your attention.
If you want, feel free to add me on skype (simon rahnasto) and I can help you guys with stuff like this. :)

Re: How can i do a level transition?

Posted: Fri Sep 27, 2013 1:37 am
by davisdude
We can't truly help you without you posting the .love so we can truly help you.
But you can have a folder called 'maps'. In it have all the files (like map_1, etc.)
Then whenever you change levels, load that map.

Re: How can i do a level transition?

Posted: Fri Sep 27, 2013 8:03 am
by jjmafiae
Diehl wrote:Hello!

I am one of the people who are working with Jack in this game.

But we do not know really make a game. So we would like to know how we can do to add more levels in our game.

We have several versions of the game, each with a different level, but we do not know how to put it all together, do not know how to identify the player reached the end of the level, not as we do to end a level and start again.

Is there a simple way to do this?

Thank you for your attention.
use my code and read this if you don't know lua: Lua First Edition

Re: How can i do a level transition?

Posted: Mon Sep 30, 2013 12:02 am
by Diehl
I'm sorry, I forgot to post the game.
Attached is the "level 1".

Re: How can i do a level transition?

Posted: Mon Sep 30, 2013 12:37 am
by davisdude
Error:

Code: Select all

Main.lua line 14: file not found: entities.

Re: How can i do a level transition?

Posted: Mon Sep 30, 2013 1:44 am
by Diehl
Oh boy, another problem. =|

Now I think the file is right.

Re: How can i do a level transition?

Posted: Wed Oct 02, 2013 11:42 pm
by Diehl
Hello everybody.

I would like to say thank you to everyone who tried to help us solve our problem. We did it! ;)

Soon we will create a topic about our game with a playable demo.

Re: How can i do a level transition?

Posted: Wed Oct 02, 2013 11:45 pm
by davisdude
That's good. I attempted to help, but you're code is a bit over-complex IMHO. :P