Welcome, Guest. Please Login or Register.  • Help
SMF Underground
+ SHMUP-DEV » RAPID PROTOTYPE SESSIONS » Older Sessions » Session 14
|-+ Captain Justice's Entry [Ultra Pew]

Pages: [1] 2  All   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools  
Read September 01, 2009, 11:49:45 PM #0
CaptainJustice

Captain Justice's Entry [Ultra Pew]

I have an idea or two, and I'm going to give it a shot. My C++ skills are nearly non existant, but that's okay. Here we GOOO!

FIRST EDITION: http://www.megaupload.com/?d=7HNHUCKI
   You'll need this to run it.
« Last Edit: September 13, 2009, 06:20:39 PM by CaptainJustice »
Offline  
Read September 02, 2009, 12:09:58 AM #1
moosa

Re: Captain Justice's Entry -hopefully-

Mine are non-existent. x_x
Whoo-hooo!
Offline  
Read September 02, 2009, 12:27:32 AM #2
jakman4242

Re: Captain Justice's Entry -hopefully-

Good luck!

I tried doing an entry when I pretty much had no idea what I was doing in C++.(you can go ahead and take a gander to Leech, Session 5 I think.)

Didn't go so well.... Sadly.  Embarrassed


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 02, 2009, 07:35:31 PM #3
CaptainJustice

Re: Captain Justice's Entry -hopefully-

Well, I more or less know what I'm doing, I just don't know what I should be typing. So I'll have like 10 tutorials handy, etc.

Oh, and I have to learn what vectors are, because apparently that's ten important in shootemups. Well, how to use them. (I've used a vector, just not the code equivalent.)
Offline  
Read September 02, 2009, 09:09:07 PM #4
jakman4242

Re: Captain Justice's Entry -hopefully-

Try not to be confused with vector-art. Tongue
Although(I could only guess) vector-art is based off of vectors in programming.

http://cppreference.com/wiki/stl/vector/start
Here is a great reference list of available member functions for vectors.

Smiley


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 02, 2009, 10:16:35 PM #5
CaptainJustice

Re: Captain Justice's Entry -hopefully-

That's a pretty ridiculous thing to get confused about. Vectors are like a point with a direction and magnitude. 0: Math etc. Edit: Clearly, C++ vectors have NOTHING to do with that. Hohoho, I meant STL.

Er, and thanks for the link, but it doesn't look like it'd be much help to me.

oh man, I'm such a jerk. :C
« Last Edit: September 02, 2009, 10:20:55 PM by CaptainJustice »
Offline  
Read September 02, 2009, 10:20:21 PM #6
moosa

Re: Captain Justice's Entry -hopefully-

Haha. Vectors can get plenty more complicated, but straight lines are certainly enough for a shmup.
Offline  
Read September 02, 2009, 10:46:13 PM #7
jakman4242

Re: Captain Justice's Entry -hopefully-

That's a pretty ridiculous thing to get confused about. Vectors are like a point with a direction and magnitude. 0: Math etc. Edit: Clearly, C++ vectors have NOTHING to do with that. Hohoho, I meant STL.

Er, and thanks for the link, but it doesn't look like it'd be much help to me.

oh man, I'm such a jerk. :C

Actually, I was referring to that it might be possible that vector-art systems use the vector class to store the point values, and etc.

A great way to learn about vectors is to check out Motorherp's bullet managing tutorial.(in the tutorial section)
That's how I learned, along with a little explanation in my C++ book on what vectors were.


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 03, 2009, 02:12:34 AM #8
CaptainJustice

Re: Captain Justice's Entry -hopefully-

Hum, I probably will look through that tutorial one more time. C:

Edit: Okay so my current idea is that there's a boss that pews a full bullets now and then, and the bullets wrap around from the bottom of the screen to top. The only way to get rid of them is to do some SWEET GRAZING.

