• Announcements

Archived

This topic is now archived and is closed to further replies.

Bosses in side shooters and such

Recommended Posts

Well, right now I just have my basic engine going with my project "Space Blasters". It''s a 2D side scrolling shooter and so far I''ve got my original but crappy ship, and 2 ripped sprites as enemies which I will replace when I make my own. My background is just a scrolling bitmap, nothing special. No special obstacles yet or anything, just a black background bitmap with white boxes as ''stars''. But how do I know when a boss should come? Should I make a timer and have the boss appear after about 2 minutes of shooting enemies? Or should it happen when the player hits a certian score? I''m more leaning towards the timer but it''s going to be a pain to deal with all the 0''s when using SDL_GetTicks().
R.I.P. Mark Osback Solo Pa Mi Gente VG-Force Ekim Gram Productions

Share on other sites
You could count the total distance that the ship has traversed. That would ensure that the entire level is completed. That will help if/when you start making more complex, scripted levels.

Share on other sites
My level is just a 640x480 bitmap looping over itself right now...should I just record how many times it loops and then after x times, I add the boss?

R.I.P. Mark Osback
Solo Pa Mi Gente
VG-Force
Ekim Gram Productions

Share on other sites
quote:
Original post by Ekim_Gram
My level is just a 640x480 bitmap looping over itself right now...should I just record how many times it loops and then after x times, I add the boss?

R.I.P. Mark Osback
Solo Pa Mi Gente
VG-Force
Ekim Gram Productions

That would work, although I suggest that you establish a standard system for units. You might count one pixel as one standard unit. So just make a distancetraversed variable and add the number of pixels the ship has traversed every loop.

Share on other sites
Thats a design issue. But you can apply more than on constaints.

1-Use distance traveled by camera or ship.

2-Player must destroy a number of enemies of certain classes.

3-The timer isnt a good......

Share on other sites
Thanks for the replys guys! I think I''ll be going with distance traveled. Now I just gotta make a short algorithm for adding the distance and what equals what.

VG-Force |Ekim Gram Productions

• Forum Statistics

• Total Topics
627746
• Total Posts
2978906

• 10
• 10
• 21
• 14
• 14