Added git-hash for better debugging

Added more pacman models
Tried to animate them :D
This commit is contained in:
Christian Bobe
2024-07-13 11:04:40 +02:00
parent 2b0d3db30f
commit 7c76159544
13 changed files with 897 additions and 18 deletions

34
main.py
View File

@@ -1,4 +1,6 @@
import pygame
import subprocess
pygame.init()
@@ -36,14 +38,22 @@ pacman_posy = 0
pacman_movespeed = 5
pacman_startpoint = {0,0}
pacman_size = 26
pacman_animation = list()
pacman_animation.append(pygame.image.load("models/pacman_1_1.png"))
pacman_animation.append(pygame.image.load("models/pacman_1_2.png"))
pacman_animation.append(pygame.image.load("models/pacman_1_3.png"))
pacman_animation.append(pygame.image.load("models/pacman_1_4.png"))
pacman_animation.append(pygame.image.load("models/pacman_1_5.png"))
#TODO Pacman Animation has to been added
#Labels
short_hash = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode('ascii').strip()
hash_label = font1.render(F"git-hash: {short_hash}", 1, SCHWARZ)
#Movement
movedirection = {"up":False, "down":False, "left":False, "right":False}
map1 = list()
movement_map = list()
@@ -79,6 +89,8 @@ print(F"Center correction: {movement_map_center}")
pacman_posx += movement_map[0]["x"]+movement_map_center
pacman_posy += movement_map[0]["y"]+movement_map_center
count = 0
count2 = 0
while(gamestate==True):
MAINSCREEN.fill(WEISS)
@@ -128,8 +140,15 @@ while(gamestate==True):
pacman_posx -= pacman_movespeed
#print(pacman_animation)
MAINSCREEN.blit(pacman, (pacman_posx,pacman_posy))
MAINSCREEN.blit(pacman_animation[count], (pacman_posx,pacman_posy))
print(count2)
count += 1
if count == 5: count = 0
for row in map1:
#print(row)
MAINSCREEN.blit(row["object"], (row["x"],row["y"]))
@@ -138,7 +157,10 @@ while(gamestate==True):
if(movedirection[item]==True):
print(F"Pacman-Position: x:{pacman_posx} y:{pacman_posy}")
#Adds visual character for vaild movementpath (DEBUG ONLY)
for coord in movement_map:
tmp = font1.render("X", 1, ROT)
MAINSCREEN.blit(tmp, (coord["x"], coord["y"]))
pacman_pos_label = font1.render(F"x:{pacman_posx} y:{pacman_posy}", 1, SCHWARZ)
@@ -146,9 +168,13 @@ while(gamestate==True):
MAINSCREEN.blit(pacman_pos_label, (CENTER_X,MAINSCREEN_SIZE[1]-40))
MAINSCREEN.blit(fps_label, (CENTER_X - 150,MAINSCREEN_SIZE[1]-40))
MAINSCREEN.blit(hash_label, (10, MAINSCREEN_SIZE[1]-40))
pygame.display.flip()
clock.tick(60)
count2 += 1
if(count2 == 60):
count2 = 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 681 B

After

Width:  |  Height:  |  Size: 644 B

View File