Naturally, the bullets will have to be positioned in fancy patterns so that there can be a COMBO / SCREENCLEAR mechanic.
Offline  
Read September 03, 2009, 02:51:05 AM #9
jakman4242

Re: Captain Justice's Entry -hopefully-

So wait, the way to cancel a bullet is for the bullet to graze against you?


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 03, 2009, 03:35:48 PM #10
kdmiller3

Re: Captain Justice's Entry -hopefully-

So wait, the way to cancel a bullet is for the bullet to graze against you?

Sure sounds like it.
Offline  
Read September 03, 2009, 04:45:42 PM #11
jakman4242

Re: Captain Justice's Entry -hopefully-

So wait, the way to cancel a bullet is for the bullet to graze against you?

Sure sounds like it.

This will be an interesting entry, then!  Cheesy


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 03, 2009, 07:46:03 PM #12
CaptainJustice

Re: Captain Justice's Entry -hopefully-

The ship will be shaped somewhat like this:

  Smiley
/    \

You'll have to graze it with the little winglets at the bottom. that way there's no stupid-invulnerability-bug/method.
Offline  
Read September 03, 2009, 08:15:00 PM #13
jakman4242

Re: Captain Justice's Entry -hopefully-

Very interesting!

I'm looking forward to playing this. Cheesy


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 05, 2009, 02:13:30 AM #14
CaptainJustice

Re: Captain Justice's Entry -hopefully-

I don't like it when shootemups have a shoot-button that just needs to be held down the whole time. There should either not be shooting by the player, or it should be strategic. (Think rRootage. Especially the ika portion. It's kind of silly having the shoot button.)

So I was thinking that in mine, shooting would expand your hit box a bit, making it more difficult to graze. I might do something with the graphic to show the guns popping out or somesuch.
Offline  
Read September 05, 2009, 03:53:10 AM #15
moosa

Re: Captain Justice's Entry -hopefully-

How about something like reducing the winglet size rather than increasing the size of the hitbox? That just sounds safer to me.
Offline  
Read September 05, 2009, 02:26:04 PM #16
CaptainJustice

Re: Captain Justice's Entry -hopefully-

And then, there should be two methods of achieving VICTORY.

1. Shoot ze enemies. (Edit: Enemy*)
2. Something related to canceling bullets.

Maybe canceling bullets charges a meter, and at a certain point, you can just DETONATE the enemy with your manliness.

It'd be a rRootage-eqsue boss-based system. :0
Offline  
Read September 05, 2009, 07:38:06 PM #17
moosa

Re: Captain Justice's Entry -hopefully-

LOL
Offline  
Read September 05, 2009, 08:17:01 PM #18
CaptainJustice

Re: Captain Justice's Entry -hopefully-

Okay! I did a lot of work today.

I've almost got the basic shootemup structure going, and drew the player's ship.



There's the ship, cruisin'.


When you hit spacebar (or whatever I change it to) it UNLEASHES A TORRENT OF GREEN DEATH.
NOTE THE LITTLE GUN THINGS THAT APPEAR OUT OF NOWHERE. Your ship OBVIOUSLY can't graze as well as before!

When you stop shooting, there's a little cooldown before your graze-size gets big again. (The guns stay there for a bit, etc.)

Okay, and I had started this file a while ago (the last time I wanted to make a shmup) and hadn't done anything with it. HOWEVER, I HAD set the window's name to "ULTRA PEW". I don't know WHAT gave me that idea, but it is AWESOME.


And the ship/background are animated, I just took some unfortunate screenshots.
Offline  
Read September 05, 2009, 09:43:34 PM #19
moosa

Re: Captain Justice's Entry [Ultra Pew]

I concur on "Ultra Pew."
Offline  
Read September 06, 2009, 12:49:04 AM #20
kdmiller3

Re: Captain Justice's Entry [Ultra Pew]

How about some Rck Dts, capitalization, and aberrant punctuation?  BR*PW
Offline  
Read September 06, 2009, 01:00:34 AM #21
moosa

