Posted By: SANiK
X = Jump
Control Pad = Move
Start = Quit
This demo is never going to become a full game.
It lags at certain points but could be sped up 90%, I didn't give a kwap though to put more time into it.
I only did this to be able to say, "Stop with the effiing cheap ass 2D games."
I'm mother effiing tired of seeing "OMG, 2D Halo" orrr "2D Mario" orr "2D Mario texture edit to make it look like 2D Sonic"
The PSP scene needs new life
My little Mario Demo is just a taste of what could be done if one actually tries (with just 6 days to code it + 1 day to port it to the PSP)
Come on PSP scene, get with the program
(I suggest if one is to try to "finish" this, to start from scratch just using poly.c and math.c)
Download Via Comments
The only snippet of code that's really needed is really:
void reflex(float *a_matrix, float a_x, float a_y, float a_z)
//Apply the matrix rotation to the point
//Requires a custom matrix library
vector_matrix_mul(a_x, a_y, a_z, a_matrix);
//Apply the reflex lens formula
a_z=a_z - ((((a_x) * (a_x)) + ((a_y)*(a_y)))*0.05f);
//The 0.05f = Lens curvature
//PSP screen stretch/skew
//Draw the vertex
glVertex3f(a_x, a_y, a_z);
Download and Give Feedback Via Comments