Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / Laser Assault 2 - 2D space game with source & media

Author
Message
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 10th Dec 2005 14:31 Edited at: 17th Dec 2005 19:22


Description

Laser Assault 2 is the sequal to Laser Asasult (The first game I ever made, a space game where you dodged abunch of different-colored lasers), where you shoot a bunch of alien ships. It is an old-school type side-scrolling space game in 2D. There are a few different types of ships, two of which shoot at you. This is the biggest game I have ever made so far, so I am obviously kind of new to DB.

Hope you like it!



Controls

Arrow keys - Control the ship

Space - Shoot

Shift - Brings you to the boss. This was used to debug the boss part, but I never got rid of it.



Kinds of ships


This is your ship.


This is the smallest of the alien ships, so it is hard to shoot. It automaticly homes in on your ship, but are really slow, so they aren't very dangerous. They just take space to move around from you. Points: 20


These are the least dangerous of the ships. They are big, slow, and don't shoot. Points: 5


These are the hardest to shoot. They quickly fly in from the right side of the screen, then stop at the left side, and quickly exit through the right side again. You only have about 1/2 a second once it has reached the left side of the screen to shoot it. Points: 50


These are one of the ships that shoot. It flies up and down, while shooting bullets at your ship. Points: 40


This is the other of the two that shoot. It homes in on your ship, while shooting. These are the most dangerous. Points: 45



Powerups
+1 live
+1 multiplier
+100 score



Multiplier
The multiplier is the amount that the score is multiplied by when you gain points.



Screenshots







Features
*5 Diffrent animated alien ships to destroy
*Scrolling star background
*At the begining of the game, it is easy, but gets harder and harder...
*Live system
*Cool music sound effects
*Score system
*3 Powerups
*Cool music
*A boss ship
*Menu

Because the code structure wasn't planned very well, it is nearly impossible to continue, so the development of this game ends with only one level. I might make Laser Assault 3 sometime...

Download
here(the file attatched to this post is an earlier version. Ignore it.

Source


Media
The media to go with the source will be posted soon.

Attachments

Login to view attachments
Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 10th Dec 2005 17:05
???

No messages? What is this?

???
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 10th Dec 2005 17:38
Seems some careless mod approved the topic but not the posts within it

UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 10th Dec 2005 17:44
Here is the media.

Quote: " ???

No messages? What is this?

???"

Quote: " Seems some careless mod approved the topic but not the posts within it "

Huh? What are you talking about? I'm confused...

Attachments

Login to view attachments
Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 10th Dec 2005 17:52
lol
Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 10th Dec 2005 18:35
There was nothing in this thread when I looked at it the first time. Not even your message. But someone fixed it, and my guess is that it was David T.
Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 10th Dec 2005 18:48
I've just downloaded it. Nice work. The only complain is that you exit the game when you loose. But still, nice work. I like it.
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 11th Dec 2005 14:54
Quote: "The only complain is that you exit the game when you loose."

Yeah. I tried to make it go back to the menu, and then let you play again, but I couldn't get it to clear the variables right, so I just made it end.
Evil stick
19
Years of Service
User Offline
Joined: 27th Mar 2005
Location:
Posted: 11th Dec 2005 18:26
Great!

But when you click credits, it exits.


FORUM n00b THREAT LEVEL: ORANGE
Some thread revival/spam-Some bad grammar used, stupid questions or answers-No direct flaming
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 11th Dec 2005 21:45 Edited at: 11th Dec 2005 22:24
Yeah credit problem, ending after losing problem, and the HUD isn't very nice, but other than that it's pretty good. Although some people like to use spacekey and others like controlkey (i.e. me) so maybe you could replace your spacekey() = 1 with...



and put this with your functions



Just a thought.



UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 11th Dec 2005 23:55
Quote: "But when you click credits, it exits."

oh...woops!
I didn't add that when I was working on it and I forgot to add it. I was going to add a help and support section, but there were very little people who gave suggestions in my wip topic.

Ok, I updated the program.
You can not shoot with either the space, or control, and the credits screen is now there.
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 12th Dec 2005 00:00 Edited at: 17th Dec 2005 19:25
ok...I guess I can't edit the first post. I am still noob slapped.

Here is the new version.

You may be thinking that this belongs in the wip, but only small errors will be fixed. Anyway, since the wip has more interesting stuff(because alot of it doesn't make it to the program announcements), a small 2D shooter wouldn't as interesting in there than in here.

Yes, I know the hud looks bad, but I stopped working on this because the code was so sloppy, it was hard to continue.

Attachments

Login to view attachments
Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 14th Dec 2005 17:46
I get an error when i start it . It is the same as before... put the media file (same as befor, I hope) into the game folder???
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 15th Dec 2005 00:35
OK. Download the attachment of the first post.
Sorry. I was testing the program with the media folder in the same directory, so I didn't get an error, but I moved it to another folder and there was an error. It is fixed now. Thanks.
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 17th Dec 2005 00:58
Oh BTW nice to know that there is someone else in the Raleigh region. Well there's Zedane/Gokz/Gokul but he's a loser and we will not speak of him and longer. Anyway what school do you go to, I might know where it is. What I really like about this game is that you at least left room for a HUD and the enemy movement is pretty nice. Might I suggest a few weapon upgrades and such?



UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 17th Dec 2005 14:40 Edited at: 17th Dec 2005 14:42
Quote: " Oh BTW nice to know that there is someone else in the Raleigh region."

Same here.

Quote: "Anyway what school do you go to, I might know where it is."

Uh...Sorry, I con't tell you that(I'm parinoid, especially my parents)


Quote: "What I really like about this game is that you at least left room for a HUD"

That wasn't really the reason I did that at the begining, but later I discovered it was a good place to put the HUD, and then I discovered that I will have to do some major remodeling to make more levels and such. Oh well.... I am thinking of making a Laser Assault 3 after I finish a rolling ball game where you roll around a level as fast as you can(kind of like Alex Riva's Marble Run, which is where I got my inspiration).

