Search found 5 matches

by snoopshady
Sun Jan 20, 2008 8:08 pm
Forum: PSP Development
Topic: crashing problems
Replies: 0
Views: 946

crashing problems

(wow i seem to be posting way too much here nvm) heres my code #include <pspkernel.h> #include <pspdebug.h> #include <pspctrl.h> #include <pspcallbacks.h> #include "graphics.h" PSP_MODULE_INFO&#40;"sprite",0,1,1&#41;; Image*llyod&#91;8&#93;; int main&#40;&...
by snoopshady
Sat Jan 12, 2008 1:49 pm
Forum: PSP Development
Topic: help with timing
Replies: 6
Views: 1926

yea normally i would load images and then call them in the main code however the person who made this code(SavageSnip3r (hes part of my team and a good friend)) was too lazy to make variables in the beginning and i just
copied his code.
by snoopshady
Sat Jan 12, 2008 12:47 am
Forum: PSP Development
Topic: help with timing
Replies: 6
Views: 1926

help with timing

I was having a little trouble with loading sprites from my previous program (Tales of Symphonia the Homebrew (im trying to port it to C)) basically I want to the load attacking sprites without having to hold the required button combo until the attack finishes. Normally in lua i would do this: functi...
by snoopshady
Thu Jan 10, 2008 8:52 pm
Forum: PSP Development
Topic: Will This Work?
Replies: 5
Views: 2063

got it to work just changed this

Code: Select all

Image*player = loadImage&#40;"Player2.png"&#41;;
int ctr = 0;&#40;biggest mistake i made&#41; 
to this

Code: Select all

Image*player;
int ctr = 0;
and declared them as global variables
EDIT: also thanks Raphael and J.F
by snoopshady
Thu Jan 10, 2008 2:15 am
Forum: PSP Development
Topic: Will This Work?
Replies: 5
Views: 2063

Will This Work?

first of all i would like to say i have a little experience with C++ but only making windows command line apps. #include <pspdebug.h> #include <pspkernel.h> #include <pspcallbacks.h> #include <pspctrl.h> #include "graphics.h" #define RGB&#40;r, g, b&#41; &#40;&#40;r&#41...