Skip to content

Commit

Permalink
1.6.5.2
Browse files Browse the repository at this point in the history
Release 1.6.5.2
  • Loading branch information
JustRedTTG committed Dec 18, 2020
1 parent 283d48e commit 89c9a73
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion pygameextra/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pygameextra
Version: 1.6.5.1
Version: 1.6.5.2
Summary: pygame extra is a mask for pygame, you can easily make complex games and or apps with much less lines then you would of before, Pygame Extra makes coding easier. The online documentation can be found at: https://pygame-extra.readthedocs.io/en/latest/
License: BSD-3-Clause
Author: RedstoneHair
Expand Down
2 changes: 1 addition & 1 deletion pygameextra/pygameextra/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


# DEVELOPER OPTIONS!
__version__ = "1.6.5.1" # developers, please change this accordingly when developing!
__version__ = "1.6.5.2" # developers, please change this accordingly when developing!
modified = False # developers, please set this to True when developing!
# DEVELOPER OPTIONS!

Expand Down
28 changes: 14 additions & 14 deletions pygameextra/pygameextra/build/scripts-3.8/pygameextra-tester
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
import pygameextra as pe
pe.init()
pe.display.make((500,500), "PGE Testing Utility", 0)

sp = pe.scriptpath+"examples/tester/"
#button images
bX = pe.image("Xbutton.png", size=(100, 100), position=(100, 0))
bX2 = pe.image("Xbutton.png", size=(10, 10), position=(100, 0))
sX = pe.image("Xbutton.png", size=(20, 20), position=(100, 0))
bY = pe.image("YButton.png", size=(100, 100), position=(100, 0))
bY2 = pe.image("YButton.png", size=(10, 10), position=(100, 0))
bX = pe.image(sp+"Xbutton.png", size=(100, 100), position=(100, 0))
bX2 = pe.image(sp+"Xbutton.png", size=(10, 10), position=(100, 0))
sX = pe.image(sp+"Xbutton.png", size=(20, 20), position=(100, 0))
bY = pe.image(sp+"Ybutton.png", size=(100, 100), position=(100, 0))
bY2 = pe.image(sp+"Ybutton.png", size=(10, 10), position=(100, 0))

s1 = pe.Sprite(pe.sheet("rows.png", (16, 16), pe.sheet.rows), (250, 250), (0, 0), pivot="topleft") # rows sprite
s2 = pe.Sprite(pe.sheet("columns.png", (32, 32), pe.sheet.columns), (250, 250), (250, 0), pivot="topleft") # columns sprite
s1 = pe.Sprite(pe.sheet(sp+"rows.png", (16, 16), pe.sheet.rows), (250, 250), (0, 0), pivot="topleft") # rows sprite
s2 = pe.Sprite(pe.sheet(sp+"columns.png", (32, 32), pe.sheet.columns), (250, 250), (250, 0), pivot="topleft") # columns sprite

# Resized sprites
s3 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((0, 250, 125, 125))) # resized sprite 1
s3 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((0, 250, 125, 125))) # resized sprite 1
s3.size = 0.5

s4 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((125, 250, 125, 125))) # resized sprite 2
s4 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((125, 250, 125, 125))) # resized sprite 2
s4.size = 0.25

s5 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((0, 375, 125, 125))) # resized sprite 3
s5 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((0, 375, 125, 125))) # resized sprite 3
s5.size = 0.1

s6 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((125, 375, 125, 125))) # resized sprite 4
s6 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((125, 375, 125, 125))) # resized sprite 4
s6.size = 0.05

s7 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((250, 250, 250, 250)), 90, pivot="center") # rotated sprite
s7 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((250, 250, 250, 250)), 90, pivot="center") # rotated sprite
# init sprites
s1.init()
s2.init()
Expand Down Expand Up @@ -212,4 +212,4 @@ while True:
pe.draw.circle(pe.color.white, pe.math.center((0,0,pe.display.get.size()[0],pe.display.get.size()[1])), 5, 5)
if test != "testall":
pe.display.update()
pe.time.tick(200)
pe.time.tick(200)
Binary file modified pygameextra/pygameextra/dist/pygameextra_pong-0.0.0-py3.8.egg
Binary file not shown.
Binary file modified pygameextra/pygameextra/dist/pygameextra_tester-0.0.0-py3.8.egg
Binary file not shown.
28 changes: 14 additions & 14 deletions pygameextra/pygameextra/examples/tester/pygameextra-tester
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
import pygameextra as pe
pe.init()
pe.display.make((500,500), "PGE Testing Utility", 0)

