Merge pull request #1 from amberisvibin/inital

Inital
This commit is contained in:
Amber
2020-05-14 14:38:40 -04:00
committed by GitHub
74 changed files with 2101 additions and 0 deletions

BIN
program Executable file

Binary file not shown.

1276
program.cpp Normal file

File diff suppressed because it is too large Load Diff

761
spriteconvert/array.txt Normal file
View File

@@ -0,0 +1,761 @@
bool chars[69][8][8] {
{
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,1,1,1,1,1,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,1,1,1,1,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,0,0,0,1,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,1,1,1,1,0,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,1,1,1,0,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,1,1,1,0,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,0,1,1,1,1,0,0,},
{0,1,0,0,0,0,0,0,},
{0,1,0,0,0,0,0,0,},
{0,1,0,0,0,0,0,0,},
{0,1,0,0,0,0,0,0,},
{0,0,1,1,1,1,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,1,1,1,1,0,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,0,0,0,1,0,0,},
{0,1,1,1,1,0,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,1,1,1,1,1,0,0,},
{0,1,0,0,0,0,0,0,},
{0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,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,1,1,1,1,1,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,0,1,1,0,0,0,0,},
{0,0,0,1,0,0,0,0,},
{0,0,0,0,1,0,0,0,},
{0,0,0,0,1,0,0,0,},
{0,0,0,1,0,0,0,0,},
{0,0,1,1,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,0,0,1,1,0,0,0,},
{0,0,0,1,0,0,0,0,},
{0,0,1,0,0,0,0,0,},
{0,0,1,0,0,0,0,0,},
{0,0,0,1,0,0,0,0,},
{0,0,0,1,1,0,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,1,1,1,0,1,0,0,},
{0,1,0,1,1,1,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
},
{
{0,0,0,0,0,0,0,0,},
{0,0,1,0,1,0,0,0,},
{0,0,1,0,1,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
},
};

BIN
spriteconvert/program Executable file

Binary file not shown.

17
spriteconvert/program.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include <SDL2/SDL.h>
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char* argv[]) {
//initialize SDL2
if (SDL_Init() < 0) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Init failed: %s", SDL_GetError());
SDL_Quit();
return 3;
};
}

47
spriteconvert/script.py Normal file
View File

@@ -0,0 +1,47 @@
from PIL import Image
length = 68
current = 0
f = open("array.txt", "w")
f.write("bool chars[{}][8][8] ".format(length + 1) + "{ \n")
f.write("""
{
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
{0,0,0,0,0,0,0,0,},
},
""")
for k in range(length):
if current < 10:
img = Image.open("sprite/letter0{}.png".format(current))
else:
img = Image.open("sprite/letter{}.png".format(current))
w,h = img.size
f.write("\n {\n")
for i in range(h):
f.write(" {")
for j in range(w):
r,g,b,p = img.getpixel((j,i))
if p == 0:
f.write("0,")
if p == 255:
f.write("1,")
f.write("},\n")
f.write(" },\n")
current += 1
f.write("};")

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 B