summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2025-07-31 14:51:06 +0300
committerBoredGuy <osome3717@gmail.com>2025-07-31 14:51:06 +0300
commite1a7c2e8c67430c8d978cce7f46049ef0f5c53f2 (patch)
tree1dc2653ee0f620c0fe8ce8ed08b7bda5c6c87d3a
parent3bedf42ddd687469d4738de3bd2c20eee7b81c19 (diff)
Im Still Getting used to using git
-rw-r--r--assets/art/backgrounds/bar-background.pngbin0 -> 1941 bytes
-rw-r--r--assets/art/backgrounds/bar-door.pngbin0 -> 487 bytes
-rw-r--r--assets/art/backgrounds/bar-entrance.pngbin0 -> 2145 bytes
-rw-r--r--assets/art/backgrounds/rails.pngbin0 -> 368 bytes
-rw-r--r--assets/art/backgrounds/street-background.pngbin0 -> 2667 bytes
-rw-r--r--assets/art/backgrounds/window.pngbin0 -> 312 bytes
-rw-r--r--assets/art/characters/enemy_boss.pngbin0 -> 11021 bytes
-rw-r--r--assets/art/characters/enemy_goon.pngbin0 -> 8443 bytes
-rw-r--r--assets/art/characters/enemy_gun.pngbin0 -> 1994 bytes
-rw-r--r--assets/art/characters/enemy_knife.pngbin0 -> 1886 bytes
-rw-r--r--assets/art/characters/enemy_punk.pngbin0 -> 9498 bytes
-rw-r--r--assets/art/characters/enemy_thug.pngbin0 -> 8813 bytes
-rw-r--r--assets/art/characters/player.pngbin0 -> 11597 bytes
-rw-r--r--assets/art/characters/player_gun.pngbin0 -> 2314 bytes
-rw-r--r--assets/art/characters/player_knife.pngbin0 -> 2100 bytes
-rw-r--r--assets/art/characters/shadow.pngbin0 -> 93 bytes
-rw-r--r--assets/art/particles/spark.pngbin0 -> 346 bytes
-rw-r--r--assets/art/props/barrel.pngbin0 -> 894 bytes
-rw-r--r--assets/art/props/chicken.pngbin0 -> 293 bytes
-rw-r--r--assets/art/props/garage-door-closed.pngbin0 -> 777 bytes
-rw-r--r--assets/art/props/garage-door-opened.pngbin0 -> 245 bytes
-rw-r--r--assets/art/props/gun.pngbin0 -> 238 bytes
-rw-r--r--assets/art/props/knife.pngbin0 -> 218 bytes
-rw-r--r--assets/art/props/prop-shadow.pngbin0 -> 92 bytes
-rw-r--r--assets/art/ui/1x1.pngbin0 -> 81 bytes
-rw-r--r--assets/art/ui/avatars/avatar-boss.pngbin0 -> 242 bytes
-rw-r--r--assets/art/ui/avatars/avatar-goon.pngbin0 -> 264 bytes
-rw-r--r--assets/art/ui/avatars/avatar-player.pngbin0 -> 253 bytes
-rw-r--r--assets/art/ui/avatars/avatar-punk.pngbin0 -> 293 bytes
-rw-r--r--assets/art/ui/avatars/avatar-thug.pngbin0 -> 248 bytes
-rw-r--r--assets/art/ui/go-go-go.pngbin0 -> 182 bytes
-rw-r--r--assets/art/ui/healthbar-tick.pngbin0 -> 88 bytes
-rw-r--r--assets/art/ui/screen-transition.pngbin0 -> 575 bytes
-rw-r--r--assets/art/ui/ui-tick-off.pngbin0 -> 88 bytes
-rw-r--r--assets/art/ui/ui-tick-on.pngbin0 -> 103 bytes
-rw-r--r--assets/fonts/FONTLOG.txt69
-rw-r--r--assets/fonts/LICENSE.txt94
-rw-r--r--assets/fonts/PressStart2P.ttfbin0 -> 82480 bytes
-rw-r--r--assets/fonts/my 3x5 tiny mono pixel font.ttfbin0 -> 10608 bytes
-rw-r--r--assets/music/intro.mp3bin0 -> 675291 bytes
-rw-r--r--assets/music/menu.mp3bin0 -> 503062 bytes
-rw-r--r--assets/music/stage-01.mp3bin0 -> 1116653 bytes
-rw-r--r--assets/music/stage-02.mp3bin0 -> 908493 bytes
-rw-r--r--assets/sfx/click.wavbin0 -> 6952 bytes
-rw-r--r--assets/sfx/eat-food.wavbin0 -> 79644 bytes
-rw-r--r--assets/sfx/gogogo.wavbin0 -> 136184 bytes
-rw-r--r--assets/sfx/grunt.wavbin0 -> 89656 bytes
-rw-r--r--assets/sfx/gunshot.wavbin0 -> 41130 bytes
-rw-r--r--assets/sfx/hit-1.wavbin0 -> 16090 bytes
-rw-r--r--assets/sfx/hit-2.wavbin0 -> 12222 bytes
-rw-r--r--assets/sfx/knife-hit.wavbin0 -> 7545 bytes
-rw-r--r--assets/sfx/miss.wavbin0 -> 2398 bytes
-rw-r--r--src/main.c2
53 files changed, 163 insertions, 2 deletions
diff --git a/assets/art/backgrounds/bar-background.png b/assets/art/backgrounds/bar-background.png
new file mode 100644
index 0000000..49bc2ce
--- /dev/null
+++ b/assets/art/backgrounds/bar-background.png
Binary files differ
diff --git a/assets/art/backgrounds/bar-door.png b/assets/art/backgrounds/bar-door.png
new file mode 100644
index 0000000..9a65ffd
--- /dev/null
+++ b/assets/art/backgrounds/bar-door.png
Binary files differ
diff --git a/assets/art/backgrounds/bar-entrance.png b/assets/art/backgrounds/bar-entrance.png
new file mode 100644
index 0000000..19872fa
--- /dev/null
+++ b/assets/art/backgrounds/bar-entrance.png
Binary files differ
diff --git a/assets/art/backgrounds/rails.png b/assets/art/backgrounds/rails.png
new file mode 100644
index 0000000..cd15864
--- /dev/null
+++ b/assets/art/backgrounds/rails.png
Binary files differ
diff --git a/assets/art/backgrounds/street-background.png b/assets/art/backgrounds/street-background.png
new file mode 100644
index 0000000..db5cfd1
--- /dev/null
+++ b/assets/art/backgrounds/street-background.png
Binary files differ
diff --git a/assets/art/backgrounds/window.png b/assets/art/backgrounds/window.png
new file mode 100644
index 0000000..73aa13b
--- /dev/null
+++ b/assets/art/backgrounds/window.png
Binary files differ
diff --git a/assets/art/characters/enemy_boss.png b/assets/art/characters/enemy_boss.png
new file mode 100644
index 0000000..3702486
--- /dev/null
+++ b/assets/art/characters/enemy_boss.png
Binary files differ
diff --git a/assets/art/characters/enemy_goon.png b/assets/art/characters/enemy_goon.png
new file mode 100644
index 0000000..dcb9b98
--- /dev/null
+++ b/assets/art/characters/enemy_goon.png
Binary files differ
diff --git a/assets/art/characters/enemy_gun.png b/assets/art/characters/enemy_gun.png
new file mode 100644
index 0000000..aa6bc11
--- /dev/null
+++ b/assets/art/characters/enemy_gun.png
Binary files differ
diff --git a/assets/art/characters/enemy_knife.png b/assets/art/characters/enemy_knife.png
new file mode 100644
index 0000000..4558a39
--- /dev/null
+++ b/assets/art/characters/enemy_knife.png
Binary files differ
diff --git a/assets/art/characters/enemy_punk.png b/assets/art/characters/enemy_punk.png
new file mode 100644
index 0000000..6be0a8a
--- /dev/null
+++ b/assets/art/characters/enemy_punk.png
Binary files differ
diff --git a/assets/art/characters/enemy_thug.png b/assets/art/characters/enemy_thug.png
new file mode 100644
index 0000000..2cd7888
--- /dev/null
+++ b/assets/art/characters/enemy_thug.png
Binary files differ
diff --git a/assets/art/characters/player.png b/assets/art/characters/player.png
new file mode 100644
index 0000000..14ce00e
--- /dev/null
+++ b/assets/art/characters/player.png
Binary files differ
diff --git a/assets/art/characters/player_gun.png b/assets/art/characters/player_gun.png
new file mode 100644
index 0000000..efbac42
--- /dev/null
+++ b/assets/art/characters/player_gun.png
Binary files differ
diff --git a/assets/art/characters/player_knife.png b/assets/art/characters/player_knife.png
new file mode 100644
index 0000000..5000814
--- /dev/null
+++ b/assets/art/characters/player_knife.png
Binary files differ
diff --git a/assets/art/characters/shadow.png b/assets/art/characters/shadow.png
new file mode 100644
index 0000000..66ec4b1
--- /dev/null
+++ b/assets/art/characters/shadow.png
Binary files differ
diff --git a/assets/art/particles/spark.png b/assets/art/particles/spark.png
new file mode 100644
index 0000000..92d5ada
--- /dev/null
+++ b/assets/art/particles/spark.png
Binary files differ
diff --git a/assets/art/props/barrel.png b/assets/art/props/barrel.png
new file mode 100644
index 0000000..1a0863a
--- /dev/null
+++ b/assets/art/props/barrel.png
Binary files differ
diff --git a/assets/art/props/chicken.png b/assets/art/props/chicken.png
new file mode 100644
index 0000000..4b96f97
--- /dev/null
+++ b/assets/art/props/chicken.png
Binary files differ
diff --git a/assets/art/props/garage-door-closed.png b/assets/art/props/garage-door-closed.png
new file mode 100644
index 0000000..c76c2b4
--- /dev/null
+++ b/assets/art/props/garage-door-closed.png
Binary files differ
diff --git a/assets/art/props/garage-door-opened.png b/assets/art/props/garage-door-opened.png
new file mode 100644
index 0000000..5eab972
--- /dev/null
+++ b/assets/art/props/garage-door-opened.png
Binary files differ
diff --git a/assets/art/props/gun.png b/assets/art/props/gun.png
new file mode 100644
index 0000000..0b23e3b
--- /dev/null
+++ b/assets/art/props/gun.png
Binary files differ
diff --git a/assets/art/props/knife.png b/assets/art/props/knife.png
new file mode 100644
index 0000000..906072e
--- /dev/null
+++ b/assets/art/props/knife.png
Binary files differ
diff --git a/assets/art/props/prop-shadow.png b/assets/art/props/prop-shadow.png
new file mode 100644
index 0000000..93168b9
--- /dev/null
+++ b/assets/art/props/prop-shadow.png
Binary files differ
diff --git a/assets/art/ui/1x1.png b/assets/art/ui/1x1.png
new file mode 100644
index 0000000..e8b825e
--- /dev/null
+++ b/assets/art/ui/1x1.png
Binary files differ
diff --git a/assets/art/ui/avatars/avatar-boss.png b/assets/art/ui/avatars/avatar-boss.png
new file mode 100644
index 0000000..ee6aaf1
--- /dev/null
+++ b/assets/art/ui/avatars/avatar-boss.png
Binary files differ
diff --git a/assets/art/ui/avatars/avatar-goon.png b/assets/art/ui/avatars/avatar-goon.png
new file mode 100644
index 0000000..d98c912
--- /dev/null
+++ b/assets/art/ui/avatars/avatar-goon.png
Binary files differ
diff --git a/assets/art/ui/avatars/avatar-player.png b/assets/art/ui/avatars/avatar-player.png
new file mode 100644
index 0000000..c7fd901
--- /dev/null
+++ b/assets/art/ui/avatars/avatar-player.png
Binary files differ
diff --git a/assets/art/ui/avatars/avatar-punk.png b/assets/art/ui/avatars/avatar-punk.png
new file mode 100644
index 0000000..d6e1907
--- /dev/null
+++ b/assets/art/ui/avatars/avatar-punk.png
Binary files differ
diff --git a/assets/art/ui/avatars/avatar-thug.png b/assets/art/ui/avatars/avatar-thug.png
new file mode 100644
index 0000000..d075883
--- /dev/null
+++ b/assets/art/ui/avatars/avatar-thug.png
Binary files differ
diff --git a/assets/art/ui/go-go-go.png b/assets/art/ui/go-go-go.png
new file mode 100644
index 0000000..c8a8d4e
--- /dev/null
+++ b/assets/art/ui/go-go-go.png
Binary files differ
diff --git a/assets/art/ui/healthbar-tick.png b/assets/art/ui/healthbar-tick.png
new file mode 100644
index 0000000..c34b543
--- /dev/null
+++ b/assets/art/ui/healthbar-tick.png
Binary files differ
diff --git a/assets/art/ui/screen-transition.png b/assets/art/ui/screen-transition.png
new file mode 100644
index 0000000..5b930af
--- /dev/null
+++ b/assets/art/ui/screen-transition.png
Binary files differ
diff --git a/assets/art/ui/ui-tick-off.png b/assets/art/ui/ui-tick-off.png
new file mode 100644
index 0000000..b2e6e68
--- /dev/null
+++ b/assets/art/ui/ui-tick-off.png
Binary files differ
diff --git a/assets/art/ui/ui-tick-on.png b/assets/art/ui/ui-tick-on.png
new file mode 100644
index 0000000..e322fc8
--- /dev/null
+++ b/assets/art/ui/ui-tick-on.png
Binary files differ
diff --git a/assets/fonts/FONTLOG.txt b/assets/fonts/FONTLOG.txt
new file mode 100644
index 0000000..986045d
--- /dev/null
+++ b/assets/fonts/FONTLOG.txt
@@ -0,0 +1,69 @@
+FONTLOG for the Press Start 2P fonts
+
+This file provides detailed information on the Press Start 2P Font Software.
+This information should be distributed along with the Press Start 2P fonts
+and any derivative works.
+
+
+Basic Font Information
+
+Press Start 2P is a bitmap font based on the font design from 1980s Namco
+arcade games. Although the design of uppercase letters and digits dates
+back to Atari's "Sprint" (1977), the specific glyph forms in this TrueType
+conversion are based on those from "Return of Ishtar" (1986), one of the
+first games to include and regularly use lowercase as well as uppercase
+letters in its screen font.
+
+Unlike the original font from the "Return of Ishtar" ROM, Press Start 2P
+includes a wide variety of non-ASCII Unicode characters for pan-European
+use, including Greek and Cyrillic.
+
+
+ChangeLog
+
+1 November 2012 (Cody Boisclair) Press Start 2P version 2.14
+- Add necessary flags for Windows to recognize as a valid Greek/Cyrillic font
+- Change line gap to zero to match version on Google Web Fonts
+
+15 June 2011 (Cody Boisclair) Press Start 2P version 2.13
+- Correct accent marks on U+00D9 Ù and U+00DA Ú
+
+13 June 2011 (Cody Boisclair) Press Start 2P version 2.12
+- Correct glyph for underscore _
+- Move glyphs for Greek iota one pixel to left
+- Fix 'notdef' glyph, whose encoding was broken during last update
+
+13 June 2011 (Cody Boisclair) Press Start 2P version 2.11
+- Retrace characters from bitmaps to fix glyph width bug
+- Add glyphs for Spacing Modifier Letters
+- Move U+201E „ one pixel to left, U+201A ‚ one pixel to right
+
+13 June 2011 (Cody Boisclair) Press Start 2P version 2.10
+- Add Greek and Cyrillic alphabets.
+- Redesign U+0138 ĸ to match shape of Greek kappa
+- Correct glyph shape for grave accent `
+- Move U+00B7 · down one row to appear more centered
+- Modify FONTLOG description to reflect Greek & Cyrillic addition
+
+13 June 2011 (Cody Boisclair) Press Start 2P version 2.01
+- Correct glyph for @; improve glyphs for © and ® based on original @.
+
+12 June 2011 (Cody Boisclair) Press Start 2P version 2.0
+- Initial public release.
+
+
+Acknowledgements
+
+If you make modifications be sure to add your name (N), email (E),
+web-address (if you have one) (W) and description (D).
+This list is in alphabetical order.
+
+N: Cody Boisclair ("CodeMan38")
+E: cody@zone38.net
+W: http://zone38.net/font/
+D: Conversion of glyphs to TrueType; creation of non-ASCII glyphs
+
+N: "QTQ"
+E: [unknown]
+W: http://www22.atpages.jp/nbgifan/namco.html
+D: Original extraction of glyph bitmaps \ No newline at end of file
diff --git a/assets/fonts/LICENSE.txt b/assets/fonts/LICENSE.txt
new file mode 100644
index 0000000..141e49f
--- /dev/null
+++ b/assets/fonts/LICENSE.txt
@@ -0,0 +1,94 @@
+Copyright (c) 2011, Cody "CodeMan38" Boisclair (cody@zone38.net),
+with Reserved Font Name "Press Start".
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE. \ No newline at end of file
diff --git a/assets/fonts/PressStart2P.ttf b/assets/fonts/PressStart2P.ttf
new file mode 100644
index 0000000..98044e9
--- /dev/null
+++ b/assets/fonts/PressStart2P.ttf
Binary files differ
diff --git a/assets/fonts/my 3x5 tiny mono pixel font.ttf b/assets/fonts/my 3x5 tiny mono pixel font.ttf
new file mode 100644
index 0000000..6c83603
--- /dev/null
+++ b/assets/fonts/my 3x5 tiny mono pixel font.ttf
Binary files differ
diff --git a/assets/music/intro.mp3 b/assets/music/intro.mp3
new file mode 100644
index 0000000..15a08db
--- /dev/null
+++ b/assets/music/intro.mp3
Binary files differ
diff --git a/assets/music/menu.mp3 b/assets/music/menu.mp3
new file mode 100644
index 0000000..a405d25
--- /dev/null
+++ b/assets/music/menu.mp3
Binary files differ
diff --git a/assets/music/stage-01.mp3 b/assets/music/stage-01.mp3
new file mode 100644
index 0000000..f1a0e93
--- /dev/null
+++ b/assets/music/stage-01.mp3
Binary files differ
diff --git a/assets/music/stage-02.mp3 b/assets/music/stage-02.mp3
new file mode 100644
index 0000000..49df773
--- /dev/null
+++ b/assets/music/stage-02.mp3
Binary files differ
diff --git a/assets/sfx/click.wav b/assets/sfx/click.wav
new file mode 100644
index 0000000..e79b0f8
--- /dev/null
+++ b/assets/sfx/click.wav
Binary files differ
diff --git a/assets/sfx/eat-food.wav b/assets/sfx/eat-food.wav
new file mode 100644
index 0000000..14c1261
--- /dev/null
+++ b/assets/sfx/eat-food.wav
Binary files differ
diff --git a/assets/sfx/gogogo.wav b/assets/sfx/gogogo.wav
new file mode 100644
index 0000000..488a1d2
--- /dev/null
+++ b/assets/sfx/gogogo.wav
Binary files differ
diff --git a/assets/sfx/grunt.wav b/assets/sfx/grunt.wav
new file mode 100644
index 0000000..917fdc2
--- /dev/null
+++ b/assets/sfx/grunt.wav
Binary files differ
diff --git a/assets/sfx/gunshot.wav b/assets/sfx/gunshot.wav
new file mode 100644
index 0000000..739022a
--- /dev/null
+++ b/assets/sfx/gunshot.wav
Binary files differ
diff --git a/assets/sfx/hit-1.wav b/assets/sfx/hit-1.wav
new file mode 100644
index 0000000..97ac720
--- /dev/null
+++ b/assets/sfx/hit-1.wav
Binary files differ
diff --git a/assets/sfx/hit-2.wav b/assets/sfx/hit-2.wav
new file mode 100644
index 0000000..5872407
--- /dev/null
+++ b/assets/sfx/hit-2.wav
Binary files differ
diff --git a/assets/sfx/knife-hit.wav b/assets/sfx/knife-hit.wav
new file mode 100644
index 0000000..6194a8a
--- /dev/null
+++ b/assets/sfx/knife-hit.wav
Binary files differ
diff --git a/assets/sfx/miss.wav b/assets/sfx/miss.wav
new file mode 100644
index 0000000..e8d1036
--- /dev/null
+++ b/assets/sfx/miss.wav
Binary files differ
diff --git a/src/main.c b/src/main.c
index 7668f21..b7bef75 100644
--- a/src/main.c
+++ b/src/main.c
@@ -13,8 +13,6 @@ int main() {
LoadAssets();
InitGame();
- AddBackground("yo-mama");
-
while(!WindowShouldClose()) {
UpdateGame(GetFrameTime());