Re: Captain Justice's Entry [Ultra Pew]

Eh. I like "Ultra Pew."
Offline  
Read September 06, 2009, 01:11:06 AM #22
kdmiller3

Re: Captain Justice's Entry [Ultra Pew]

As do I, really.
Offline  
Read September 06, 2009, 02:24:09 AM #23
jakman4242

Re: Captain Justice's Entry [Ultra Pew]

Yep, it's a pretty nice name. Kind of pokes fun at cheesy MMO names~


I'm still at loss as to what I'm going to name my game.


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 06, 2009, 02:58:46 AM #24
CaptainJustice

Re: Captain Justice's Entry [Ultra Pew]

We should all name them Ultra Pew, just for laughs when the poll comes around.
Offline  
Read September 06, 2009, 03:05:38 AM #25
kdmiller3

Re: Captain Justice's Entry [Ultra Pew]

Heh.  I like that.  Grin
Offline  
Read September 06, 2009, 03:10:28 AM #26
jakman4242

Re: Captain Justice's Entry [Ultra Pew]

I'd be for it. Tongue


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 06, 2009, 03:44:36 AM #27
CaptainJustice

Re: Captain Justice's Entry [Ultra Pew]

Wop.

Added a boss (named Jones, if you look at the little bit of code at the bottom.)
Apparently I have a secret talent for pixelly spaceships.

Uh, the boss can shoot straight down, 30 degrees from vertical, 45, and 60. The bullets bounce off the sides. (For fun.)

No collisions yet.

Changed the player's bullet.

Oh, and for some reason, I can't have individual animation frames for each bullet. liike

Code:
&spriteclippingthing[iterator->frame]

gives me an error. What am I doing wrong here? all the other iterator->ints seem to work.
« Last Edit: September 06, 2009, 04:43:03 AM by CaptainJustice »
Offline  
Read September 06, 2009, 04:14:24 AM #28
moosa

Re: Captain Justice's Entry [Ultra Pew]

Apparently I have a secret talent for pixelly spaceships.

Apparently. O_o
Nice job.
Offline  
Read September 06, 2009, 04:18:43 AM #29
jakman4242

Re: Captain Justice's Entry [Ultra Pew]

*gasp*

Are you using Dev-C++ as an IDE?


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 07, 2009, 01:06:28 AM #30
CaptainJustice

Re: Captain Justice's Entry [Ultra Pew]

Okay, something's gone horrible wrong with the collisions system, and somehow it's started messing up -everything else.-

I think I'm going to do some kind of roll-back and do a simpler/less economic method instead of continue messing with this indefinitely.
Offline  
Read September 07, 2009, 01:37:36 AM #31
kdmiller3

Re: Captain Justice's Entry [Ultra Pew]

Bummer.  Sad

I use Box2D for my own project since I wasn't interested in writing my own collision and dynamics system.  It's massive overkill for a shmup, but well-tested and reasonably fast.  Maybe it'll work for you too.  The stable release is here, and the latest version is on Google Code here.  The API changed a lot recently, so you'll save yourself a lot of trouble in the future if you go with the latter.

Also, are you using a revision control system?  If not, I strongly recommend something like TortoiseSVN.  It totally changed the way I work on personal projects.
Offline  
Read September 07, 2009, 02:47:49 AM #32
CaptainJustice

Re: Captain Justice's Entry [Ultra Pew]

What does TSVN do? All I've used it for is Garry's Mod.

Also: I'm getting somewhere on an exciting home-made system for collisions.
Offline  
Read September 07, 2009, 03:28:53 AM #33
kdmiller3

Re: Captain Justice's Entry [Ultra Pew]

What does TSVN do? All I've used it for is Garry's Mod.
TortoiseSVN is a Subversion client that integrates into the Windows Explorer shell.  Wikipedia explains revision control pretty well, but the basic idea is that it keeps previous versions of files.  It's one of those things that's hard to figure out why you need it until you've used it, and then you can't figure out how you ever worked without it.  Grin

