Arcade-re váltás
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import arcade
|
||||
import assets
|
||||
|
||||
def switch():
|
||||
@@ -6,7 +7,19 @@ def switch():
|
||||
def update(dt):
|
||||
pass
|
||||
|
||||
def draw(screen):
|
||||
screen.fill("blue")
|
||||
screen.blit(assets.sprites["louisu"], (0, 0))
|
||||
def draw(game):
|
||||
arcade.draw_rect_filled(
|
||||
arcade.LBWH(0, 0, game.screen_width, game.screen_height),
|
||||
arcade.color.BLUE,
|
||||
)
|
||||
|
||||
arcade.draw_texture_rect(
|
||||
assets.sprites["louisu"],
|
||||
arcade.LBWH(
|
||||
0,
|
||||
0,
|
||||
assets.sprites["louisu"].width,
|
||||
assets.sprites["louisu"].height
|
||||
),
|
||||
pixelated=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user