Translate to Python
Classes
  • Game
  • player
  • floor
  • background
  • background2
  • sword
  • testbackground
  • line
  • pig
  • arrow
  • hline
  • chest
  • Player2
  • slime
  • text
  • coin
  • box
  • life
  • grass
Rooms
  • level1
  • level2
  • level3
  • test_room
Sprites
  • Ninjaidle.png
  • floor.png
  • ninjarun.png
  • background.png
  • background2.png
  • blankBtest.jpeg
  • vline.png
  • editline.png
  • pigrun.png
  • arrow.png
  • chest.png
  • SwordSlash.png
  • texture0.png
  • slime.png
  • coin.png
  • Tbox.png
  • heart.png
  • grass.png
Sounds
  • sound0.wav
  • openchest.wav
Functions
    Start
    Loop
    Game Start
    Game Loop
    LOADING
    Console: