override public void Render(TgcFrustum frustum) { ClearScreen(); skyBox.Render(); drawer.BeginDrawSprite(); //drawer.DrawSprite(spriteSubnautica); drawer.DrawSprite(spriteBlackRectangle); drawer.DrawSprite(title); drawer.EndDrawSprite(); DrawTextSmall.drawText("Start", (int)x, yStartWord, colors[(int)pointer]); DrawTextSmall.drawText("Exit", (int)x, yStartWord + yOffset, colors[(((int)pointer) + 1) % 2]); DrawTextSmall.drawText("->", (int)x - 40, yStartWord + (int)pointer * yOffset, Color.OrangeRed); if (Cheats.GodMode) { this.DrawTextSmall.drawText("God Mode", 300, 300, Color.Gold); } if (Cheats.StartingItems) { this.DrawTextSmall.drawText("Starting items", 300, 360, Color.Gold); } }
private void Render() { preRender(); drawer2D.BeginDrawSprite(); drawer2D.DrawSprite(darknessCover); drawer2D.EndDrawSprite(); if (darknessTransparency == maxDarknessTransparency) { int x1 = Screen.Width / 2 - 110; int y1 = Screen.Height / 2 + 20; int x2 = Screen.Width / 2 - 260; int y2 = Screen.Height / 2 + 35; DrawTextBig.drawText("YOU DIED", x1, y1, Color.FromArgb((int)letterTransparency, 175, 0, 0)); DrawTextSmall.drawText("(Press Enter to go back to main menu)", x2, y2 + 60, Color.FromArgb((int)letterTransparency, 200, 200, 200)); } }