Skip to content

Commit

Permalink
first release
Browse files Browse the repository at this point in the history
  • Loading branch information
kerodekroma authored and Andrés Muñoz committed Feb 12, 2024
0 parents commit c33ecbe
Show file tree
Hide file tree
Showing 9 changed files with 531 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true

# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
42 changes: 42 additions & 0 deletions .github/workflows/build_pygame.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build this project using Pygbag
on:
push:
branches:
- main

jobs:
build:
name: building project
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: checkout
uses: actions/[email protected]
with:
persist-credentials: false
fetch-depth: 0

- name: build
run: |
echo "Installing pygbag"
python3 -m pip install pygbag
echo "pygbag success!"
echo "building the project"
python3 -m pygbag --build $GITHUB_WORKSPACE/main.py
echo "DONE"
zip -j -r python_pygame_loader_demo.zip build/web
- name: Generate release tag
id: generate_release_tag
uses: alexvingg/[email protected]
with:
github_token: ${{ secrets.GH_CREDENTIALS }}
tag_prefix: ""

- name: Create Release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GH_CREDENTIALS }}
tag: ${{ steps.generate_release_tag.outputs.release_tag }}
artifacts: python_pygame_loader_demo.zip
25 changes: 25 additions & 0 deletions .github/workflows/publish_itchio.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Publish to itch.io"
on:
release:
types: [published]
jobs:
release_html:
runs-on: ubuntu-latest
name: fecth from GITHUB
steps:
- name: download zip file
id: download-html
uses: dsaltares/fetch-gh-release-asset@master
with:
file: python_pygame_loader_demo.zip
env:
GITHUB_TOKEN: "${{ secrets.GH_CREDENTIALS }}"
- name: deploy to itch.io (HTML5)
uses: josephbmanley/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: HTML
ITCH_GAME: python-pygame-loader
ITCH_USER: kerodekroma
PACKAGE: python_pygame_loader_demo.zip
VERSION: ${{ steps.download-html.outputs.version }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
__pycache__
.DS_Store
build

.gacm
Binary file added assets/font/PixelSimpel.otf
Binary file not shown.
298 changes: 298 additions & 0 deletions assets/python-pygame-loader/python-pygame-loader.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,298 @@
{ "frames": {
"python-pygame-loader 0.ase": {
"frame": { "x": 0, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 1.ase": {
"frame": { "x": 48, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 2.ase": {
"frame": { "x": 96, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 3.ase": {
"frame": { "x": 144, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 4.ase": {
"frame": { "x": 192, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 5.ase": {
"frame": { "x": 240, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 6.ase": {
"frame": { "x": 288, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 7.ase": {
"frame": { "x": 336, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 8.ase": {
"frame": { "x": 384, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 9.ase": {
"frame": { "x": 432, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 10.ase": {
"frame": { "x": 480, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 11.ase": {
"frame": { "x": 528, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 12.ase": {
"frame": { "x": 576, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 13.ase": {
"frame": { "x": 624, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 14.ase": {
"frame": { "x": 672, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 15.ase": {
"frame": { "x": 720, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 16.ase": {
"frame": { "x": 768, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 17.ase": {
"frame": { "x": 816, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 18.ase": {
"frame": { "x": 864, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 19.ase": {
"frame": { "x": 912, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 20.ase": {
"frame": { "x": 960, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 21.ase": {
"frame": { "x": 1008, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 22.ase": {
"frame": { "x": 1056, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 23.ase": {
"frame": { "x": 1104, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 24.ase": {
"frame": { "x": 1152, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 25.ase": {
"frame": { "x": 1200, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 26.ase": {
"frame": { "x": 1248, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 27.ase": {
"frame": { "x": 1296, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 28.ase": {
"frame": { "x": 1344, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 29.ase": {
"frame": { "x": 1392, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 30.ase": {
"frame": { "x": 1440, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 31.ase": {
"frame": { "x": 1488, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 32.ase": {
"frame": { "x": 1536, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 33.ase": {
"frame": { "x": 1584, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
},
"python-pygame-loader 34.ase": {
"frame": { "x": 1632, "y": 0, "w": 48, "h": 48 },
"rotated": false,
"trimmed": false,
"spriteSourceSize": { "x": 0, "y": 0, "w": 48, "h": 48 },
"sourceSize": { "w": 48, "h": 48 },
"duration": 60
}
},
"meta": {
"app": "https://www.aseprite.org/",
"version": "1.3.2-arm64",
"image": "python-pygame-loader.png",
"format": "I8",
"size": { "w": 1680, "h": 48 },
"scale": "1",
"frameTags": [
],
"layers": [
{ "name": "animation", "opacity": 255, "blendMode": "normal" }
],
"slices": [
]
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c33ecbe

Please sign in to comment.