J
jakekravitss
Guest
I have a 2d game where the main menu is 2d. Clicking "play" goes to a loading screen room and shows a 3d starfield animation for a few seconds. After the few seconds I have it set to go to next room which is 2d. BUT when it does go to the next room, it kind of freezes, nothing on the screen, all black except on android it shows my on screen buttons which do nothing. This code here which is in my starfield object is causing the problem. Removing it fixes the issue but it makes my starfield not look right.
If you want I can post my whole code for the starfield.
Code:
d3d_start();
d3d_set_lighting(false);
d3d_set_culling(true);
d3d_set_fog(true,c_black,global.fog_near,global.fog_far);