1
Fork 0

rebranding the game

This commit is contained in:
Jake Howard 2015-05-14 13:20:33 +01:00
parent 42d74daaf8
commit a6c9e8100b
3 changed files with 6 additions and 6 deletions

8
GUI.py
View file

@ -12,10 +12,10 @@ PADDING_BUTTON = 9
class Main_Window: class Main_Window:
def __init__(self, master): def __init__(self, master):
self.master = master self.master = master
self.master.title("SPACE INVADERS") self.master.title("ATTACK ON BLOCKS")
self.title = Label(self.master) self.title = Label(self.master)
self.title.config(text="SPACE INVADERS!",font=("Courier New", 37)) self.title.config(text="ATTACK ON BLOCKS!",font=("Courier New", 37))
self.title.pack(side="top", padx=PADDING_BUTTON, pady=PADDING_TITLE/2) self.title.pack(side="top", padx=PADDING_BUTTON, pady=PADDING_TITLE/2)
self.start_button = Button(self.master, style="Menu.TButton") self.start_button = Button(self.master, style="Menu.TButton")
@ -56,7 +56,7 @@ class Main_Window:
def show_info(self, event): def show_info(self, event):
logging.info("Loading About Page...") logging.info("Loading About Page...")
system("start https://bitbucket.org/theorangeone/space-invaders/wiki/Home") system("start https://bitbucket.org/theorangeone/attack-on-blocks/wiki/Home")
def close(self, event): def close(self, event):
logging.critical("Closing Main Window.") logging.critical("Closing Main Window.")
@ -74,7 +74,7 @@ class Options_Window:
def display(self, master): def display(self, master):
self.master = master self.master = master
self.master.title("SPACE INVADERS - Options") self.master.title("ATTACK ON BLOCKS - Options")
self.title = Label(self.master) self.title = Label(self.master)
self.title.config(text="OPTIONS",font=("Courier New", 37)) self.title.config(text="OPTIONS",font=("Courier New", 37))

View file

@ -1,3 +1,3 @@
print("Starting Space Invaders...\nLoading Main Window...") print("Starting Attack on Blocks...\nLoading Main Window...")
import GUI import GUI
GUI.display() GUI.display()

View file

@ -1,4 +1,4 @@
# Space Invaders # # Attack on Blocks #
This take on space invaders was written for my IT BTEC course, Unit 21 Games Development at college. This version, written in python, includes more advanced features such as resource packs. This take on space invaders was written for my IT BTEC course, Unit 21 Games Development at college. This version, written in python, includes more advanced features such as resource packs.