Port Requests


Ok, Found it. In fact it was a precision issue with the texture!
 
Texture is set to GL_REPEAT.
Legacy code was:
 


//glBegin(GL_QUADS);
glTexCoord2f(0, -pos / 128.0F);
glVertex3f(r_cx2, r_cy2, r_z);
 
glTexCoord2f(1, -pos / 128.0F);
glVertex3f(r_x2, r_y2, r_z);
 
glTexCoord2f(1, -(pos + inc) / 128.0F);
glVertex3f(r_x2[i + 1], r_y2[i + 1], r_z[i + 1]);
 
glTexCoord2f(0, -(pos + inc) / 128.0F);
glVertex3f(r_cx2[i + 1], r_cy2[i + 1], r_z[i + 1]);
//glEnd();

(don't mind the glBegin and glEnd() in comment, I converted to GLES and optimise many things, but the quad definition stay the same)
By putting this:



//glBegin(GL_QUADS);
int p = pos;
p=p%128;
glTexCoord2f(0, -p / 128.0F);
glVertex3f(r_cx1, r_cy1, r_z);
 
glTexCoord2f(1, -p / 128.0F);
glVertex3f(r_x1, r_y1, r_z);
 
glTexCoord2f(1, -(p + inc) / 128.0F);
glVertex3f(r_x1[i + 1], r_y1[i + 1], r_z[i + 1]);
 
glTexCoord2f(0, -(p + inc) / 128.0F);
glVertex3f(r_cx1[i + 1], r_cy1[i + 1], r_z[i + 1]);
//glEnd();

 
It works!
Look at the picture, I have done the main road and right side. Left side is still old code (to see the difference)

test6.png
 
Looks heavy, but it seem they have an iOS version on the work, so it should be doable.

I'll take a look in the future (just not now, to many things already on the work)
 
well, it look heavy, but it seems to be just some kind of 360° image viewer with strange transition between the "nodes" to make you think it is actually real 3D... they claim it should run on low spec machine, that's why I put it here. theses kinds of game are quite great with the stylus...
 
I have another game for a skilled Allegro libs (version 4 here) developer ...a Super Metroid Classic remake by Salty

It's an unfinished (i think) remake of the game and the source is here

Here is a video of the remake in action

http://www.youtube.com/watch?feature=player_embedded&v=Fmxsq2hrIlE

I have (in the past) try to port it but i have several segfault...so i live it for a serious developer.. B)
 
I have another game for a skilled Allegro libs (version 4 here) developer ...a Super Metroid Classic remake by Salty

It's an unfinished (i think) remake of the game and the source is here

Here is a video of the remake in action

I have (in the past) try to port it but i have several segfault...so i live it for a serious developer.. B)
It's a windows only software. It compile under Linux with minor altering, but most (but not all)  of the Segfault are caused by differences in filesystem (like "Images\\Something" to change to "Images/Something").

I suspect a few memory overflow are still present in few places also...
 
Last edited by a moderator:
So, yes, there was some funy things in SaltyString.h. Same "all-in-one" style coding as for GnG Remix & X-Invasion...

Need to test now, but that's promising:
attachicon.gif
MTC1.png
attachicon.gif
MTC2.png
PtitSeb you CANT port stuff in this way. Slo' down, take a beer, drink and watch downloads counter of your ports in repo.. :D
 
Last edited by a moderator:
This game is full of surprise. First not loaded picture was drawn when on GameOver (Segfault), then after a first GameOver, you always loose, as the energy (and many other things) is not restored (not sure I have restored everything!) and after all that, It was running fine but just Segfault (again) when package... Well, it was the read_file, the fopen mode was "rb+" even if the data files are just openned for reading... I hope it will be the last modification this time.
 
One thing there isn't a lot of for the Pandora are TD games. I found a few open source games and was hoping someone could port a couple of these.

http://otd.sourceforge.net/ - Open Tower Defense

http://asd-td.com/ - not much in the graphics dept. but it's a bit different than most TD games, the creatures don't follow a fixed path

http://www.freewebs.com/pacdefence/ - Pacman inspired TD game

http://sourceforge.net/projects/pytowerdefense/ - TD game written in Python

http://code.google.com/p/omfgzombie/ - couldn't find much info on this one other than it's a zombie TD

http://ndswtd.wordpress.com/ - Warcraft Tower Defense
 
Last edited by a moderator:
Back
Top