Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
* Add build instructions
  • Loading branch information
Hairash committed Mar 2, 2024
1 parent 024d1b1 commit e2a4f16
Show file tree
Hide file tree
Showing 41 changed files with 26 additions and 178 deletions.
22 changes: 22 additions & 0 deletions build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# How to build app

## For MacOS
**Prepare to build**
1. Change version in setup.py
```
'CFBundleShortVersionString': '1.0.1',
'CFBundleVersion': '1.0.1',
```
1. Change icon, if needed
`'iconfile': 'croco.icns',`
**Building**
1. Run py2app
`python setup.py py2app`
1. Move all the game files (images, sounds) to the app
## For Windows
1. Run pyinstaller
`pyinstaller --onefile --noconsole --icon=croco.ico main.py`
1. Move all the game files (images, sounds) to the the same folder as .exe file
Binary file added croco.ico
Binary file not shown.
Binary file removed images/field/field illustration.png
Binary file not shown.
Binary file removed images/field/field.png
Binary file not shown.
Binary file removed images/field/line.png
Binary file not shown.
Binary file removed images/field/sunny.png
Binary file not shown.
Binary file removed images/work_materials/background.png
Binary file not shown.
Binary file removed images/work_materials/codile.png
Binary file not shown.
Binary file removed images/work_materials/croc_down.png
Binary file not shown.
Binary file removed images/work_materials/croc_left.png
Binary file not shown.
Binary file removed images/work_materials/croc_right.png
Binary file not shown.
Binary file removed images/work_materials/croc_up.png
Binary file not shown.
Binary file removed images/work_materials/minus0.png
Binary file not shown.
Binary file removed images/work_materials/old digits/0.png
Binary file not shown.
Binary file removed images/work_materials/old digits/1.png
Binary file not shown.
Binary file removed images/work_materials/old digits/2.png
Binary file not shown.
Binary file removed images/work_materials/old digits/3.png
Binary file not shown.
Binary file removed images/work_materials/old digits/4.png
Binary file not shown.
Binary file removed images/work_materials/old digits/5.png
Binary file not shown.
Binary file removed images/work_materials/old digits/6.png
Binary file not shown.
Binary file removed images/work_materials/old digits/7.png
Binary file not shown.
Binary file removed images/work_materials/old digits/8.png
Binary file not shown.
Binary file removed images/work_materials/old digits/9.png
Binary file not shown.
Binary file removed images/work_materials/old labels/level.png
Binary file not shown.
Binary file removed images/work_materials/old labels/steps.png
Binary file not shown.
176 changes: 0 additions & 176 deletions images/work_materials/plus.svg

This file was deleted.

Binary file removed images/work_materials/plus0.png
Binary file not shown.
Binary file removed images/work_materials/steps2.png
Diff not rendered.
Binary file removed images/work_materials/true_cr.png
Diff not rendered.
Binary file removed images/work_materials/true_crocodile.png
Diff not rendered.
1 change: 1 addition & 0 deletions requirements-dev-mac.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
py2app
1 change: 1 addition & 0 deletions requirements-dev-win.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pyinstaller
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
'plist': {
'CFBundleName': 'Croco game',
'CFBundleDisplayName': 'Croco game',
'CFBundleShortVersionString': '1.0.0',
'CFBundleVersion': '1.0.0',
'CFBundleShortVersionString': '1.0.1',
'CFBundleVersion': '1.0.1',
},
},
},
Expand Down
Binary file removed sound/work materials/Main bass draft.mp3
Binary file not shown.
Binary file removed sound/work materials/Мэк.mp3
Binary file not shown.
Binary file removed sound/work materials/Мяк.mp3
Binary file not shown.
Binary file removed sound/work materials/Нэк.mp3
Binary file not shown.
Binary file removed sound/work materials/Оак.mp3
Binary file not shown.
Binary file removed sound/work materials/Рм.mp3
Binary file not shown.
Binary file removed sound/work materials/Уаа.mp3
Binary file not shown.
Binary file removed sound/work materials/Шух.mp3
Binary file not shown.

0 comments on commit e2a4f16

Please sign in to comment.