Scene Doesn't Change After Certain Level Number? (Table Generated Levels)

Hi Guys,

I'm working on a game which contains 2 scenes, 1 for the main menu and another for all levels, which are generated through tables. There are 40 levels, and as soon as I hit level 31, the scene will not change over. Each Level requires 6 columns and 60 rows of data, the 31st level should be calling up info from columns 181-186. As soon as the Black Screen overlays the menu, I set a rule to simply Change Scene, which works for all levels up to 31? Nothing special happens at 31, it simply doesn't want to change the scene, you can hear the music from that scene playing through but it just doesn't switch over?

Can anyone shed some light on this issue? I've attached a video to demonstrate, I first select level 30 to demonstrate the scene switching over, and then go back and try level 31, where you will notice the scene doesn't change.









Comments

  • MantoManto Member Posts: 796
    Usually this kind of issue happens for me either when trying to get a value outside the table or when an attribute is set to nothing. Are you sure the table is big enough? Also you could check through the actors and fix the empty fields if there's any.
  • EIGHTHSINEIGHTHSIN Member Posts: 132
    @Manto1 Cheers for your reply, I've looked at the data entered in columns 181-186, it all seems to be fine, the table size is 391x60 so I am not pulling up info outside of the range. I did a further check by copying columns 181-186 into columns 1-6, which is the data for level 1, and this opened up just fine, the issue is only when the level number is 31 and pulling info from 181-186.

    Can anyone help?
  • EIGHTHSINEIGHTHSIN Member Posts: 132
    I've used a workaround that is doing the job, however it has required me to shift the level data around and read from new positions for levels 31+. If anyone has any ideas why this might be happening please do fire away with your thoughts...
  • K1dTrunksK1dTrunks PRO Posts: 55
    I don't know but I wanted to say this game looks great! (At least from what I can see here) Does it have a name yet?

Sign In or Register to comment.