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.

DarkBASIC Discussion / Dark Noob Games HQ

Author
Message
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 22nd Nov 2008 16:33 Edited at: 22nd Nov 2008 17:15
Will check that out Ashingda.

I had another game idea: Tower Defense Game.

I thought that'd be fun.

Example:




I download memory.
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 22nd Nov 2008 17:52
You mean like Bloons Tower Defense? I think that's great! Top-down games are normally pretty good.


"I reveal my trap card, GEORGE DUBYA BUSH!
America loses 2000 Life Points! America loses." -Deucalion2
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 22nd Nov 2008 17:57 Edited at: 22nd Nov 2008 20:52
Quote: "Bloons Tower Defense?"


Exactly.

And the I don't think it will be too hard, besides the requirements for lots of images for towers. (probably like 25)


The difficulty would be the targetting system- Calculating the bullets direction.
Obviously this is horribly slow, and not clean code, but it's just to show what should be calculated.

And obviously the tower has to have some limit to it's ranged.



I download memory.
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 22nd Nov 2008 21:02
@Everyone

Srry, I was gone and busy and stuffs....

I think tower defense would be great: we could incorporate the various towers and enemies and not be too difficult.

~QJ
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 22nd Nov 2008 21:05
Towers could be fun. Thats the one where you set up towers to defend against the people who walk in attack and walk out and the towers attack them, right? That could be rather interesting.

Another idea is a scorched earth clone. If you don't know what it is, here is the idea. 2+ tanks are on a playing field, with hills (or flat for a slightly more boring game) and have to set the power and angle of their shots to hit each other. They can move left and right a certain distance in each turn. When shooting they will have to account for the wind speed and direction to with their shots.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 22nd Nov 2008 21:13
@BN2

That would be alot of one person coding. A lot of mathematics.


I download memory.
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 22nd Nov 2008 21:32
For something like a tower defense: here's a good one:
http://www.handdrawngames.com/DesktopTD/Game.asp

~QJ
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 22nd Nov 2008 21:39
I didn't know what it was so I tried it out on some web site, D@MN it's addictive! that would be great to make also. I'll try running some tests on it too.
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 22nd Nov 2008 21:45
Quote: "That would be alot of one person coding. A lot of mathematics."

Not necessarily. I know the math pretty well and could walk you guys through the math, or just write the physics functions if necessary.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 22nd Nov 2008 21:50
Take a vote?

~QJ
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 22nd Nov 2008 22:03
I vote TD!

(Figures )


I download memory.
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 23rd Nov 2008 00:06
I also vote tower defense. Although I might not be able to code, I'll try my best to make media for it.


"I reveal my trap card, GEORGE DUBYA BUSH!
America loses 2000 Life Points! America loses." -Deucalion2
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 23rd Nov 2008 05:29
Hmm I'm kinda bad at math so I'll try doing images and menus instead.
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 23rd Nov 2008 05:39
Is that a vote for or against TD?


I download memory.
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 23rd Nov 2008 06:13
2 people on media? I think we will need more programmers than just 2.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 23rd Nov 2008 14:25
Oh my gosh yes.


I download memory.
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 23rd Nov 2008 15:21
Ofcourse it wont be all media, anyone going to run some test?
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 23rd Nov 2008 15:27
I was going to say, we'll probably want some coders.

Just having media people is like... a bun with just ketchup and mustard! Yuck!

~QJ
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 23rd Nov 2008 15:39 Edited at: 23rd Nov 2008 16:59
Firstly, we need to

Decide Game Types:
Are they going to be elemental? (Fire, water, air)
Are they going to be medieval? (Arrows, cannons)
Are they goin to be space-themed? (Lazers)
How many upgrades?
How many tower-types?
How should the enemies look? (Dots, wolves, aliens)
Should there be bosses?

Each person should answer these questions, then we'll use what the majority votes for.

My answers:

Are they going to be elemental? (Fire, water, air, etc.) Yes
Are they going to be medieval? (Arrows, cannons, etc.) No
Are they goin to be space-themed? (Lazers, etc.) No
How many upgrades? 4
How many tower-types? 4
How should the enemies look? (Dots, wolves, aliens, etc.) Dots


I download memory.
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 23rd Nov 2008 16:53 Edited at: 23rd Nov 2008 16:54
Are they going to be elemental? (Fire, water, air, etc.) No
Are they going to be medieval? (Arrows, cannons, etc.) No
Are they goin to be space-themed? (Lazers, etc.) Yes
How many upgrades? 4
How many tower-types? 6
How should the enemies look? (Dots, wolves, aliens, etc.) Happy Face, Smiley Face, Mean Face, Etc
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 23rd Nov 2008 16:56 Edited at: 23rd Nov 2008 17:03
Your being agressive about it.