@@ -26,30 +26,108 @@
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="0.94167964"
inkscape:cx="227.25351"
inkscape:cy="267.60693"
inkscape:zoom="45.254834"
inkscape:cx="14.042699"
inkscape:cy="12.794213"
inkscape:window-width="2560"
inkscape:window-height="1412"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
inkscape:current-layer="layer1"
showgrid="false">
<sodipodi:guide
position="0,6.8791666"
orientation="0,26"
id="guide2"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,6.8791666"
orientation="26,0"
id="guide3"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,0"
orientation="0,-26"
id="guide4"
inkscape:locked="false" />
<sodipodi:guide
position="0,0"
orientation="-26,0"
id="guide5"
inkscape:locked="false" />
<inkscape:grid
id="grid5"
units="mm"
originx="0"
originy="0"
spacingx="0.99999995"
spacingy="1"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="false" />
</sodipodi:namedview>
<defs
id="defs1" />
id="defs1">
<inkscape:path-effect
effect="bspline"
id="path-effect6"
is_visible="true"
lpeversion="1.3"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false"
uniform="false" />
<pattern
patternUnits="userSpaceOnUse"
width="26"
height="26"
patternTransform="scale(1)"
preserveAspectRatio="xMidYMid"
id="pattern5">
<circle
style="fill:#ff9955;stroke-width:0.134049"
id="path1"
cx="13"
cy="13"
inkscape:export-filename="pacman_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
r="13" />
</pattern>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-0.43445301,-0.43445301)">
<circle
style="fill:#ff9955;stroke-width:0.0354671"
id="path1"
cx="3.8740363"
cy="3.8740363"
inkscape:export-filename="pacman_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
r="3.4395833" />
<rect
style="stroke:none;fill:url(#pattern5)"
transform="matrix(0.26458333,0,0,0.26458333,0.43445301,0.43445301)"
width="26"
height="26"
x="2.1130659e-09"
y="2.1130659e-09"
id="rect5" />
<path
style="opacity:0.89834;fill:#ff0000;stroke-width:0.264583"
d="M 4.2196475,1.1436056 C 3.8078905,1.6140537 3.8078905,2.7936544 4.4087272,3.3834547 5.0095639,3.973255 6.2112011,3.973255 6.7922707,3.7926923 7.3733402,3.6121296 7.335212,3.263529 7.146369,2.7951603 6.9575261,2.3267916 6.6179826,1.738685 6.0364423,1.3252712 5.4549019,0.9118573 4.6314045,0.67315756 4.2196475,1.1436056 Z"
id="path6"
inkscape:path-effect="#path-effect6"
inkscape:original-d="m 3.8078905,0.43445301 c 0,1.17960069 0,2.35920139 0,3.53880199 1.2016734,0 2.4033106,0 3.6049478,0 C 7.2970831,3.6204702 7.2970831,3.2676994 7.2970831,2.9149217 6.9575261,2.3267916 6.6179827,1.738685 6.2784323,1.1505666 5.4549019,0.91185728 4.6314045,0.67315753 3.8078905,0.43445301 Z"
transform="matrix(0.39590476,0,0,0.28659655,3.1405022,0.82416832)" />
<path
style="opacity:0.89834;fill:#00ff00;stroke-width:0.275387"
d="M 3.9306724,3.7552768 7.3508871,4.6556412 7.2368799,2.3170327 Z"
id="path8" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
models/pacman_1_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