Also: I'm getting somewhere on an exciting home-made system for collisions.
Nice!  What did you end up doing?
« Last Edit: September 07, 2009, 03:35:42 AM by kdmiller3 »
Offline  
Read September 07, 2009, 04:18:01 AM #34
CaptainJustice

Re: Captain Justice's Entry [Ultra Pew]

So far things are looking good. I'm using my own sort of minimum-time-until-collision method.

My favorite part is that until I need to debug something else, it says "IT'S CLOBBERIN' TIME!!!!!!!!" in the log whenever a collision is possible.

So

Quote
Adding Enemy bullet from new. 87 110 0
Adding Enemy bullet from new. 125 110 1
Adding Enemy bullet from new. 87 110 2
Adding Enemy bullet from new. 125 110 3
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 24 0
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 24 1
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 25 0
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 25 1
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 26 0
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 26 1
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 27 0
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 27 1
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 28 0
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 28 1
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 29 0
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 29 1
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
29 29 2
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
29 29 3
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 30 0
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 30 1
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
29 30 2
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
29 30 3
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 31 0
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
24 31 1
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
29 31 2
IT'S CLOBBERIN' TIME !!!!!!!!!!!!!!!
29 31 3

etc.

and look how classy this is:

added it a while ago.

Edit: It appears these pictures get shrunken and blurred, etc., because I'm posting them and they're too big.
« Last Edit: September 07, 2009, 04:20:41 AM by CaptainJustice »
Offline  
Read September 07, 2009, 10:46:52 PM #35
CaptainJustice

Re: Captain Justice's Entry [Ultra Pew]

Okay. I've got the collision detection working on the player. I also added a little visual effect thing to the wings.


Also, when the bullets hit the wings and disappear, the outline goes solid.


Cool.

Next: I'm going to make it so you can -die-. After that, collisions with the boss. After that, we'll see.

Coming soon?

« Last Edit: September 07, 2009, 11:00:28 PM by CaptainJustice »
Offline  
Read September 08, 2009, 12:36:44 AM #36
moosa

Re: Captain Justice's Entry [Ultra Pew]

Winggg Beeeeeeeeeeeeeeeeeeeammmmmmmmm!

(you should record that as a sound effect)
Offline  
Read September 08, 2009, 01:09:37 AM #37
kdmiller3

Re: Captain Justice's Entry [Ultra Pew]

Winggg Beeeeeeeeeeeeeeeeeeeammmmmmmmm!

(you should record that as a sound effect)

laugh

I second that.
Offline  
Read September 08, 2009, 02:06:01 AM #38
jakman4242

Re: Captain Justice's Entry [Ultra Pew]

Winggg Beeeeeeeeeeeeeeeeeeeammmmmmmmm!

(you should record that as a sound effect)

laugh

I second that.


Thirded'

With the addition of suggesting it be a cheesy Japanese phonetic.

Waigu Bemu!


My game design blog -- A bit outdated, but you might like to take a read anyway~
Or read my new blog!~ (which I do update)
My blog.
Offline  
Read September 12, 2009, 04:47:26 AM #39
CaptainJustice

Re: Captain Justice's Entry [Ultra Pew]

Okay, updated. You can now get shot and sploded (it happens to me with frustrating unrarity). The boss has a health meter, it is on the right, as the red portion of the graph that goes down. Also, when you eat a bullet, the blue meter, displayed right next to/in between the healthmeter, goes up! I'm planning to put the Wing Beamu thing as an ability unlocked when you fill the meter or something.

There were also various tweaks, such as colored bullets and stuff like that.



Note: All the meters appear purple, because of my bad design.
Offline  
Pages: [1] 2  All   Go Up
Jump to:  

Page created in 0.157 seconds with 18 queries.