Another question (last):
Should there be bosses?

And I think a specified track would be nicer, as well as NO flying opponents. They drive me nuts, and are not fun.


For those of you who are not famliar with TDS:
A bunch of TDs: http://www.freewebarcade.com/tower-defense-games.php
The style of TD I was thinking of:
http://www.freewebarcade.com/game/tower-defence/


I download memory.
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 23rd Nov 2008 17:04
I dont know anything about bosses the only one I've ever played was Bloons tower defense.
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 23rd Nov 2008 17:23
http://www.freewebarcade.com/game/flash-element-td/

This is a -very- popular Tower Defense game. It has bosses in it.


I download memory.
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 23rd Nov 2008 17:47
First, I think that the game mechanics should be developed, THEN the details, and THEN go with new ideas, such as weapon types and such (which, when you think about it, firing a fire ball and firing an arrow will code about the same). It would only be hard to change if we don't make it well. Every specific should be coded in as a variable, even if it is a constant (such as speed for a particular tower type).

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 23rd Nov 2008 17:58
The complicated part is determing detection range, and determening the flight of the projectile.


I download memory.
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 23rd Nov 2008 18:00
Decide Game Types:
Are they going to be elemental? (Fire, water, air) No
Are they going to be medieval? (Arrows, cannons) No
Are they goin to be space-themed? (Lazers) YES!
How many upgrades? 2 sets of two for each unit (basically four)
How many tower-types? I'd say eight.
How should the enemies look? (Dots, wolves, aliens) Helicopters, spaceships, land vehicles, etc.
Should there be bosses? I'm not really sure about this one. BTD has 'em (the MOAB) but I don't think they're very fun. So I say no to bosses.


"I reveal my trap card, GEORGE DUBYA BUSH!
America loses 2000 Life Points! America loses." -Deucalion2
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 23rd Nov 2008 18:49
Are they going to be elemental? (Fire, water, air)No
Are they going to be medieval? (Arrows, cannons)No
Are they goin to be space-themed? (Lazers)No
How many upgrades?4 or 5
How many tower-types?more than 4
How should the enemies look? (Dots, wolves, aliens)Modern war vehicles
Should there be bosses?Heck yes!

~QJ
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 23rd Nov 2008 18:56
Based on the average, we're going to do, spaced themed, 6 tower types, 4 upgrades. No bosses. The enemies should be dots in my opinion, because faces would look weird with the theme.

Vote for smiley faces, or against now, then I'll put up what needs to be done.


I download memory.
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 23rd Nov 2008 19:22
No faces!

~QJ
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 23rd Nov 2008 22:13
I want to do dots. That way you dont have to change the direction of the guy, etc.

I think it's time to make DarkNOOBS Project 2 Thread BN2.


I download memory.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 24th Nov 2008 01:43
I would love to run the next project but seeing as I'm without a computer of my own and it's taken me a week to get access I don't want to commit and leave the team stuck in the mud.

RPG would be too complex and would need a bigger team, we need to use this project to learn how to modularize our work before attempting something that scale.

Lots of posting so i havent read everything...
I like the ninja platform game idea, would also invite the idea of research into our projects, I'm sure there as some cool things about ninjas we don't know about that could become gameplay mechanics. Would also help give the storyline some credibility.
Yes I vote for the platform game as it's relatively simple but allows for many things that more complex games require (story, characters etc).

@ashingda
the ninja images are great, perfect for a platformer!

A small program that works is better than a large one that doesn't.

DBC Challenge Rank: Rookie
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 24th Nov 2008 01:58
Quote: " it's relatively simple "


I found the collision detection / scrolling EXTREMELY complicated.


I download memory.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 24th Nov 2008 02:04 Edited at: 24th Nov 2008 02:07
Quote: "I found the collision detection / scrolling EXTREMELY complicated."

You don't know what I was comparing it too

It's a bit of a can of worms, there are a lot of ways to do a platformer but you can do a very simple one, I did an ASCII platformer that was very easy to make, I used a sine curve to make a nice curvy landscape, I'll see if I can root it out...

A small program that works is better than a large one that doesn't.

DBC Challenge Rank: Rookie
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 24th Nov 2008 03:33
Being the king of sin and cos in my opinion, any clue how to calculate a line from point x,y to the enemies location in a tower defense? I can't think of any way that would still run quickly.


I download memory.
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 24th Nov 2008 03:48
Quote: "the ninja images are great, perfect for a platformer!"
Why thankyou.

Another question, how will we get the enemies (or Dots) to run in a predeterminded path and what if the path is circular?
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 24th Nov 2008 04:05
Personally, I think we should sort it into a square path (for example):

