Angry Birds - Menu and Levels Database template

Just to help get to the bottom of this I’ve attached two s/shots. This was from a ‘first run’

1 - shows the levels screen (with a total of 11 stars in episode 1)

2 - shows the subsequent menu screen (with a total of 13 stars for same episode)

Incidentally, I couldn’t repro this for Episode 2 which seemed to work perfectly.

Kevin

Kevin,

Thanks for that, I’ll take a look and see if there’s a gremlin somewhere. 

Nick

This might help…

If you hit ‘complete level’ in game.lua then return to the levels.lua then a single star is displayed. This doesn’t register when you return back to menu. It seems that only 2 or 3 stars increment episodes star value.

I’ve modified the logic somewhat for my own game with a score delivering either fail, 1*, 2* or 3* rather than a score necessarily equating to level ‘completion’ but I have an idea of where to focus now.

All good fun :smiley:

Bought this template, doesn’t run even after adding GGData.lua.

Sent 2 Emails, no answer. 

Oh well.

E-mail sent - apologies I am currently in Egypt so haven’t been checking e-mails.

I am also having problems and I am using Corona Build 2013.1076 build.  I have emailed otterstudios@hotmail.co.uk with no reply.  Can someone post the updated changes.

Hi, can you PM me your e-mail address and I’ll send the update file ASAP.

Thanks Nick for your speedy reply my email: philip@mobilesoftwarehouse.com

Thanks for update everything works and looks great.  

This does exactly what I am looking for.  Thanks again

Bought this template, doesn’t run even after adding GGData.lua.

Sent 2 Emails, no answer. 

Oh well.

E-mail sent - apologies I am currently in Egypt so haven’t been checking e-mails.

Hi, thank you for sharing this template. However, I am receiving this error:

055b5338193c6c10f63180f225f7c41d.png

How can I go about amending this? I have added GGData and have the updated main.lua file. Thanks.

Hi,

Did you replace main.lua file with the file I sent you? It was the menu.lua file that should be replaced, not main.lua.

Can you try unpacking the files again to a fresh folder and replace the menu.lua file only>

Nick

Oh yes, sorry I accidently replaced the wrong file. Thanks again, it works perfectly now :slight_smile:

Looking good!

Any plans on making a little Video-Preview?

I am also having problems and I am using Corona Build 2013.1076 build.  I have emailed otterstudios@hotmail.co.uk with no reply.  Can someone post the updated changes.

Hi, can you PM me your e-mail address and I’ll send the update file ASAP.

Thanks Nick for your speedy reply my email: philip@mobilesoftwarehouse.com

Thanks for update everything works and looks great.  

This does exactly what I am looking for.  Thanks again

Hi, I was wondering if anyone could tell me the best place to put my game code. For starters I would just like to do something simple such as display a background image after the ‘loading’ message appears when you select a level to play.

Also what can I do so that each level has it’s own function?

Thanks.