Earth Invaders 0: Before the Attack with Map Editor
You might easily mistake it with the DS homebrew Earth Invaders given that they are made by the same person, but, Earth Invaders 0: Before the Attack is a homebrew made for the PSP and is smealum‘s entry to the Neoflash Summer Coding Contest.
He apologizes for not yet coming out with a polished version of the game because he unfortunately lost a lot of his initial work when the source file of the game got corrupted. Good thing he’s a regular Mr. Brightside and sees this as an opportunity to make improvements in the game. Our main concern, and I think everyone will agree, is to have enemies that aren’t our clones. Also, while playing the game, we fell through the obstacles and never surfaced – literally. We were actually waiting for the game to end, since we assumed that we’ve already died, but it’s just not doing that. However, even if it’s still unfinished, there are already a lot of things that you can do. Over here at QJ, we got a kick out of watching Gotenks get his Ki back. The opening sequence is also worth a mention.
Here’s more of smealum’s post about his entry:
That’s why i’m presenting to you this incomplete version, i would like advices and i’d also like to know what things you like, don’t like, or would like to have in the next version.
Also, none of the graphics (except the menu and the video….that i didn’t finish actually, this is only a test video i made to test my “video player”….) are by me, i took the sprites from Dragon Ball : Hyper Dimension (SNES, 1994). You’ll notice that the enemies look a little bit like you…. Undecided It won’t be like this in the real version. Also, the “story mode” in this version is only the map browser…
You’ll also notice a map creator, which isn’t in its final version either – though it already works pretty well.
Download: [Earth Invaders 0: Before the Attack]
Download: [Earth Invaders 0 Map Editor]
You might easily mistake it with the DS homebrew Earth Invaders given that they are made by the same person, but, Earth Invaders 0: Before the Attack is a homebrew made for the PSP and is smealum‘s entry to the Neoflash Summer Coding Contest.
He apologizes for not yet coming out with a polished version of the game because he unfortunately lost a lot of his initial work when the source file of the game got corrupted. Good thing he’s a regular Mr. Brightside and sees this as an opportunity to make improvements in the game. Our main concern, and I think everyone will agree, is to have enemies that aren’t our clones. Also, while playing the game, we fell through the obstacles and never surfaced – literally. We were actually waiting for the game to end, since we assumed that we’ve already died, but it’s just not doing that. However, even if it’s still unfinished, there are already a lot of things that you can do. Over here at QJ, we got a kick out of watching Gotenks get his Ki back. The opening sequence is also worth a mention.
Here’s more of smealum’s post about his entry:
That’s why I’m presenting to you this incomplete version, i would like advices and I’d also like to know what things you like, don’t like, or would like to have in the next version.
Also, none of the graphics (except the menu and the video….that i didn’t finish actually, this is only a test video i made to test my “video player”….) are by me, i took the sprites from Dragon Ball : Hyper Dimension (SNES, 1994). You’ll notice that the enemies look a little bit like you…. Undecided It won’t be like this in the real version. Also, the “story mode” in this version is only the map browser…
You’ll also notice a map creator, which isn’t in its final version either – though it already works pretty well.
He’s also made a map editor for Earth Invaders 0, it has a source code that permits you to load maps from external files. So you can not only edit and maps to EI 0, but do the same for your other PSP games as well. Here’s the source code and further instructions from smealum:
while (!osl_quit)
{
oslStartDrawing();
oslReadKeys();
oslDrawFillRect(0,0,480,272,RGB(255,255,255));
oslPrintf_xy(20, 20, “Map name : %snn Up/down : Change mapnCross : Select map”,maps[choix].name);
if(osl_keys->pressed.up && choix < nbmaps-1)choix++;
else if(osl_keys->pressed.down && choix > 2)choix–;
else if(osl_keys->pressed.cross)break;
oslEndDrawing();
oslSyncFrame();
}
strcpy(mapname,maps[choix].name);
while (!osl_quit)
{
if(chdir(mapname)!=0)oslMessageBox(“Critiqual error. Press Triangle to quit.”, “Error”, oslMake3Buttons(OSL_KEY_TRIANGLE,OSL_MB_QUIT,0,0,0,0));
fond = oslLoadImageFile(“fond.png”, OSL_IN_RAM, OSL_PF_5551);
maptiles = LoadTileset(“tiles.png”);
if(!fond || !maptiles)oslMessageBox(“Critiqual error. Press Triangle to quit.”, “Error”, oslMake3Buttons(OSL_KEY_TRIANGLE,OSL_MB_QUIT,0,0,0,0));
col=fopen(“col”,”r”);
bag=fopen(“bag”,”r”);
events=fopen(“events”,”r”);
if(!bag || !col || !events)oslMessageBox(“Critiqual error. Press Triangle to quit.”, “Error”, oslMake3Buttons(OSL_KEY_TRIANGLE,OSL_MB_QUIT,0,0,0,0));
fscanf(col,”%ld;%ld”,&map1.sizey,&map1.sizex);
for(i=0;i<map1.sizey;i++)
}
fclose(col);
fclose(bag);
fclose(events);
map1_map tables are shorts.
Also, here are the defines i use :
#define map1_map(i,j) map1_map[j]
#define map1_map1(i,j) map1_map1[j]
#define map1_map2(i,j) map1_map2[j]
Unfortunately, the last version of EI 0 is very buggy, so some maps might not work well with it…
Here are the controls :
D-PAD : Move the pointer
X : Put tile
/ : Delete tile
R / L : Change tile
Start : Save
The map will always be saved to the output folder.
Download: [Earth Invaders 0: Before the Attack]
Download: [Earth Invaders 0 Map Editor]
Via Neoflash