Mooney Posted February 12, 2007 Share Posted February 12, 2007 This is a really cool demo by SANiK that turns the original Super Mario Bros for the NES into a 3D side-scroller.Usage:X = JumpControl Pad = MoveStart = Quit Purpose: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 lifeMy 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 programAnyways, enjoy Source:(I suggest if one is to try to "finish" this, to start from scratch just using poly.c and math.c)http://sanik.hacking-cult.org/Nehe11.rar 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 a_x*=1.25f; a_y*=1.05f; //Draw the vertex glVertex3f(a_x, a_y, a_z); }Source Link to comment Share on other sites More sharing options...
Lucandrake Posted February 12, 2007 Share Posted February 12, 2007 Holy snap nice, what's that thing between his legs? Link to comment Share on other sites More sharing options...
Wizard Posted February 13, 2007 Share Posted February 13, 2007 What the hell is this crap? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now