The Daily Click ::. Forums ::. Klik Coding Help ::. How do we make boats in RTS games?
 

Post Reply  Post Oekaki 
 

Posted By Message

RPG Player 2003



Registered
  27/06/2003
Points
  248
5th July, 2003 at 15:21:55 -

Yep, it's me again, with a problem again, RTS again. OK, I have TGF, all the water tiles positioned but the boats should only move through water
So, how do we make boats in RTS games?

 
"I see", said the blind men to his deaf wife.

Beware of the grass, don't step on the dog!

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
5th July, 2003 at 16:30:20 -

Are the tiles active objects, or backgrounds?

 
Craps, I'm an old man!

RPG Player 2003



Registered
  27/06/2003
Points
  248
5th July, 2003 at 17:32:05 -

Big BGs. The ships are big also, the smallest being 2.5x bigger than any ground unit, the largest being more or less 6x

 
"I see", said the blind men to his deaf wife.

Beware of the grass, don't step on the dog!

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
5th July, 2003 at 18:30:49 -

To get around that one, you're gonna have to have active objects somewhere. Probabley have them around the cost. If you really needed the objects, make a huge active object outline of the coast instead of small ones. Except that could take up alot of memory .

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

KlikFactory



Registered
  11/01/2002
Points
  692
5th July, 2003 at 18:41:51 -

I don't know if this'll work any better, but instead of making a big active object just make a little dots and put them around the island. Make sure there's not enough space between them for the boats to fit through. And of course when the boats hit them they stop.

That'll be a lot easier than making a graphic the exact size of the island coast.

-The Klik Factory

 
Why's there a star next to the Sig? What if I don't want a sig? This sucks.

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
5th July, 2003 at 19:12:49 -

Wouldn't the overlay object help with this. I'm not an expert, I mean I didn't understand it much at all, but can't it have zones? You could have a water zone and a land zone, etc.

 
Image

Shme (Stupid Liar)

Too late to fornicate

Registered
  05/11/2002
Points
  574
6th July, 2003 at 01:52:22 -

you are making RTS in TGF? good luck to you man

 
Stinkiest click stuff
http://www.skunk-e.cjb.net

Shme (Stupid Liar)

Too late to fornicate

Registered
  05/11/2002
Points
  574
6th July, 2003 at 01:54:55 -

do make the coast out of active objects! make the sea a background that is not an obstacle and make the shore an obstacle...

 
Stinkiest click stuff
http://www.skunk-e.cjb.net

LegendaryMMSX



Registered
  05/07/2002
Points
  165
6th July, 2003 at 02:52:12 -

You'll run into TGF's object limitations either way....so um...You could...well....thats about the only way you can do it. But beware of TGF's object limitations.

 
Im the RTS and TBS coder. Expect some games to come out from me later after I finish my Engine tests.
PS: Dont expect the best graphics.

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
6th July, 2003 at 03:13:57 -

You'll have to make the coast out of active objects, and will fairly surely hit the 262 object limit Or just take out boats.

 
gone fishin'

RPG Player 2003



Registered
  27/06/2003
Points
  248
6th July, 2003 at 04:35:52 -

Lunar's tip and Klikfactory's tip help alot. Just make the ground passable, the sea passable and the coast not passable using background dots near the coast!

Shen : I can't take out the boats. Some maps are only water...

And, to you people thinking RTS in TGF is hard, I think not. I actually can make a RTS engine in 5 minutes. But you never tried to make an RTS with 18 ages!!!




 
"I see", said the blind men to his deaf wife.

Beware of the grass, don't step on the dog!

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
6th July, 2003 at 04:51:00 -

Um... You could make the rivers and coasts obstacle backgrounds, and make the boats stop when they're NOT overlapping a background. If you see what I mean...

 
gone fishin'

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
6th July, 2003 at 04:55:12 -

I think you should leave the boats, they'll cause more harm then good... Even though they are designed to destroy the enemy .

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
6th July, 2003 at 06:57:37 -

just get MMF then do as much as you like, although i dont have it

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

RPG Player 2003



Registered
  27/06/2003
Points
  248
6th July, 2003 at 07:09:16 -

Shen : I get what you mean, but I tried it and didn't work.

Assault Andy : Obviously ships are made for harm, except the sea transport, that was made for good. And also the trade ship, the fishing ship, the oil tanker and the repair ship. But the trireme, quinquereme, galley, battleship, galleon, frigate, ironclad, destroyer, laser frigate were made to kill, and do good at their work!!!

 
"I see", said the blind men to his deaf wife.

Beware of the grass, don't step on the dog!
   

Post Reply



 



Advertisement

Worth A Click