155
models/pacman_1_1.svg Normal file
View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="26"
height="26"
viewBox="0 0 6.8791663 6.8791668"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="pacman_1_1.svg"
inkscape:export-filename="pacman_1_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="45.254834"
inkscape:cx="14.042699"
inkscape:cy="12.794213"
inkscape:window-width="2560"
inkscape:window-height="1412"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
showgrid="false">
<sodipodi:guide
position="0,6.8791666"
orientation="0,26"
id="guide2"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,6.8791666"
orientation="26,0"
id="guide3"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,0"
orientation="0,-26"
id="guide4"
inkscape:locked="false" />
<sodipodi:guide
position="0,0"
orientation="-26,0"
id="guide5"
inkscape:locked="false" />
<inkscape:grid
id="grid5"
units="mm"
originx="0"
originy="0"
spacingx="0.99999995"
spacingy="1"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="false" />
</sodipodi:namedview>
<defs
id="defs1">
<inkscape:path-effect
effect="powerclip"
id="path-effect9"
is_visible="true"
lpeversion="1"
inverse="true"
flatten="false"
hide_clip="false"
message="Füllregel Gerade-Ungerade im &lt;b&gt;Füllung und Kontur&lt;/b&gt;-Dialog verwenden, wenn das Anwenden des Ausschnitts mit nachfolgendem Umwandeln in Pfade kein Ergebnis bringt" />
<inkscape:path-effect
effect="bspline"
id="path-effect6"
is_visible="true"
lpeversion="1.3"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false"
uniform="false" />
<pattern
patternUnits="userSpaceOnUse"
width="26"
height="26"
patternTransform="scale(1)"
preserveAspectRatio="xMidYMid"
id="pattern5">
<circle
style="fill:#ff9955;stroke-width:0.134049"
id="path1"
cx="13"
cy="13"
inkscape:export-filename="pacman_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
r="13" />
</pattern>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath8">
<path
style="display:none;opacity:0.89834;fill:#00ff00;stroke-width:1.1696"
d="M 13.191961,12.322992 27.864426,16.108777 27.375344,6.2755726 Z"
id="path9" />
<path
id="lpe_path-effect9"
style="opacity:0.89834;fill:#00ff00;stroke-width:1.1696"
class="powerclip"
d="M -5,-5 H 31 V 31 H -5 Z m 18.191961,17.322992 14.672465,3.785785 -0.489082,-9.8332044 z" />
</clipPath>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-0.43445301,-0.43445301)">
<path
style="fill:url(#pattern5);stroke:none"
transform="matrix(0.26458333,0,0,0.26458333,0.43445301,0.43445301)"
width="26"
height="26"
x="2.1130659e-09"
y="2.1130659e-09"
id="rect5"
clip-path="url(#clipPath8)"
inkscape:path-effect="#path-effect9"
sodipodi:type="rect"
d="M 0,0 H 26 V 26 H 0 Z" />
<path
style="opacity:0.89834;fill:#ff0000;stroke-width:0.264583"
d="M 4.2196475,1.1436056 C 3.8078905,1.6140537 3.8078905,2.7936544 4.4087272,3.3834547 5.0095639,3.973255 6.2112011,3.973255 6.7922707,3.7926923 7.3733402,3.6121296 7.335212,3.263529 7.146369,2.7951603 6.9575261,2.3267916 6.6179826,1.738685 6.0364423,1.3252712 5.4549019,0.9118573 4.6314045,0.67315756 4.2196475,1.1436056 Z"
id="path6"
inkscape:path-effect="#path-effect6"
inkscape:original-d="m 3.8078905,0.43445301 c 0,1.17960069 0,2.35920139 0,3.53880199 1.2016734,0 2.4033106,0 3.6049478,0 C 7.2970831,3.6204702 7.2970831,3.2676994 7.2970831,2.9149217 6.9575261,2.3267916 6.6179827,1.738685 6.2784323,1.1505666 5.4549019,0.91185728 4.6314045,0.67315753 3.8078905,0.43445301 Z"
transform="matrix(0.39590476,0,0,0.28659655,3.1405022,0.82416832)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
models/pacman_1_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

