This project is a FF-like RPG game created with python (pygame). As other games of the same type this game gives you a quest. In a medieval-fantastic world in danger because of darkness forces your quest is to exterminate these forces to bring back peace and freedom in the world. -
using SDL with pygame module. -
class TitleScreen(BaseScene):
"""
"""
def __init__(self):
BaseScene.__init__(self)
self.options = widget.ChoiceBox(["New Game", "Continue", "Options", "Quit Game"], (cts.WINDOW_SIZE_X//4, 2*cts.WINDOW_SIZE_Y//6, cts.WINDOW_SIZE_X//2, cts.WINDOW_SIZE_Y//2))
def action(self):
self.running = False
option = self.options.get()
if option == "Quit Game":
pygame.quit()
exit()
elif option == "New Game":
pass
elif option == "Continue":
pass
else:
pass
def up(self):
self.options.up()
def down(self):
self.options.down()
def render(self):
BaseScene.render(self)
font = pygame.font.SysFont("Arial", 32, bold=True, italic=True)
title = font.render(cts.GAME_TITLE, True, (255, 255, 255))
title_rect = title.get_rect(center=(cts.WINDOW_SIZE_X//2, cts.WINDOW_SIZE_Y//6))
self.surface.blit(title, title_rect)
self.options.blit(self.surface)
No installation created now but you can help by contributing on the project. -
GNU GPL © Lightpearl26