rearragned project, removed unneeded game_files folder
@ -1,4 +1,4 @@
|
|||||||
"""Pocket Friends is a game where you raise your own little pocket friend! These pocket friends, called bloops,
|
"""Pocket Friends is a game where you raise your own little pocket friend! These pocket friends, called bloops,
|
||||||
are great little companions to have! You can feed them, play with them, and watch them grow up!"""
|
are great little companions to have! You can feed them, play with them, and watch them grow up!"""
|
||||||
|
|
||||||
__version__ = 'dev_0.0.3'
|
__version__ = 'dev_0.0.4'
|
||||||
|
@ -5,7 +5,7 @@ import os
|
|||||||
import pygame
|
import pygame
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import pocket_friends.game_files.game as game
|
import pocket_friends.game as game
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
enable_dev = False
|
enable_dev = False
|
||||||
|
@ -14,7 +14,7 @@ valid_surfaces = [
|
|||||||
# Add all the surface modules to a dictionary for easy switching
|
# Add all the surface modules to a dictionary for easy switching
|
||||||
surface_modules = {}
|
surface_modules = {}
|
||||||
for module in valid_surfaces:
|
for module in valid_surfaces:
|
||||||
surface_modules[module] = importlib.import_module('pocket_friends.game_files.surfaces.{0}'.format(module))
|
surface_modules[module] = importlib.import_module('pocket_friends.surfaces.{0}'.format(module))
|
||||||
starting_surface = 'title'
|
starting_surface = 'title'
|
||||||
|
|
||||||
# FPS for the game to run at.
|
# FPS for the game to run at.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 807 B After Width: | Height: | Size: 807 B |
Before Width: | Height: | Size: 610 B After Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 740 B After Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 736 B After Width: | Height: | Size: 736 B |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 422 B After Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 864 B After Width: | Height: | Size: 864 B |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 246 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 419 B After Width: | Height: | Size: 419 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@ -1,5 +1,7 @@
|
|||||||
import pygame
|
import pygame
|
||||||
from ..elements import sprites, surface
|
from pocket_friends.elements import sprites
|
||||||
|
from pocket_friends.elements import surface
|
||||||
|
|
||||||
|
|
||||||
class Surface(surface.GameSurface):
|
class Surface(surface.GameSurface):
|
||||||
def __init__(self, game_res, resources_dir, game_fps, **kwargs):
|
def __init__(self, game_res, resources_dir, game_fps, **kwargs):
|
@ -1,6 +1,5 @@
|
|||||||
import pygame
|
import pygame
|
||||||
from ..elements import surface
|
from pocket_friends.elements import surface
|
||||||
from pocket_friends.game_files.io.input_handler import InputHandler
|
|
||||||
|
|
||||||
|
|
||||||
class Surface(surface.GameSurface):
|
class Surface(surface.GameSurface):
|
@ -1,6 +1,6 @@
|
|||||||
import pygame
|
import pygame
|
||||||
from ..elements import sprites, surface
|
from pocket_friends.elements import sprites
|
||||||
from ..io.input_handler import InputHandler
|
from pocket_friends.elements import surface
|
||||||
|
|
||||||
|
|
||||||
class Surface(surface.GameSurface):
|
class Surface(surface.GameSurface):
|
@ -1,5 +1,5 @@
|
|||||||
import pygame
|
import pygame
|
||||||
from ..elements import surface
|
from pocket_friends.elements import surface
|
||||||
|
|
||||||
|
|
||||||
class Surface(surface.GameSurface):
|
class Surface(surface.GameSurface):
|