155
models/pacman_1_2.svg Normal file
View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="26"
height="26"
viewBox="0 0 6.8791663 6.8791668"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="pacman_1_2.svg"
inkscape:export-filename="pacman_1_2.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="45.254834"
inkscape:cx="14.042699"
inkscape:cy="12.794213"
inkscape:window-width="2560"
inkscape:window-height="1412"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
showgrid="false">
<sodipodi:guide
position="0,6.8791666"
orientation="0,26"
id="guide2"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,6.8791666"
orientation="26,0"
id="guide3"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,0"
orientation="0,-26"
id="guide4"
inkscape:locked="false" />
<sodipodi:guide
position="0,0"
orientation="-26,0"
id="guide5"
inkscape:locked="false" />
<inkscape:grid
id="grid5"
units="mm"
originx="0"
originy="0"
spacingx="0.99999995"
spacingy="1"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="false" />
</sodipodi:namedview>
<defs
id="defs1">
<inkscape:path-effect
effect="powerclip"
id="path-effect10"
is_visible="true"
lpeversion="1"
inverse="true"
flatten="false"
hide_clip="false"
message="Füllregel Gerade-Ungerade im &lt;b&gt;Füllung und Kontur&lt;/b&gt;-Dialog verwenden, wenn das Anwenden des Ausschnitts mit nachfolgendem Umwandeln in Pfade kein Ergebnis bringt" />
<inkscape:path-effect
effect="bspline"
id="path-effect6"
is_visible="true"
lpeversion="1.3"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false"
uniform="false" />
<pattern
patternUnits="userSpaceOnUse"
width="26"
height="26"
patternTransform="scale(1)"
preserveAspectRatio="xMidYMid"
id="pattern5">
<circle
style="fill:#ff9955;stroke-width:0.134049"
id="path1"
cx="13"
cy="13"
inkscape:export-filename="pacman_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
r="13" />
</pattern>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath10">
<path
style="display:none;opacity:0.89834;fill:#00ff00;stroke-width:1.05198"
d="M 13.191961,13.04612 27.864426,16.108777 27.375344,8.1538251 Z"
id="path10" />
<path
id="lpe_path-effect10"
style="opacity:0.89834;fill:#00ff00;stroke-width:1.05198"
class="powerclip"
d="M -5,-5 H 31 V 31 H -5 Z m 18.191961,18.04612 14.672465,3.062657 -0.489082,-7.9549519 z" />
</clipPath>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-0.43445301,-0.43445301)">
<path
style="fill:url(#pattern5);stroke:none"
transform="matrix(0.26458333,0,0,0.26458333,0.43445301,0.43445301)"
width="26"
height="26"
x="2.1130659e-09"
y="2.1130659e-09"
id="rect5"
clip-path="url(#clipPath10)"
inkscape:path-effect="#path-effect10"
sodipodi:type="rect"
d="M 0,0 H 26 V 26 H 0 Z" />
<path
style="opacity:0.89834;fill:#ff0000;stroke-width:0.264583"
d="M 4.2196475,1.1436056 C 3.8078905,1.6140537 3.8078905,2.7936544 4.4087272,3.3834547 5.0095639,3.973255 6.2112011,3.973255 6.7922707,3.7926923 7.3733402,3.6121296 7.335212,3.263529 7.146369,2.7951603 6.9575261,2.3267916 6.6179826,1.738685 6.0364423,1.3252712 5.4549019,0.9118573 4.6314045,0.67315756 4.2196475,1.1436056 Z"
id="path6"
inkscape:path-effect="#path-effect6"
inkscape:original-d="m 3.8078905,0.43445301 c 0,1.17960069 0,2.35920139 0,3.53880199 1.2016734,0 2.4033106,0 3.6049478,0 C 7.2970831,3.6204702 7.2970831,3.2676994 7.2970831,2.9149217 6.9575261,2.3267916 6.6179827,1.738685 6.2784323,1.1505666 5.4549019,0.91185728 4.6314045,0.67315753 3.8078905,0.43445301 Z"
transform="matrix(0.39590476,0,0,0.28659655,3.1405022,0.82416832)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
models/pacman_1_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

