Skip to content

GUI UPDATE! - #6

Open
camillettss wants to merge 1 commit into
mainfrom
patch-v8.1
Open

GUI UPDATE!#6
camillettss wants to merge 1 commit into
mainfrom
patch-v8.1

Conversation

@camillettss

Copy link
Copy Markdown
Member

Graphical User Interface patch is finally here!

GUI

grid based, parser on the right and mouse drag&drop movement supported!

for row in range(COLUMN_COUNT):
    self.grid_sprites.append([])
    for column in range(ROW_COUNT):
        x = column * (WIDTH + MARGIN) + (WIDTH / 2 + MARGIN)
        y = row * (HEIGHT + MARGIN) + (HEIGHT / 2 + MARGIN)
        sprite = Tile()
        sprite.center_x = x
        sprite.center_y = y
        self.grid_sprite_list.append(sprite)
        self.grid_sprites[row].append(sprite)

making grid

parsers deprecation

a new error join the group, i will raise deprecation error if called an old command. if u type select it will raise a deprecation error cuz u can now use the mouse click.

class DeprecationError(DeprecationWarning, Exception):
    def __str__(self):
        return 'porco d10 fermete'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant