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.

Newcomers DBPro Corner / Shoot 'Em Up Engine V2.0

Author
Message
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 11th Sep 2004 10:48 Edited at: 14th Sep 2004 07:21
Shoot 'Em Up Engine V2.0 for DBC is complete...

What the Shoot 'Em Up engine is, is code to help get you started on making a classic 2d Shoot 'Em Up game. You can tear the code apart and just use bits and pieces, you can use it as a basis to help you learn Darkbasic, or you can just change the graphics and call it your game. However if you use my code I would appreciate to get some credit.

Features of v.20

v2.0 you can now type the number of enemies you want per wave/level and the amount of waves/levels (See Picture Below) and the engine does it all for you.
With v2.0 you can have up to 500 enemies in the same lv (Lots of Lag) or 500 enemies mixed within 20 different waves.

In this Picture it shows where you can change some of the Variables to fit your needs.


You can also change the Player Lifes and your Player Life Icons will automatically be implemented for you.

Have 5 Lifes


Or Have 10 Lifes because the engine places the sprites for you by just entering 1,3,5,10 ect.


Its also easier to add your own images in v2.0, just open the LoadMedia.dba file and follow the comments.
And all of the Functions are stored in a seperate file so you can easily tweak them to suit your needs.

To Download V2.0 copy and paste the link below into your address bar.
=====================================================
www.angelfire.com/games5/db_games/ShootEmUpEngine.zip
=====================================================

Keep in mind that this code is just a basis for your game and you should change it to suit your needs.

NOTE: To make the engine better post any comments, bugs, Ideas below or Email me at skeletorsks1987@yahoo.com


http://www.angelfire.com/games5/db_games/
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 12th Sep 2004 23:07
No comments
Good? Bad? HelpFul?


http://www.angelfire.com/games5/db_games/
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 14th Sep 2004 07:23 Edited at: 14th Sep 2004 07:32
Lol Hoping that all of you are on 56k and could not find the time to download my engine I decided to post the code for you.

Note: Just save the code below in individual files. I would however recommend you download my engine with the link above because it comes with images.

Below is the Main game code. As you can see its much nicer then my old version in the codebase and my other thread. Name this file whatever you want.



This is all of the function code. You need to place this in the same folder as the main game code. Name this file "Functions"


This is the code that you need to change. What you do is load your images in in the correct order. You need to place this in the same folder as the above code. You also need to store your media in a folder named Media within your game folder.

Name this File "LoadMedia"



http://www.angelfire.com/games5/db_games/
Turoid
20
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 14th Sep 2004 19:15 Edited at: 14th Sep 2004 19:28
yes pretty good But it only works in DBC, nevermind are you making a pro version too ?
This will help allot people to make a 2d shoot m up game!! nice.

Do you need a complete FPS engine ?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
Lukas W
20
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 14th Sep 2004 21:12
yup, very nice indeed.
I only took a look at the code, but it looks great.
clean and easy to read code! good work.

I am downloadin the zip, (200mbs (at school))

will try the thing when I get home


I am not cool anymore... or am I?
http://n0id.proboards28.com/index.cgi - please join
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 15th Sep 2004 02:34 Edited at: 15th Sep 2004 02:34
@ Jopie dopie
The only problem with making a DBP version is text might be a little bit of a problem and there is no Pixel perfect collision. I could however make this work in DBP but I dont know if I want to take the time. Out of 120 views only you guys posted and it seems like nobody would care.

So if you care then post lol


http://www.angelfire.com/games5/db_games/
Cian Rice
19
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 15th Sep 2004 04:47
We could do with your tuts at Dark Tutor Skeletor, go to Tut Database thread to find the link.

Got anime?I do.
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 15th Sep 2004 05:57
http://www.colorarts.de/dbtutor/

This is the website you were talking about right? I think if I submit it to them Im going to make the game just 1 file.


http://www.angelfire.com/games5/db_games/
Cian Rice
19
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 15th Sep 2004 06:21
No, I ment DarkTutor. The link is on my Tutorial Database thread, on the last page near the bottom.

Got anime?I do.
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 15th Sep 2004 06:47
Im a registered member on your site, but not sure where to submit my code. If you want you can just add it to your site for me.


http://www.angelfire.com/games5/db_games/
Cian Rice
19
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 15th Sep 2004 07:27
You can't submit, you post the tut and we format it into a tut for you, well at least at the moment, any other tuts will be welcome.

Got anime?I do.
RandomSKK
19
Years of Service
User Offline
Joined: 15th Sep 2004
Location: Surrey, UK
Posted: 15th Sep 2004 09:00
Nice!
I downloaded it, had a quick play with the code...

It's got code for shooting, which is one thing I usally get stuck on, so it's incredibly helpfull

Thanks for posting it

Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 15th Sep 2004 09:26
Okay I posted it on your site. Im becoming good I guess you could say with 2d DBC/DBP game programming so if you have a 2d question maybe I can help.

Okay Back on topic anyone else find the code helpful and should I make a DBP version?


http://www.angelfire.com/games5/db_games/
Radio Check
19
Years of Service
User Offline
Joined: 18th Aug 2004
Location:
Posted: 19th Sep 2004 03:40
I had an error opening the file in PowerArchiver

I saw your v1.0 and was really looking forward to the v2... maybe i will do the copy/paste thing...

Making a cool sig is just too much pressure for me right now.
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 19th Sep 2004 13:53
Oh bummer the newer version is a ton better. Gameplay elements are the same (User can Change) but you can control other elements 100x easier without coding (By typeing a number).

Well if you get it working post any comments, questions, or ideas here or email me.


http://www.angelfire.com/games5/db_games/
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 21st Sep 2004 00:36
@ RandomSKK

Didnt even notice your post before. Anyhow Im glad you like it .
Thanks for posting and if you have any questions, comments, or ideas email me or post here.


http://www.angelfire.com/games5/db_games/
Qweeg
19
Years of Service
User Offline
Joined: 23rd Sep 2004
Location: Kent
Posted: 24th Sep 2004 06:37
Having just got DBPro and being new to the language (and into shooters), I for one would greatly appreciate seeing a DBPro version of your engine

viperjay
21
Years of Service
User Offline
Joined: 19th Dec 2002
Location: United States
Posted: 25th Sep 2004 03:59
Skeletor

Thank you very much for making this Shoot 'Em Up Engine V2.0 for DBC. I know it will be very helpfull

viperjay
Skeletor
19
Years of Service
User Offline
Joined: 21st Jun 2004
Location: florida
Posted: 25th Sep 2004 04:54 Edited at: 25th Sep 2004 04:55
Np glad I could help

@ Qweeg

Okay, not sure when I will have the time/feel like coding it but I think I will make a DBP version.

Oh and I appreciate the feedback


http://www.angelfire.com/games5/db_games/
Mr Fraggs
20
Years of Service
User Offline
Joined: 17th Oct 2003
Location: US
Posted: 5th Oct 2004 12:22
Yeah me too id really apritiate a DBP version as i dont have DBC
ConorH
21
Years of Service
User Offline
Joined: 5th Feb 2003
Location:
Posted: 18th Oct 2004 01:28
A DBP version would be much appreciated here as well

its my new rat tail dog!
ConorH
21
Years of Service
User Offline
Joined: 5th Feb 2003
Location:
Posted: 18th Oct 2004 01:38
also the angelfire link no longer works

its my new rat tail dog!
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 18th Oct 2004 14:47
i believe its "lives", not "lifes"

"eureka" - Archimedes

Login to post a reply

Server time is: 2024-04-26 16:42:43
Your offset time is: 2024-04-26 16:42:43