155
models/pacman_1_3.svg Normal file
View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="26"
height="26"
viewBox="0 0 6.8791663 6.8791668"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="pacman_1_3.svg"
inkscape:export-filename="pacman_1_3.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="45.254834"
inkscape:cx="14.042699"
inkscape:cy="12.794213"
inkscape:window-width="2560"
inkscape:window-height="1412"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
showgrid="false">
<sodipodi:guide
position="0,6.8791666"
orientation="0,26"
id="guide2"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,6.8791666"
orientation="26,0"
id="guide3"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,0"
orientation="0,-26"
id="guide4"
inkscape:locked="false" />
<sodipodi:guide
position="0,0"
orientation="-26,0"
id="guide5"
inkscape:locked="false" />
<inkscape:grid
id="grid5"
units="mm"
originx="0"
originy="0"
spacingx="0.99999995"
spacingy="1"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="false" />
</sodipodi:namedview>
<defs
id="defs1">
<inkscape:path-effect
effect="powerclip"
id="path-effect11"
is_visible="true"
lpeversion="1"
inverse="true"
flatten="false"
hide_clip="false"
message="Füllregel Gerade-Ungerade im &lt;b&gt;Füllung und Kontur&lt;/b&gt;-Dialog verwenden, wenn das Anwenden des Ausschnitts mit nachfolgendem Umwandeln in Pfade kein Ergebnis bringt" />
<inkscape:path-effect
effect="bspline"
id="path-effect6"
is_visible="true"
lpeversion="1.3"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false"
uniform="false" />
<pattern
patternUnits="userSpaceOnUse"
width="26"
height="26"
patternTransform="scale(1)"
preserveAspectRatio="xMidYMid"
id="pattern5">
<circle
style="fill:#ff9955;stroke-width:0.134049"
id="path1"
cx="13"
cy="13"
inkscape:export-filename="pacman_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
r="13" />
</pattern>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath11">
<path
style="display:none;opacity:0.89834;fill:#00ff00;stroke-width:0.84268"
d="m 13.191961,14.143571 14.672465,1.965206 -0.489082,-5.104428 z"
id="path11" />
<path
id="lpe_path-effect11"
style="opacity:0.89834;fill:#00ff00;stroke-width:0.84268"
class="powerclip"
d="M -5,-5 H 31 V 31 H -5 Z m 18.191961,19.143571 14.672465,1.965206 -0.489082,-5.104428 z" />
</clipPath>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-0.43445301,-0.43445301)">
<path
style="fill:url(#pattern5);stroke:none"
transform="matrix(0.26458333,0,0,0.26458333,0.43445301,0.43445301)"
width="26"
height="26"
x="2.1130659e-09"
y="2.1130659e-09"
id="rect5"
clip-path="url(#clipPath11)"
inkscape:path-effect="#path-effect11"
sodipodi:type="rect"
d="M 0,0 H 26 V 26 H 0 Z" />
<path
style="opacity:0.89834;fill:#ff0000;stroke-width:0.264583"
d="M 4.2196475,1.1436056 C 3.8078905,1.6140537 3.8078905,2.7936544 4.4087272,3.3834547 5.0095639,3.973255 6.2112011,3.973255 6.7922707,3.7926923 7.3733402,3.6121296 7.335212,3.263529 7.146369,2.7951603 6.9575261,2.3267916 6.6179826,1.738685 6.0364423,1.3252712 5.4549019,0.9118573 4.6314045,0.67315756 4.2196475,1.1436056 Z"
id="path6"
inkscape:path-effect="#path-effect6"
inkscape:original-d="m 3.8078905,0.43445301 c 0,1.17960069 0,2.35920139 0,3.53880199 1.2016734,0 2.4033106,0 3.6049478,0 C 7.2970831,3.6204702 7.2970831,3.2676994 7.2970831,2.9149217 6.9575261,2.3267916 6.6179827,1.738685 6.2784323,1.1505666 5.4549019,0.91185728 4.6314045,0.67315753 3.8078905,0.43445301 Z"
transform="matrix(0.39590476,0,0,0.28659655,3.1405022,0.82416832)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
models/pacman_1_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

