Skip to content

Commit

Permalink
Delete binaries and asset compile commands
Browse files Browse the repository at this point in the history
  • Loading branch information
disketflu committed Mar 24, 2022
1 parent 728b895 commit 55c7e29
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 23 deletions.
Binary file removed bin/assetc.exe
Binary file not shown.
Binary file removed bin/glfw3.dll
Binary file not shown.
Binary file removed bin/lua53.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
23 changes: 0 additions & 23 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,10 @@
from animations import *
import subprocess
import re
from tqdm import tqdm


# Compile assets:

# execute commande line and show stdout:
def run_command(exe):
def execute_com(command):
p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
return iter(p.stdout.readline, b'')

t = tqdm(total=100)
percent_prec = 0
for line in execute_com(exe):
if "Progress" in str(line):
percent = int(re.findall('\d*%', str(line))[0].split("%")[0])
t.update(percent - percent_prec)
percent_prec = percent


print("Compiling assets...")
run_command("bin\\assetc.exe assets assets_compiled -quiet -progress")

# Game vars
res_x, res_y = 1920, 1080


class Main:
flag_AAA = True
flag_start = False
Expand Down

0 comments on commit 55c7e29

Please sign in to comment.