Added some resources. /JL

This commit is contained in:
2025-03-22 20:32:31 +01:00
parent 9d85a88fb7
commit c3de5def6e
21 changed files with 172 additions and 3 deletions

View File

@@ -0,0 +1,38 @@
1001Fonts Free For Personal Use License (FFP)
Preamble
In this license, 'Fun Blob' refers to the given .zip file, which may contain one or numerous fonts. These fonts can be of any type (.ttf, .otf, ...) and together they form a 'font family' or in short a 'typeface'.
1. Copyright
Fun Blob is the intellectual property of its respective author, provided it is original, and is protected by copyright laws in many parts of the world.
2. Personal Use
Fun Blob may be downloaded and used free of charge for personal use, as long as the usage is not racist or illegal. Personal use refers to all usage that does not generate financial income in a business manner, for instance:
- personal scrapbooking for yourself
- recreational websites and blogs for friends and family
- prints such as flyers, posters, t-shirts for churches, charities, and non-profit organizations
3. Commercial Use
Commercial use is not allowed without prior written permission from the respective author. Please contact the author to ask for commercial licensing. Commercial use refers to usage in a business environment, including:
- business cards, logos, advertising, websites, mobile apps for companies
- t-shirts, books, apparel that will be sold for money
- flyers, posters for events that charge admission
- freelance graphic design work
- anything that will generate direct or indirect income
4. Modification
Fun Blob may not be modified, altered, adapted or built upon without written permission by its respective author. This pertains all files within the downloadable font zip-file.
5. Conversion
Fun Blob may be converted to other formats such as WOFF, SVG or EOT webfonts, as long as the font is not modified in any other way, such as changing names or altering individual glyphs.
6. Distribution
While Fun Blob may freely be copied and passed along to other individuals for private use as its original downloadable zip-file, it may not be sold or published without written permission by its respective author.
7. Embedding
Fun Blob may be embedded into an application such as a web- or mobile app, as long as the application is of personal use and does not distribute Fun Blob, such as offering it as a download.
8. Disclaimer
Fun Blob is offered 'as is' without any warranty. 1001fonts.com and the respective author of Fun Blob shall not be liable for any damage derived from using this typeface. By using Fun Blob you agree to the terms of this license.

BIN
fonts/Chewy Noodles.otf Normal file

Binary file not shown.

BIN
fonts/FunBlob.otf Normal file

Binary file not shown.

BIN
fonts/FunBlob.ttf Normal file

Binary file not shown.

BIN
fonts/Ghostmeat Back.otf Normal file

Binary file not shown.

BIN
fonts/Ghostmeat Front.otf Normal file

Binary file not shown.

BIN
fonts/Ghostmeat.otf Normal file

Binary file not shown.

34
fonts/Read me!.txt Normal file
View File

@@ -0,0 +1,34 @@
This font is a DEMO version of the font and the characters in it contain the standard version. Read the description below for more details.
By installing or using this font, you agree to the Product Use Agreement:
1. This font is for PERSONAL USE. No commercial use allowed!
2. If you want to use it for commercial purposes, you can download it via the following link and you will get the full version and complete characters:
https://teenagefoundry.com/product/teenage-popular/
3. If you don't mind, give me a cup of coffee to get even more excited!
Donate click here
paypal.me/teenagefoundry
4. For inquiries, you can contact me at: teenagefoundry@gmail.com
Thank you
Teenage Foundry
INDONESIAN VERSION:
1. Font demo ini hanya untuk penggunaan pribadi, tidak untuk komersial/yang menghasilkan profit
atau keuntungan dari hasil menggunakan font ini. Baik itu untuk Pribadi, Agensi Desain Grafis, Youtube, Tv, Percetakan, Perusahaan dll.
(APABILA ANDA MELANGGAR DAN MENGGUNAKAN TANPA MEMBELI LISENSI TERLEBIH DAHULU AKAN DIKENAKAN DENDA SEBESAR 10X LIPAT HARGA LISENSI SESUAI PENGGUNAAN).
2. Jika ingin menggunakan secara komersial silahkan membeli lisensi melalui link di bawah ini:
https://teenagefoundry.com/product/teenage-popular/
3. Untuk pertanyaan, Anda dapat menghubungi saya di: teenagefoundry@gmail.com
Terimakasih
Teenage Foundry