155
models/pacman_1_4.svg Normal file
View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="26"
height="26"
viewBox="0 0 6.8791663 6.8791668"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="pacman_1_4.svg"
inkscape:export-filename="pacman_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="45.254834"
inkscape:cx="14.042699"
inkscape:cy="12.794213"
inkscape:window-width="2560"
inkscape:window-height="1412"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
showgrid="false">
<sodipodi:guide
position="0,6.8791666"
orientation="0,26"
id="guide2"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,6.8791666"
orientation="26,0"
id="guide3"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,0"
orientation="0,-26"
id="guide4"
inkscape:locked="false" />
<sodipodi:guide
position="0,0"
orientation="-26,0"
id="guide5"
inkscape:locked="false" />
<inkscape:grid
id="grid5"
units="mm"
originx="0"
originy="0"
spacingx="0.99999995"
spacingy="1"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="false" />
</sodipodi:namedview>
<defs
id="defs1">
<inkscape:path-effect
effect="powerclip"
id="path-effect12"
is_visible="true"
lpeversion="1"
inverse="true"
flatten="false"
hide_clip="false"
message="Füllregel Gerade-Ungerade im &lt;b&gt;Füllung und Kontur&lt;/b&gt;-Dialog verwenden, wenn das Anwenden des Ausschnitts mit nachfolgendem Umwandeln in Pfade kein Ergebnis bringt" />
<inkscape:path-effect
effect="bspline"
id="path-effect6"
is_visible="true"
lpeversion="1.3"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false"
uniform="false" />
<pattern
patternUnits="userSpaceOnUse"
width="26"
height="26"
patternTransform="scale(1)"
preserveAspectRatio="xMidYMid"
id="pattern5">
<circle
style="fill:#ff9955;stroke-width:0.134049"
id="path1"
cx="13"
cy="13"
inkscape:export-filename="pacman_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
r="13" />
</pattern>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath12">
<path
style="display:none;opacity:0.89834;fill:#00ff00;stroke-width:0.597154"
d="m 13.191961,15.12192 14.672465,0.986857 -0.489082,-2.563263 z"
id="path12" />
<path
id="lpe_path-effect12"
style="opacity:0.89834;fill:#00ff00;stroke-width:0.597154"
class="powerclip"
d="M -5,-5 H 31 V 31 H -5 Z m 18.191961,20.12192 14.672465,0.986857 -0.489082,-2.563263 z" />
</clipPath>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-0.43445301,-0.43445301)">
<path
style="fill:url(#pattern5);stroke:none"
transform="matrix(0.26458333,0,0,0.26458333,0.43445301,0.43445301)"
width="26"
height="26"
x="2.1130659e-09"
y="2.1130659e-09"
id="rect5"
clip-path="url(#clipPath12)"
inkscape:path-effect="#path-effect12"
sodipodi:type="rect"
d="M 0,0 H 26 V 26 H 0 Z" />
<path
style="opacity:0.89834;fill:#ff0000;stroke-width:0.264583"
d="M 4.2196475,1.1436056 C 3.8078905,1.6140537 3.8078905,2.7936544 4.4087272,3.3834547 5.0095639,3.973255 6.2112011,3.973255 6.7922707,3.7926923 7.3733402,3.6121296 7.335212,3.263529 7.146369,2.7951603 6.9575261,2.3267916 6.6179826,1.738685 6.0364423,1.3252712 5.4549019,0.9118573 4.6314045,0.67315756 4.2196475,1.1436056 Z"
id="path6"
inkscape:path-effect="#path-effect6"
inkscape:original-d="m 3.8078905,0.43445301 c 0,1.17960069 0,2.35920139 0,3.53880199 1.2016734,0 2.4033106,0 3.6049478,0 C 7.2970831,3.6204702 7.2970831,3.2676994 7.2970831,2.9149217 6.9575261,2.3267916 6.6179827,1.738685 6.2784323,1.1505666 5.4549019,0.91185728 4.6314045,0.67315753 3.8078905,0.43445301 Z"
transform="matrix(0.39590476,0,0,0.28659655,3.1405022,0.82416832)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
models/pacman_1_5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

155
models/pacman_1_5.svg Normal file
View File

