Exemple #1
0
'''
Created on 13 Jun 2015
The Trees Are Growing Once More
@author: NoNotCar
'''
import Object
import Entity
import Vehicles
import Img
import Buyers

trimg = Img.imgret2("Tree.png")


class Woodpile(Entity.ResourceB):
    img = Img.imgret2("Wood.png")
    value = 100
    name = "Woodpile"


class Paper(Entity.ResourceB):
    img = Img.imgret2("Paper.png")
    value = 15
    name = "Paper"


class WoodpileSp(Entity.ResourceB):
    img = Img.imgret2("WoodSp.png")
    value = 500
    name = "WoodpileSp"
Exemple #2
0
def imgref2(fil):
    return Img.imgret2("Fishery/"+fil)
Exemple #3
0
# Import non-image modules here
import pygame
import sys

# init video
pygame.init()
screen = pygame.display.set_mode((640, 640))

# image modules
import World
import Generators
import Img
import GUI
import Tutorial

pygame.display.set_icon(Img.imgret2("Monolith.png"))
pygame.display.set_caption("monolith")
numplayers = 1
wgen = 0
pset = 0
puzzles = 0
pnum = 0
c = pygame.time.Clock()
Img.musply("Planets/1. Mars.ogg")
nland = Img.imgret("NiceLand.png")
rgb = [200, 255, 255]
tick = 0
cont = True
kp = True
# titlescreen
srect = pygame.Rect(0, 0, 0, 0)