IridescentRose / QuickGame

Simple PSP Graphics/Games Library
MIT License
33 stars 3 forks source link

Can't load sprites in C #2

Open bigtester601 opened 1 year ago

bigtester601 commented 1 year ago

When I try to load any sprite I can't see it when running. I was doing the Flappy Bird tutorial. Everything was compiled in Linux.

Uglany4 commented 1 year ago

First of all, you need to check is your assets accessable by path you defined when did your .pbp

example

📁assets texture.png 📁include your_include.h main.c


If your folder structure looks like this, you need to recreate on your psp or emulator. So right next to your .pbp file you need to have assets folder.

Also what did you use to execute .pbp?

bigtester601 commented 1 year ago

The actual problem is initialization of the actual library. I executed it in PPSSPP, after that on real hardware. Also my file structure looks like that.

stereofuture commented 1 year ago

@bigtester601 Do you have your code pushed somewhere or can you provide steps to repro? I have had no issues with loading sprites in C in my own project