HI got it this morning cheers.
what i started doing, was placing print statements, just to see what parts of the script were getting called.
started off just checking if functions were getting called. then seeing what parts were getting called.
got to the generate level function.
i could see the first one was getting called, which mean that the method is doing its thing. but it only fires when ground level is true.
noticed that the only optional bit to be created should be the ground, then it should create all the platforms.
but the whole section would only run if ground was true.
then i noticed this. just a slighty accidental wrong indent, and ive done it myself as well many times
the block of code i have highlighted, this was originally indented one tab further to the right, so it would only run when ground_level was true.
if you move this one tab to the left, the ground creation will be the optional, and all the other platform creation will always be done when called.
so if you highlight the block shown and press Shift+Tab, that should move it all one tab to the left and works correctly when i tried it.
Let us know how you get on
Darren