Hi I was wondering if anyone could help me with the following in BB3. I want to create a level based game where the levels are randomised and the player cannot see the next level and only enters that level once they have gone through a finish line and then the actor is pushed forward to the end of the scene. However the problem with this is that when I previewed the game I could see all the other scenes I had setup in the game. So I thought I could instead do a menu jump via event observer but the problem with this is that I wouldn't be able to setup randomising scenes. Can someone please help?
you can make this code: let lvid = Math.random() *10+1; //random number 1 to 10 this.scene().addLevel(String(lvid)); // 1-10 your scene names
Not sure if this will help...but I "Think" it helped me...Try setting your "Adding Threshold" to a lower number...I changed mine to 250 and it kept the other scenes from being shown...not sure if this is the right fix or not...but worth a try... Russell
kash_kma: how did you get the menu jump to load next scene? Im trying to figure that out! Im doing a puzzel game and have a "level complete" UI when the puzzel is done but no matter how i try to jump to next scene section for the next puzzle i still end up on the start scene...