コード例 #1
0
def create_world():
    global note_Ss, note_Ds, note_Fs, note_SPACEs, note_Js, note_Ks, note_Ls
    global machine_key, effect_1, effect_2, score_gauge, pdm, life_gauge, machine, score
    global plz, score
    score = Score()
    machine = Machine()

    Pdm_Note.note_reset()

    note_Ss = [Note_S() for i in range(Pdm_Note.note_s_size)]
    note_Ds = [Note_D() for i in range(Pdm_Note.note_d_size)]
    note_Fs = [Note_F() for i in range(Pdm_Note.note_f_size)]
    note_SPACEs = [Note_SPACE() for i in range(Pdm_Note.note_sp_size)]
    note_Js = [Note_J() for i in range(Pdm_Note.note_j_size)]
    note_Ks = [Note_K() for i in range(Pdm_Note.note_k_size)]
    note_Ls = [Note_L() for i in range(Pdm_Note.note_l_size)]

    frametime.frame_time = frametime.get_frame_time()
    frametime.current_time += frametime.frame_time

    machine_key = Machine_key()
    effect_1 = Effect_1()
    effect_2 = Effect_2()
    score_gauge = Score_gauge()
    pdm = Pdm()
    life_gauge = Life_gauge()
    plz = Plz()
コード例 #2
0
def update():
    global note_S, note_Ss, note_D, note_Ds, note_F, note_Fs, note_SPACE, note_SPACEs, note_J, note_Js, note_K, note_Ks, note_L, note_Ls
    global machine_key, effect_1, effect_2, score_gauge, pdm, life_gauge, machine_1
    global playtime

    frametime.frame_time = frametime.get_frame_time()
    frametime.current_time += frametime.frame_time

    for note_S in note_Ss:
        note_S.update()
    for note_D in note_Ds:
        note_D.update()
    for note_F in note_Fs:
        note_F.update()
    for note_SPACE in note_SPACEs:
        note_SPACE.update()
    for note_J in note_Js:
        note_J.update()
    for note_K in note_Ks:
        note_K.update()
    for note_L in note_Ls:
        note_L.update()

    if (playtime > 330.0):
        playtime = 0
        game_framework.push_state(result_state)
    delay(0.01)
    playtime += 0.05
コード例 #3
0
def update():
    global note_1_extreme, note_1s_extreme, note_2_extreme, note_2s_extreme, note_3_extreme, note_3s_extreme
    global note_4_extreme, note_4s_extreme, note_5_extreme, note_5s_extreme, note_6_extreme, note_6s_extreme, note_7_extreme, note_7s_extreme
    global machine_key_extreme, effect_1, effect_2, score_gauge, pdm, life_gauge, machine_1_extreme
    global playtime

    frametime.frame_time = frametime.get_frame_time()
    frametime.current_time += frametime.frame_time

    for note_1_extreme in note_1s_extreme:
        note_1_extreme.update()
    for note_2_extreme in note_2s_extreme:
        note_2_extreme.update()
    for note_3_extreme in note_3s_extreme:
        note_3_extreme.update()
    for note_4_extreme in note_4s_extreme:
        note_4_extreme.update()
    for note_5_extreme in note_5s_extreme:
        note_5_extreme.update()
    for note_6_extreme in note_6s_extreme:
        note_6_extreme.update()
    for note_7_extreme in note_7s_extreme:
        note_7_extreme.update()

    if (playtime > 330.0):
        playtime = 0
        game_framework.push_state(result_state)
    delay(0.01)
    playtime += 0.05
コード例 #4
0
def create_world():
    global note_1s_extreme, note_2s_extreme, note_3s_extreme, note_4s_extreme, note_5s_extreme, note_6s_extreme, note_7s_extreme
    global machine_key_extreme, effect_1, effect_2, score_gauge, pdm, life_gauge, machine_extreme, score
    global plz
    machine_extreme = Machine_extreme()

    Pdm_Note.note_reset()

    note_1s_extreme = [Note_1_extreme() for i in range(Pdm_Note.note_s_size)]
    note_2s_extreme = [Note_2_extreme() for i in range(Pdm_Note.note_d_size)]
    note_3s_extreme = [Note_3_extreme() for i in range(Pdm_Note.note_f_size)]
    note_4s_extreme = [Note_4_extreme() for i in range(Pdm_Note.note_sp_size)]
    note_5s_extreme = [Note_5_extreme() for i in range(Pdm_Note.note_j_size)]
    note_6s_extreme = [Note_6_extreme() for i in range(Pdm_Note.note_k_size)]
    note_7s_extreme = [Note_7_extreme() for i in range(Pdm_Note.note_l_size)]

    frametime.frame_time = frametime.get_frame_time()
    frametime.current_time += frametime.frame_time

    machine_key_extreme = Machine_key_extreme()
    effect_1 = Effect_1()
    effect_2 = Effect_2()
    score_gauge = Score_gauge()
    pdm = Pdm()
    life_gauge = Life_gauge()
    plz = Plz()
コード例 #5
0
def create_world():
    global note_Ss, note_Ds, note_Fs, note_SPACEs, note_Js, note_Ks, note_Ls, note_Ns
    global machine_key, effect_1, effect_2, score_gauge, fermion, life_gauge, machine, game_draw_font
    global plz, score
    score = Score()
    machine = Machine()

    Fermion_Note.note_reset()

    note_Ss = [Note_S() for i in range(Fermion_Note.note_s_size)]
    note_Ds = [Note_D() for i in range(Fermion_Note.note_d_size)]
    note_Fs = [Note_F() for i in range(Fermion_Note.note_f_size)]
    note_SPACEs = [Note_SPACE() for i in range(Fermion_Note.note_sp_size)]
    note_Js = [Note_J() for i in range(Fermion_Note.note_j_size)]
    note_Ks = [Note_K() for i in range(Fermion_Note.note_k_size)]
    note_Ls = [Note_L() for i in range(Fermion_Note.note_l_size)]

    frametime.frame_time = frametime.get_frame_time()
    frametime.current_time += frametime.frame_time
    life_gauge = Life_gauge()
    machine_key = Machine_key()
    effect_1 = Effect_1()
    effect_2 = Effect_2()
    score_gauge = Score_gauge()
    fermion = Fermion()