This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import * | |
from kandinsky import fill_rect as drawRect,draw_string as drawTxt,get_pixel as getPxl | |
from ion import keydown as key | |
from time import monotonic as cTime,sleep | |
from random import randint as rInt,seed as rSeed | |
TARG_SPF=0.02 #50fps | |
BG_COL,PL_COL,PTF_COL,NMY_COL,NMY_COL2,BLACK=(75,40,40),(240,10,10),(200,100,100),(0,150,255),(0,50,200),(0,0,0) | |
NAME,AUTH,START_MSG,EDITOR_URL=" R U | N "," by F | M E ","Press [OK] to start","/python/fime/ruin_lvl_maker" | |
class Entity(): | |
def __init__(it,x,y,w,h,drawFonc): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from micropython import *;from math import *;from kandinsky import *;from os import *;from ion import *;from time import *;from random import *;from matplotlib.pyplot import * | |
kbd_intr(KEY_ZERO) | |
bg=255 | |
ccl={ | |
0:color(0,0,0), | |
1:color(160,50,50), | |
2:color(255,0,0), | |
3:color(0,0,255) | |
#4:color(jn1.bg,jn1.bg,jn1.bg) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from games_engine_beta import * | |
from kandinsky import * | |
from random import * | |
from time import * | |
from ion import * | |
from os import * | |
global state, pts, theme, bg1, bg2, green, darkGreen, black | |
state = "menu" | |
pts = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_C=" Saison 2 : l'automne du monde " | |
_B=' -war just beggin...- ' | |
_A=' -Wood Ungear Liquid 3- ' | |
from math import * | |
from kandinsky import * | |
from ion import * | |
from time import * | |
from random import * | |
posxz=[] | |
posyz=[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_H=' winner ' | |
_G='HP : ' | |
_F=' critic ! ' | |
_E=' score : ' | |
_D=' ' | |
_C=' : ' | |
_B=False | |
_A=True | |
from math import * | |
from kandinsky import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from real_engine import * | |
from random import * | |
from time import * | |
from ion import * | |
# Colors | |
white = (255,255,255) | |
dark = (40, 40, 48) | |
black = (0,0,0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from math import * | |
from kandinsky import * | |
# ---------- Couleurs ---------- | |
black = (0,30,40) | |
gray = (180,180,200) | |
white = (255,255,255) | |
blue = (70,120,180) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Doodle Man ! | |
A doodle jump clone (eco +). | |
Written by Fime | |
08/01/2021 - V1.0 | |
""" | |
from random import randint | |
from ion import keydown as kDwn | |
from time import monotonic as mntnc,sleep | |
from kandinsky import fill_rect as rect, draw_string as text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kandinsky import fill_rect as krect, draw_string as text | |
from ion import keydown | |
from random import randint | |
from time import * | |
# Code by Fime, nsi.xyz/jetpackbird | |
SCREEN_W=320 | |
SCREEN_H=222 | |
GAME_W=200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# partie du script à ne pas modifier pour participer | |
# voir plus bas à compter de la ligne 202 | |
from kandinsky import set_pixel, fill_rect, draw_string | |
from ion import keydown | |
from math import pi, cos, sin, ceil | |
try: | |
from kandinsky import draw_line | |
except: |
NewerOlder