RobLoach / Sokoban

Sokoban for Dinothawr
https://github.com/libretro/Dinothawr
Other
3 stars 0 forks source link

Automatically Port from .txt files #1

Open RobLoach opened 5 years ago

RobLoach commented 5 years ago

Would be really cool to automatically port .sok files over to the Tiled format: http://www.sourcecode.se/sokoban/levels

Original.txt

Originalxml.txt

RobLoach commented 5 years ago
    #####
    #   #
    #$  #
  ###  $##
  #  $ $ #
### # ## #   ######
#   # ## #####  ..#
# $  $          ..#
##### ### #@##  ..#
    #     #########
    #######
; 1

############
#..  #     ###
#..  # $  $  #
#..  #$####  #
#..    @ ##  #
#..  # #  $ ##
###### ##$ $ #
  # $  $ $ $ #
  #    #     #
  ############
; 2

        ########
        #     @#
        # $#$ ##
        # $  $#
        ##$ $ #
######### $ # ###
#....  ## $  $  #
##...    $  $   #
#....  ##########
########
; 3