sp = pe.scriptpath+"examples/tester/"
#button images
bX = pe.image("Xbutton.png", size=(100, 100), position=(100, 0))
bX2 = pe.image("Xbutton.png", size=(10, 10), position=(100, 0))
sX = pe.image("Xbutton.png", size=(20, 20), position=(100, 0))
bY = pe.image("YButton.png", size=(100, 100), position=(100, 0))
bY2 = pe.image("YButton.png", size=(10, 10), position=(100, 0))
bX = pe.image(sp+"Xbutton.png", size=(100, 100), position=(100, 0))
bX2 = pe.image(sp+"Xbutton.png", size=(10, 10), position=(100, 0))
sX = pe.image(sp+"Xbutton.png", size=(20, 20), position=(100, 0))
bY = pe.image(sp+"Ybutton.png", size=(100, 100), position=(100, 0))
bY2 = pe.image(sp+"Ybutton.png", size=(10, 10), position=(100, 0))

s1 = pe.Sprite(pe.sheet("rows.png", (16, 16), pe.sheet.rows), (250, 250), (0, 0), pivot="topleft") # rows sprite
s2 = pe.Sprite(pe.sheet("columns.png", (32, 32), pe.sheet.columns), (250, 250), (250, 0), pivot="topleft") # columns sprite
s1 = pe.Sprite(pe.sheet(sp+"rows.png", (16, 16), pe.sheet.rows), (250, 250), (0, 0), pivot="topleft") # rows sprite
s2 = pe.Sprite(pe.sheet(sp+"columns.png", (32, 32), pe.sheet.columns), (250, 250), (250, 0), pivot="topleft") # columns sprite

# Resized sprites
s3 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((0, 250, 125, 125))) # resized sprite 1
s3 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((0, 250, 125, 125))) # resized sprite 1
s3.size = 0.5

s4 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((125, 250, 125, 125))) # resized sprite 2
s4 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((125, 250, 125, 125))) # resized sprite 2
s4.size = 0.25

s5 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((0, 375, 125, 125))) # resized sprite 3
s5 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((0, 375, 125, 125))) # resized sprite 3
s5.size = 0.1

s6 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((125, 375, 125, 125))) # resized sprite 4
s6 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((125, 375, 125, 125))) # resized sprite 4
s6.size = 0.05

s7 = pe.Sprite("mario_01.png", (250, 250), pe.math.center((250, 250, 250, 250)), 90, pivot="center") # rotated sprite
s7 = pe.Sprite(sp+"mario_01.png", (250, 250), pe.math.center((250, 250, 250, 250)), 90, pivot="center") # rotated sprite
# init sprites
s1.init()
s2.init()
Expand Down Expand Up @@ -212,4 +212,4 @@ while True:
pe.draw.circle(pe.color.white, pe.math.center((0,0,pe.display.get.size()[0],pe.display.get.size()[1])), 5, 5)
if test != "testall":
pe.display.update()
pe.time.tick(200)
pe.time.tick(200)
6 changes: 3 additions & 3 deletions pygameextra/pygameextra/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import requests
import pygame, pygame.display
from os import system, path, mkdir
address = "https://redstonehair.000webhostapp.com/pygame%20extra/1.6.5.1/files/"
address = "https://redstonehair.000webhostapp.com/pygame%20extra/1.6.5.2/files/"
scriptpathf = str(path.realpath(__file__)).replace("install.py",'')
def download(link):
global scriptpathf
Expand All @@ -12,7 +12,7 @@ def download(link):
c = requests.get(address+link,timeout=5)
open(str(path.realpath(__file__)).replace("install.py",'')+link, "wb").write(c.content)

def install(scriptpath, progress=0, __version__="1.6.5.1"):
def install(scriptpath, progress=0, __version__="1.6.5.2"):
"""install(progress, scriptpath, version) -> None
Installs Pygame Extra's additional resources
"""
Expand Down Expand Up @@ -138,4 +138,4 @@ def install(scriptpath, progress=0, __version__="1.6.5.1"):
open(scriptpath + "files/install.info", "w").write("installed")
else:
open(scriptpath + "files/install.info", "w").write("in " + str(progress))
pygame.time.Clock().tick(160)
pygame.time.Clock().tick(160)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion pygameextra/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "PygameExtra"
version = "1.6.5.1"
version = "1.6.5.2"
description = "pygame extra is a mask for pygame, you can easily make complex games and or apps with much less lines then you would of before, Pygame Extra makes coding easier. The online documentation can be found at: https://pygame-extra.readthedocs.io/en/latest/"
authors = ["RedstoneHair"]
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion pygameextra/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup_kwargs = {
'name': 'pygameextra',
'version': '1.6.5.1',
'version': '1.6.5.2',
'description': 'pygame extra is a mask for pygame, you can easily make complex games and or apps with much less lines then you would of before, Pygame Extra makes coding easier. The online documentation can be found at: https://pygame-extra.readthedocs.io/en/latest/',
'long_description': None,
'author': 'RedstoneHair',
Expand Down

0 comments on commit 89c9a73

Please sign in to comment.