Super Bomberman Blast... 2! (EXE) v1.50.4

Status
Not open for further replies.
flatulant said:
I'll Begin said:
Have you EVER played Bomberman before?

No.
*Histaricly laughs* Well, anyway way. In Bomberman games, you don't blow up all the blocks, you goal to to kill all your enemies, or in this case, the other players. So, in simple form.
You can't play it in single player!
 
I've been busy lately working on the EXE...

I've added a custom eggman boss. Which can be found on MAP03 after I release a new beta of this.
I've modified the speed of the player, I plan to change it back after I add a TOL_ADVENTURE thing in an if statement that I still have to write up...

I also have to fix the Bomb pickup code... For some reason there's lots of problems with it...

I promise, after I get the pickup code working, I'll release another beta of this.
 
I Combined the item code.
P_User.c: starting at line 4809
Code:
	/////////////////////////
	//ITEM CODE//
	////////////////////////

	if (player)
	{
		thinker_t *think;
		mobj_t *mo;

		for (think = thinkercap.next; think != &thinkercap; think = think->next)
		{
			if (think->function.acp1 != (actionf_p1)P_MobjThinker) // Eliminate anything except Mobjs
				continue;
			
			mo = (mobj_t *)think;

			// If the mobj doesn't have any health, or if it's disappearing, ignore it.
			if ((mo->health <= 0) || (mo->state == &states[S_DISS]))
				continue;


			// Ignore anything EXCEPT powerup items
			if (mo->type != MT_FIREUP && mo->type != MT_BOMBUP && mo->type != MT_SPEEDUP && mo->type != MT_FULLFIRE)
				continue;

			// Out of range? Skip it.
			if (P_AproxDistance(P_AproxDistance(player->mo->x-mo->x, player->mo->y-mo->y),
				player->mo->z-mo->z) > 20*FRACUNIT)
				continue;

			P_KillMobj(mo, NULL, NULL);
			S_StartSound(NULL, sfx_getitem);
			if (mo->type == MT_FIREUP)
			    player->firepower += 1;
            		else if (mo->type == MT_BOMBUP)
			    player->bombcount += 1;
            		else if (mo->type == MT_SPEEDUP)
			    player->speedcount += 1;
            		else if (mo->type == MT_FULLFIRE)
			   player->firepower += 5;
		}
	}

	// Cap the limit on the bomb, fire, and speed items.
	if (player->bombcount >= MAXBOMBS)
		player->bombcount = MAXBOMBS;

	if (player->firepower >= MAXFIREPOWER)
		player->firepower = MAXFIREPOWER;

	if (player->speedcount >= MAXSPEED)
		player->speedcount = MAXSPEED;

	//////////////////////////////////////
	//END OF ITEM CODE//
	//////////////////////////////////////
 
NEW Version!: v1.50.3

http://www.megaupload.com/?d=463077TX

What's new in this EXE?
You can pickup bombs (This took a very long time to make, seeing as I didn't know how to do it in the first place).
Modified Boss battle, found on MAP03. It uses similar movements to that of the spellmaker from Bomberman 64.
Modified 2D movement a tiny bit.

If you throw a bomb ontop of a bustable block, that's not a bug. Everything cannot be exact to the Original thing.

Credits:
Turtle-man for updated code
Segmint for correct music looping
SRB2-Playah for sprites
Shuffle for + bomb explosions
 
shadow the fox said:
My game froze while fighting the boss.

I somehow didn't notice this post.
Is it possible you might be able to explain how it froze?

Were you holding a bomb when it froze?
Were you throwing a bomb when it froze?
Was a bomb exploding or about to blow up?
Was the boss doing anything?

If you explain to me what you were doing at the time or what your environment was, I might be able to fix whatever is causing the freeze.
 
For me, it froze when I tried to pick up a bomb...

Oh...and I'm about to try this online, but what i'v done in SP...rocks

EDIT: When I try to join a server, i get c-kicked....Whats wrong with it?
 
I had the game crash when I picked up a bomb.
Right when I dropped a bomb I picked it up.
When I try to crash the game it won't.

And as NeoJames said
When I try to join a server, I get c-kicked.
Maybe try saving player->pickedupbomb?
 
Turtle Man said:
Maybe try saving player->pickedupbomb?

I might have forgotten to add that in P_saveg.c.
As for the things that cause the freeze, keep reporting, I'll try to figure out what causes the freeze based on peoples responses.
 
NeoJames said:
What about online?

Can you fix that

Yes, I'm sure I can fix it and I'm sure I already did, although I didn't test the changes I made yet. I just need people to keep reporting the freezing problems, I'm currently working on the code.
 
My game froze right after my bomb exploded near eggman.






PS: I think thats when it did it, but i'm 80% it was then.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top