menu.py

Created by wperez274

Created on February 01, 2023

655 Bytes

Sample Menu


from math import *
from kandinsky import *
from ion import *
from time import *



def menu():

  fill_rect(0,0,322,222,(200,255,255))
  fill_rect(0,60,322,5,"gray")
  fill_rect(0,205,322,5,"gray")
  while 1:

    draw_string("//////[ GAME LAUNCHER ]///////",5,0,"white","blue")
    draw_string("***( PRESS A NUMBER: )***",20,35)
    draw_string("[0] for egor_0",45,80,"blue")
    draw_string("[1] for egor_1",45,110,"black")
    draw_string("[2] for egor_2",45,140,(0,100,0))


  
    if keydown(KEY_ZERO):
      from egor_0 import *
    if keydown(KEY_ONE):
      from egor_1 import *
    if keydown(KEY_TWO):
      from egor_2 import *

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.