The Daily Click ::. Forums ::. Klik Coding Help ::. Need some help with my game!!
 

Post Reply  Post Oekaki 
 

Posted By Message

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
31st March, 2005 at 09:43:00 -

Hello, I am very new with TGF and I'm using a 30 day trial. I cant get the real thing cuz I live in the middle of the freakin ocean ( Azores ). And I was wondering if you could give me some help.
I am trying to make a Quidditch game... BUT... I can't maque the quaffle fall down and bonce till its on the ground, can't make the snitch fly away from my character and can't make the bludgers start homing at me. could you please help me?
I would also like to know how to make cool magic efects trailing the four balls.

If you can't answer everything in this forum, E-Mail me at shadow15@portugalmail.pt

THANX

 
Profile edited as it messed the layout of the site up.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
31st March, 2005 at 11:31:23 -

hmm...
for those who haven't read the Harry Potter books, you could explain all those wizard terms, so everyone understands what you need. Fortunatly i've read the books so i can help you:

1.the quaffle
every 00:10
-add 1 to value A of (Quaffle)

always
-set Y position of (Quaffle) to Y position of (quaffle)+ Value A of (quaffle)

That should make it fall. And then to make it bounce:
have a counter with the initial value of 10(or something like that, try finding something that suits you)

(Quaffle)collides with backdrop (the ground)
-Set value A of (quaffle)to 0-(counter)
-subtract 1 to (counter)

that will make it bounce when it hits the ground. If 10 is a too high value you could decrease it if you want. It's all up to you. And add this too, so it won't go through the ground when stopped.

(counter)is 0
+quaffle is overlaping backdrop
-stop (quaffle)
-set value A of (quaffle)to 0


that should do it.

2.the snitch
a very simple way to make it evade the player is simply to make it always look away from the player.

always
-make (snitch) look in direction of (player)
-set direction of (snitch) to direction of (snitch)+16


3.the Bludgers
it's a bit like the snitch, you just delete the last thing with the +16 thing:

Always
-make (bludger) look in direction of (player)


The magic effects... buh, there's many ways to do that. It depends completely on what you want. I'm not very good at graphics, so you'll have to ask someone else. I'm sure someone can help you out.

All this is very simple, there are many better ways to give them better AI/movements, but as you're using TGF for your first time, i think this is complicated enough.
My advice to you would be to buy the real thing, there has to be some way you can get your hands on it .


*whew!*
Good luck to you!

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
31st March, 2005 at 18:06:00 -

making a quiddich game is quite hard for someone thats new to TGF. 30 days may not be enough!

 
.

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
31st March, 2005 at 18:52:18 -

Thanks Guys for the encouraging and help
I just got MMF 1.5
You think I should get extencions?
What are they for?
HEy I'm getting prety well with the game.
Anyway, I need some more help:

The quaffle falls and the rest of the balls do their stuff but.
I don't know how to make My chaser grab the ball.
I though it might be by making the Ball and the Chaser stick toguether but I don't know how to do that!! :\
Some help would be nice
And by the way
I'm putting the names of whoever helps me, in the credits
YOU DESERV IT!!
GO DC!!!!!!!!

 
Profile edited as it messed the layout of the site up.

Coop



Registered
  15/08/2004
Points
  347
31st March, 2005 at 22:13:29 -

Extensions basically either make coding easier for you or help you to achieve things that you cannot do in MMF.
You should just get extensions that you think you'll need, but MMF 1.5 gives you plenty of useful extensions.

For the chaser grabbing the ball I would insert a group of events called like Chaser holding ball and make it disabled at start. Then activate the group when the Chaser is overlapping ball. The group should have inside it like Always set x and y coordinates of ball to this relative to chaser. Then have another condition saying like upon pressing (the key to throw the ball or pass or whatever) disable the group of events.
That should do it.

 
...

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
1st April, 2005 at 01:16:45 -

trying not to point out the obvious. this is a sidescrolling game right? sidescrolling quidditch...sounds interesting. good luck with that.

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
1st April, 2005 at 02:36:16 -

how come you couldn't get TGF but you just got MMF? 30 days wouldn't had been enough. I takes me months to make good games. Anyway, welcome to the world of klik!


Lamoreux & Lionet got another one!gh!

 
n/a

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
1st April, 2005 at 04:08:51 -

I got MMF cuz my cusin sen't it from america.
I almost forgot that I asked her if she could get it for me!!
But she did.

Hey I'm still new at this and your explanation coop is a little confusing (for me) . I still don't know very well how to do stuff.

Can anybody tell me what Coop said but like step by step?
THANX

P.S. - Yes it's a side view.

Image Edited by the Author.

 
Profile edited as it messed the layout of the site up.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
1st April, 2005 at 04:15:22 -

no problemo.

an easier way is just to:

(quaffle)collides with (chaser)
-set flag 0 of (chaser) on

Flag 0 of (chaser) is on
-(quaffle) set position to (0;0)from (chaser)
-set value A of (quaffle)to 0


and then to make him lose the quaffle, you just set the flag off

 
n/a

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
1st April, 2005 at 06:01:31 -

COOL. Thanx allot!!

The game is coming quite well!

But another problem surged:

It's a multiplayer, Player 1 v.s. Player 2 BUT. When I test the game if I try to move the player one The player two moves at the same time.
I've already changed to p1 to move chaser one and p2 to move chaser two but still they both move at the sme time!
What do I do?
THANX

You guys are sooooooo cool in helping me!

 
Profile edited as it messed the layout of the site up.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
1st April, 2005 at 08:36:44 -

you need to change the control keys. Both players have the same. You do it from the game properties>>player control.

 
n/a

..:.Phox.:..



Registered
  18/02/2005
Points
  646

VIP MemberHero of TimeI like Aliens!Cardboard BoxAttention Getter
2nd April, 2005 at 12:36:07 -

Hey I have a little thing:

I can't find the Game properties!!
Where do I find it?
In file? in Edit? Where?
AND HOW, cuz I can't find it anywhere!

THANX

Everything is going fine, Now I don't know how to make the player throw the ball! It always falls down!

Another thing is: I am going to make the hoops. Do you think I should maque the pole a backdrop and the ring an active object? I thought it would work, tell me what you think!

THANX

Image Edited by the Author.

 
Profile edited as it messed the layout of the site up.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
3rd April, 2005 at 05:23:20 -

Image


heh!

 
n/a

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
3rd April, 2005 at 15:49:20 -

He's using TGF silly

 
n/a

Cybermaze



Registered
  03/04/2003
Points
  853
3rd April, 2005 at 16:07:22 -

Actually he is not ... if you read the thread.

 
If you knew, I would have to kill you...
   

Post Reply



 



Advertisement

Worth A Click