[][][][][][]
[][][][][][]
[][][][][][]
[][][][][][]
[][][][][][]

Is the grid, and we pick a certain path in that grid to be the enemies path, the enemies instructions would be coded into an array. The path is in bold:

[][][][][][]
[][][][][][]
[][][][][][]
[][][][][][]
[][][][][][]

This isn't an actual path, just an example. I hope this helps/make since, and isn't what you already knew.


I download memory.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 24th Nov 2008 04:17 Edited at: 24th Nov 2008 04:26
Quote: "Being the king of sin..."

now there's a cool title oh and cos :p
thanks but the only reason I use them for everything is because my maths isn't good enough to do anything else

not sure what you need so here's two things I found.
ATANFULL will give you the angle between two points...


Using simple trigonometry you can find the distance between two points, you make a triangle with corners at point A and point B, the third corner at the x of A and y of B...


[edit]
I found ASCII Adventures!

wow I wrote that over a year ago!

A small program that works is better than a large one that doesn't.

DBC Challenge Rank: Rookie
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 24th Nov 2008 04:30
Your math isn't good enough? Pfft! If that's the case you wouldn't even be able to use sin cos properly and that's me!
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 24th Nov 2008 04:51
Will check em out Obese.

Lines seems to run pretty fast. Should we use this for the 'lazer'?




I download memory.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 24th Nov 2008 05:21 Edited at: 24th Nov 2008 05:23
@Irojo
oh dear, oh dear, oh dear.
I don't think you tested that did you.
Your goto loop is very ugly; it's an ancient technique that was used before loops were invented!
Your loop exited after a certain amount of passes, this is the definition of a for loop, I am amazed you have gotten this far without learning about them.

Here's an edit of your code...


I know this was just an example but you need to practice good coding if you want to do it naturally.

Lecture over...

This would only be useful for an immediate attack (like a laser) because you can't do much with just the enemies position.
Making the AI judge the angle and distance opens up the option of tweaking those values to hit moving targets.

wow I am very grouchy when I'm tired lol

A small program that works is better than a large one that doesn't.

DBC Challenge Rank: Rookie
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 24th Nov 2008 06:09 Edited at: 24th Nov 2008 14:28
I kind of coded it as I went along....

It wasn't really good coding.

I suppose coding at midnight might be a mistake for me. I'll work on keeping the same structure though, as I have been falling out of the habit. Sorry.

Yes, It would only work for a laser, but that's what was decided on.


I download memory.
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 24th Nov 2008 21:58
Or a very lame moving laser:


~QJ
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 24th Nov 2008 22:11
I am rather confused as to what you guys are working on here. Could someone please explain what it is and what the problem you are trying to overcome is?

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 24th Nov 2008 22:18
New Demo: w00t!


~QJ
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 24th Nov 2008 22:33 Edited at: 24th Nov 2008 22:34
BTW, who will be running this one? Idk what kind of time I will have to do it. I guess I could if necessary though, don't want to see this die.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 24th Nov 2008 23:02
I can't run this. My skills are lacking.
Quote: "Could someone please explain what it is and what the problem you are trying to overcome is?"

A Futuristic Tower Defense Game.

The problem is the lasers. We can use the line command of course, but the program would run horrificly slow. Any solutions that you can think of?


I download memory.
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 24th Nov 2008 23:10
Whats the problem though? Are you trying to figure out how to make the tower aim at a moving target? Are you trying to figure the best way to display it? Etc etc.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Irojo
17
Years of Service
User Offline
Joined: 21st May 2008
Location: Eating toast.
Posted: 24th Nov 2008 23:16
The problem is not the looks, it's simply the line command being too slow.

I was thinking also, it might look more realilistic (spelling fail) if the laser wasn't instant. As in a dot goes quickly to the path, so the line would be drawn on screen. I have a solution for the tower range, I just need to figure out how to fire at the enemies, and how to control them. (array time!)


I download memory.
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 24th Nov 2008 23:25
But what is the line command going to be used for if not for looks? Or am I misunderstanding.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Ashingda 27
17
Years of Service
User Offline
Joined: 15th Feb 2008
Location:
Posted: 24th Nov 2008 23:48 Edited at: 24th Nov 2008 23:49
The Line command is slow, what you can do is make a function that will draw a line instead using Box or Dot commands.

Ofcourse if you also want to speed this process up a notch you'll want to use Bitmap and Copy Bitmap befor sync.

BN2 if you're going to be busy I can try to manage this project if nobody minds.

Login to post a reply

Server time is: 2025-06-02 14:44:47
Your offset time is: 2025-06-02 14:44:47