Quote: "Might I suggest a few weapon upgrades and such?"

That would be helpful for the Laser Assault 3 game.

Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 17th Dec 2005 15:50
Yeah after rereading my post I realized that asking what school you went to looked a little creepy. Anyway I hope to see LA3 soon.



UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 17th Dec 2005 16:34 Edited at: 17th Dec 2005 16:45
Thanks
The rolling ball game is going nicely. I will start a wip topic soon.

Quote: "Anyway I hope to see LA3 soon"

I am thinking about making .dat files for each type of ship with data for them, and .dat files for each level. I am thinking about making the enemies coming in waves instead of randomly. I have a good idea for what I will do.

Thanks for the comments, Antidote!

Oh...and how did you know where I live before I changed my location thingy? From the post about a month ago where I said that you live near me?

Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 17th Dec 2005 17:53
yes and in the game you press about and it tells you that.



UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 17th Dec 2005 18:14
oh...I remember now...

Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 17th Dec 2005 19:05
Quote: "OK. Download the attachment of the first post."


Guess what? It says

Quote: "Runtime Error: ERROR 10"


just as befor. I was supposed to download the .exe under the Download in the first post?

Or porhaps its just my computer being noughty .
Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 17th Dec 2005 19:08
Quote: "I am thinking about making .dat files for each type of ship with data for them, and .dat files for each level. I am thinking about making the enemies coming in waves instead of randomly. I have a good idea for what I will do.
"


Sounds cool . Looking forward for LA3.
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 17th Dec 2005 19:23
Oh, you must have clicked on the download here link, which I didn't update. The download was in the download button of the first post. I updated the link.

Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 18th Dec 2005 11:41 Edited at: 18th Dec 2005 11:43
Nice. But you still exit when you lose . Try with
when you loose. But first you must place a label in the beginning (at the main meny) that you go to.
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 18th Dec 2005 12:30
Hey, that's a really nice game you got there! Apart from the problems people have mentioned above, for some reason i find the enemies bullets hard to see. Maybe it's because the bullets are dark red and not bright enough. The game is also pretty quick but maybe that's the speed you were going for. Anyways good job!

UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 18th Dec 2005 14:06
Well...um...I didn't use timer based movements(whoops) so it will go faster on other machines.
Quote: "But you still exit when you lose "

Yes, I know. That is because I quit working on it because the code is messed up.

Thanks for the comments.

Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 18th Dec 2005 19:13 Edited at: 18th Dec 2005 19:14
well, at first i would say you should delete that
in the You-Lose part of the code, because that command only does one single thing: EXITS THE PROGRAM. Then simple place a goto cammand that send you right back to the main menu.

Quote: "Well...um...I didn't use timer based movements(whoops) so it will go faster on other machines. "


You are not alone. I confess now that Ive never used a timer . Just cant understand them.
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 18th Dec 2005 19:25
Gahh! That is exactly what I can't do!
Quote: "Yes, I know. That is because I quit working on it because the code is messed up"


I tried doing it for a long time, but I couldn't get it to work right(the variables weren't cleared correctly)

Anyway, I'm not going to change anything else with the program because I am at the moment working on Bomb Roller, and this project is over(I'm not working on it anymore)

Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 18th Dec 2005 20:45
Ok, goodluck with the new project. By the way, would you mind if I try to solve the problem that you exit when you loose? Dont worry, Im not that kind of person who would steel it steel it. And if you like I could post it back to this thread, with the source code, of course.
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 18th Dec 2005 20:54
No thanks. I am not working on this project anymore.

Thanks though!

Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 18th Dec 2005 21:02
Goodluck .

Login to post a reply

Server time is: 2024-11-22 18:59:50
Your offset time is: 2024-11-22 18:59:50