Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Reyuu committed Aug 7, 2017
0 parents commit b582ac5
Show file tree
Hide file tree
Showing 14 changed files with 1,105 additions and 0 deletions.
674 changes: 674 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
![license](http://img.shields.io/badge/license-GPLv3-brightgreen.svg)
# Gestdraw
Basic slideshow program for gesture drawing, packaged into nice executable.

![image](https://dl.dropboxusercontent.com/s/kjeeoogdczdzvw7/python_2017-08-07_13-54-37.png)

Shortcuts:
* MOUSE functionality is available
* S to enter settings
* SPACE to pause timer
* LEFT/RIGHT to cycle backwards/forwards
* F5 to hide HUD indefinitly
* ESCAPE to exit

#### Requirements for python script
* python 3.5+
* pygame
* ezpygame
* tkinter
* cx_Freeze (for packaging)

To build executable simply run:
```bash
python setup.py build
```

Photo used by [lormet-images](http://lormet-images.deviantart.com/)
Binary file added cog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
381 changes: 381 additions & 0 deletions main.py

Large diffs are not rendered by default.

Binary file added pause.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pauseplay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added play.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import sys
from cx_Freeze import setup, Executable
import os

PYTHON_INSTALLATION = "%s/" % os.path.split(sys.executable)[0]
os.environ['TCL_LIBRARY'] = "%stcl/tcl8.6" % PYTHON_INSTALLATION
os.environ['TK_LIBRARY'] = "%stcl/tk8.6" % PYTHON_INSTALLATION
# Dependencies are automatically detected, but it might need fine tuning.
#build_exe_options = {"packages": ["os", "sys", "pygame", "ezpygame"], "excludes": ["tkinter"]} no
#build_exe_options = {"packages": ["os", "sys", "pygame", "ezpygame", "tkinter"]} still no

build_exe_options = {"includes": ["os", "sys", "pygame", "ezpygame", "random"], "include_files":["%sDLLs/tcl86t.dll" % PYTHON_INSTALLATION, "%sDLLs/tk86t.dll" % PYTHON_INSTALLATION], "optimize":2} # aw yis
# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if sys.platform == "win32":
base = "Win32GUI"

setup( name = "gestdera",
version = "00001",
description = "Gesture drawing app",
options = {"build_exe": build_exe_options},
executables = [Executable("main.py", base=base)])
Binary file added tick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added unpause.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b582ac5

Please sign in to comment.