The Daily Click ::. Forums ::. Klik Coding Help ::. Some Questions about stuff in TGF...
 

Post Reply  Post Oekaki 
 

Posted By Message

Deleted User
26th July, 2003 at 11:34:20 -

I have 3 questions that I'm asking and I would be pleased if all are answered:

1)I have about 5 active objects in a game, and when the player collides with these objects, I want it to stop and not go further, I already know how it's made, is there a shorter way to do something like: "If player collides with these 5 objects make it stop" event which only takes one line to write?

2 Is there something like fading effect, when it's start of the level it fades and the level starts?

3 How can I do something like: I have 2 transportation and a soldier, you start of as a soldier and when you want to change your going style(transportation) you go near it and the soldier gets dissapeared and you control a car or you get of that vehichle and become a soldier again and get on a eg:tank or plane, how can I do that sort of thing?


Please help me with these questions, cause they're really urgent for the game I'm making now, which you can see at my signature.

Thanks,
Gokberk



 

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  50116

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
26th July, 2003 at 11:41:53 -

1. Yes. Simply put all the active objects in a group...ie a qualifier such as GOOD or BAD. If its with TGF then Im not sure how you go about doing it, but with MMF, right click the objects and go to Properties, Qualifier, and assign them all the same qualifier.

2. Yes, these are called transitions. I cant remember again how its done with The Games Factory...try right clicking on a frame in the storyboard and seeing if there are options like Fade In and Fade Out...

3. You mean as in Grand Theft Auto? Assign the Soldier with Player One movement, and the car with Player 2 movement. When the player collides with the car, IGNORE player ones movement and restore player twos movement. Of course, you'd need to change the Player 2 controls..they'd be something like Z,X, W and something else. Does that make sense? Im not sure how you can use that with multiple cars, however. Might need a custom engine for that.

 
n/a

Deleted User
26th July, 2003 at 11:48:08 -

Yeah, like GTA you can change your transportation anytime. I think I saw somebody make that kind of movement in a game but it was a platformer, mine is a Strategy game, but I think it doesn't matter.

Also what happens to the soldier when you control the car?
And when you want to get out of that car and be a soldier again how's that gonna happen=?

 

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  50116

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
26th July, 2003 at 12:34:13 -

well you make the soldier invisible, then when you want him to leave the car you make him reappear where the car is

 
n/a

Rycon



Registered
  20/09/2002
Points
  996
27th July, 2003 at 12:22:36 -

I made an example just for reason 3 a long time ago, its called Warscrool. Download it from the FKT site.

www.fktgames.tk

 
We are the music makers, we are the dreamers of dreams...

Deleted User
28th July, 2003 at 02:54:21 -

I can't download it!

 

Deleted User
28th July, 2003 at 05:53:54 -

I really have to find a way to make this GTA style changing vehicles please someone help

 

Rycon



Registered
  20/09/2002
Points
  996
29th July, 2003 at 12:13:03 -

Very sorry, old link went down. Its been uploaded, plus the full game is out too.

http://www.fktgames.tk

 
We are the music makers, we are the dreamers of dreams...

Rycon



Registered
  20/09/2002
Points
  996
29th July, 2003 at 12:14:22 -

Oh, FKT only asks you add us to your credits if you use this example. Thank You.

 
We are the music makers, we are the dreamers of dreams...

Deleted User
30th July, 2003 at 15:44:56 -

I'm really thankfull for you, you saved my life, I'll use those events. And I'll put your name and site in the credits section of my game.


Just one question, I want it so that when player presses "Enter" then change the vehicle of Player1, can you tell me how to do that?

Thanks for all your help.
Gokberk

 

Rycon



Registered
  20/09/2002
Points
  996
30th July, 2003 at 17:47:33 -

Enter to get OUT of a vehicle or like change the vehicle he is in and swap it with another?

 
We are the music makers, we are the dreamers of dreams...

Deleted User
31st July, 2003 at 02:12:02 -

no, pressing enter to get in and get out of the vehicle.

 

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
31st July, 2003 at 02:37:55 -

Just change the player controls. In this example Rycon has used the player's fire buttons. You can either change the controls in the options or change that line of code with "On key press...."

-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

Rycon



Registered
  20/09/2002
Points
  996
31st July, 2003 at 18:13:34 -

Dito

 
We are the music makers, we are the dreamers of dreams...
   

Post Reply



 



Advertisement

Worth A Click