37
fonts/Readme.txt Normal file
View File

@@ -0,0 +1,37 @@
This font is a DEMO version of the font and the characters in it contain the standard version. Read the description below for more details.
By installing or using this font, you agree to the Product Use Agreement:
1. This font is for PERSONAL USE. No commercial use allowed!
2. If you want to use it for commercial purposes, you can download it via the following link and you will get the full version and complete characters:
https://timurtype.com/product/chewy-noodles/
3. If you don't mind, give me a cup of coffee to get even more excited!
Donate click here
https://paypal.me/timurtypestd
4. Please visit our store for more amazing fonts :
https://timurtype.com
5. For inquiries, you can contact me at: timurtype.studio@gmail.com
Thank you
Timurtype Studio
INDONESIAN VERSION:
1. Font demo ini hanya untuk penggunaan pribadi, tidak untuk komersial/yang menghasilkan profit atau keuntungan dari hasil menggunakan font ini. Baik itu untuk Pribadi, Agensi Desain Grafis, Youtube, Tv, Percetakan, Perusahaan dll.
(APABILA ANDA MELANGGAR DAN MENGGUNAKAN TANPA MEMBELI LISENSI TERLEBIH DAHULU AKAN DIKENAKAN DENDA SEBESAR 10X LIPAT HARGA LISENSI SESUAI PENGGUNAAN).
2. Jika ingin menggunakan secara komersial silahkan membeli lisensi melalui link di bawah ini:
https://timurtype.com/product/chewy-noodles/
3. Untuk pertanyaan, Anda dapat menghubungi saya di: timurtype.studio@gmail.com
Terimakasih
Timurtype Studio

BIN
fonts/Teenage Popular.otf Normal file

Binary file not shown.

BIN
fonts/Teenage Popular.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

5
fonts/license.txt Normal file
View File

@@ -0,0 +1,5 @@
The fonts included in this archive are released under a <20>no rights reserved<65> Creative Commons Zero license. Please do not ask permission to do anything with these fonts. Whatever you want to do with this font, the answer will be yes. Please read about the CC0 Public Domain license before contacting me.
https://creativecommons.org/publicdomain/zero/1.0/
To the extent possible under law, Raymond Larabie has waived all copyright and related or neighboring rights to the fonts in this archive. This work is published from: Japan.

BIN
gfx/snake_banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
gfx/snake_banner.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

BIN
gfx/snake_intro_1.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

BIN
gfx/snake_intro_2.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

56
main.py
View File

@@ -1,8 +1,58 @@
import pygame import pygame
import time
import controls import controls
from tilemap.playground import PlayGround from tilemap.playground import PlayGround
if __name__ == "__main__": class Snake:
pg = PlayGround(geometry = (1, 3)) def __init__(self):
self.running = True
self.numplayers: int = 1
self.playground: PlayGround = None
self.controls = None
self.players: list = []
self.windowed: bool = True
self.width: int = 800
self.height: int =600
self.icon = pygame.image.load("snake.webp")
pygame.display.set_icon(self.icon)
self.set_windowed(self.width, self.height)
# self.set_fullscreen(self.width, self.height)
self.mainloop()
def mainloop(self):
while self.running:
self.screen.fill((100, 200, 200))
pygame.display.flip()
time.sleep(5)
self.running = False
pygame.quit()
def set_windowed(self, width:int, height: int) -> None:
self.screen = pygame.display.set_mode((width, height))
self.windowed = True
pygame.display.set_caption("Snake")
def set_fullscreen(self, width: int, height: int) -> None:
self.screen = pygame.display.set_mode((width, height), flags=pygame.FULLSCREEN)
self.windowed = False
@property
def numplayers(self) -> int:
return self._numplayers
@numplayers.setter
def numplayers(self, pl: int):
if pl <= 0 or pl >= 3:
raise ValueError("Numplayers must be a positive value of 1 or 2")
else:
self._numplayers = pl
def main():
pygame.init() pygame.init()
pass snake = Snake()
if __name__ == "__main__":
main()

5
player/player.py Normal file
View File

@@ -0,0 +1,5 @@
class Player:
def __init__(self):
self.controls = None

0
screens/gamescreen.py Normal file
View File

0
screens/splitscreen.py Normal file
View File

BIN
snake.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 KiB