@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="26"
height="26"
viewBox="0 0 6.8791663 6.8791668"
version="1.1"
id="svg1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="pacman_1_5.svg"
inkscape:export-filename="pacman_1_5.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="45.254834"
inkscape:cx="14.042699"
inkscape:cy="12.794213"
inkscape:window-width="2560"
inkscape:window-height="1412"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
showgrid="false">
<sodipodi:guide
position="0,6.8791666"
orientation="0,26"
id="guide2"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,6.8791666"
orientation="26,0"
id="guide3"
inkscape:locked="false" />
<sodipodi:guide
position="6.8791666,0"
orientation="0,-26"
id="guide4"
inkscape:locked="false" />
<sodipodi:guide
position="0,0"
orientation="-26,0"
id="guide5"
inkscape:locked="false" />
<inkscape:grid
id="grid5"
units="mm"
originx="0"
originy="0"
spacingx="0.99999995"
spacingy="1"
empcolor="#0099e5"
empopacity="0.30196078"
color="#0099e5"
opacity="0.14901961"
empspacing="5"
dotted="false"
gridanglex="30"
gridanglez="30"
visible="false" />
</sodipodi:namedview>
<defs
id="defs1">
<inkscape:path-effect
effect="powerclip"
id="path-effect13"
is_visible="true"
lpeversion="1"
inverse="true"
flatten="false"
hide_clip="false"
message="Füllregel Gerade-Ungerade im &lt;b&gt;Füllung und Kontur&lt;/b&gt;-Dialog verwenden, wenn das Anwenden des Ausschnitts mit nachfolgendem Umwandeln in Pfade kein Ergebnis bringt" />
<inkscape:path-effect
effect="bspline"
id="path-effect6"
is_visible="true"
lpeversion="1.3"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false"
uniform="false" />
<pattern
patternUnits="userSpaceOnUse"
width="26"
height="26"
patternTransform="scale(1)"
preserveAspectRatio="xMidYMid"
id="pattern5">
<circle
style="fill:#ff9955;stroke-width:0.134049"
id="path1"
cx="13"
cy="13"
inkscape:export-filename="pacman_1.png"
inkscape:export-xdpi="96.739998"
inkscape:export-ydpi="96.739998"
r="13" />
</pattern>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath13">
<path
style="display:none;opacity:0.89834;fill:#00ff00;stroke-width:0.156821"
d="M 13.191961,16.040717 27.864426,16.108777 27.375344,15.932 Z"
id="path13" />
<path
id="lpe_path-effect13"
style="opacity:0.89834;fill:#00ff00;stroke-width:0.156821"
class="powerclip"
d="M -5,-5 H 31 V 31 H -5 Z M 13.191961,16.040717 27.864426,16.108777 27.375344,15.932 Z" />
</clipPath>
</defs>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-0.43445301,-0.43445301)">
<path
style="fill:url(#pattern5);stroke:none"
transform="matrix(0.26458333,0,0,0.26458333,0.43445301,0.43445301)"
width="26"
height="26"
x="2.1130659e-09"
y="2.1130659e-09"
id="rect5"
clip-path="url(#clipPath13)"
inkscape:path-effect="#path-effect13"
sodipodi:type="rect"
d="M 0,0 H 26 V 26 H 0 Z" />
<path
style="opacity:0.89834;fill:#ff0000;stroke-width:0.264583"
d="M 4.2196475,1.1436056 C 3.8078905,1.6140537 3.8078905,2.7936544 4.4087272,3.3834547 5.0095639,3.973255 6.2112011,3.973255 6.7922707,3.7926923 7.3733402,3.6121296 7.335212,3.263529 7.146369,2.7951603 6.9575261,2.3267916 6.6179826,1.738685 6.0364423,1.3252712 5.4549019,0.9118573 4.6314045,0.67315756 4.2196475,1.1436056 Z"
id="path6"
inkscape:path-effect="#path-effect6"
inkscape:original-d="m 3.8078905,0.43445301 c 0,1.17960069 0,2.35920139 0,3.53880199 1.2016734,0 2.4033106,0 3.6049478,0 C 7.2970831,3.6204702 7.2970831,3.2676994 7.2970831,2.9149217 6.9575261,2.3267916 6.6179827,1.738685 6.2784323,1.1505666 5.4549019,0.91185728 4.6314045,0.67315753 3.8078905,0.43445301 Z"
transform="matrix(0.39590476,0,0,0.28659655,3.1405022,0.82416832)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB