-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoutput.py
More file actions
40 lines (31 loc) · 1.32 KB
/
output.py
File metadata and controls
40 lines (31 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import time
class AppInfo: # formats information about Main.py
def __init__(self, devs, ver):
self.authors = devs
self.version = ver
self.app_data = 'Authors: {} | ' \
'Version: {} | ' \
.format(devs, ver)
data = AppInfo('Christian Diaz', 'v2.0 Beta')
print('GitHub Link: https://github.com/chrisd149/Cog-Customization')
print(data.app_data)
print('Thanks for playing!')
# creates a game log file if it already isn't made
log = open("game_log.txt", "w+")
# program specs
# version
log.write("Cog Customization ")
log.write(data.version + "\n")
# authors
log.write("Authors: ")
log.write(data.authors + "\n")
# misc
log.write("Game Engine: Panda3D 1.10.2\n\
Programming Language: Python 3.7.2\n\
Language: English\n \n")
# short summery of project
log.write("This is a simple interactive Panda3D project using Python 3.7.2.\n\
This game lets you customize a Big Cheese cog via DirectButtons and functions.\n\
This game uses several assets made by the Disney Interactive Media Group and Toontown Rewritten\n\
and all credit goes to both entities for all models, images, sounds used in this project.\n\
The project's main page is at https://github.com/chrisd149/Cog-Customization")