The Daily Click ::. Forums ::. General Chat ::. Simple question regarding pinball movement
 

Post Reply  Post Oekaki 
 

Posted By Message

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
25th January, 2011 at 15:03:44 -

Hello guys.
The last couple of years I've really struggled to keep at it game wise. I don't seem to have the patience I had when I was young and using Klik 'n' Play (I'm 26 now). I've been kind of sad that I haven't made any real effort game making wise, and my Base Invaders project (http://create-games.com/project.asp?id=1901) is the biggest effort I've ever been able to manage (considering all the planning and work I've put into it) for years and even that has been dropped in transit like a poorly handled UPS package.

I've decided that (from reading about how other people do their games etc.) that the best route to take is to start -extremely- small. Thus I've began working on a new tiny game using TGF2 New Grounds Edition and ended up with a problem.

I'm trying to create a game where animals appear on the right side of the screen and fall down. Then the player has to move a paddle so the animals hit it and keep bouncing until the leave the left side of the screen. I've assigned a pinball movement to the animals, and made it so their initial direction is left. Things work fine when the paddle is moving left or idle, but if I move the paddle right while hitting an animal the animal bounces to the right instead of left. I guess physics-wise it's correct, but I want them to to only bounce left.

Could the problem (I've no access to TGF2 and the game here, I'm just thinking off the top of my head) be that the paddle has a built in movement on it also (I think it's 8dir movement with only left/right possibility)?
Do you think it would work better if I made a custom movement for the paddle?

Do you have any other advise maybe? So...yeah...I'm done now

 
n/a

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
25th January, 2011 at 15:17:55 -

Do you want the animals to bounce the same height every time, lower every time, or higher every time? Also - do you want the horizontal speed to vary at all?

http://www.mediafire.com/?1hig5ko51y86pbt Click the mouse to create another "animal"

They all bounce the same height. If you don't understand how something works just ask.







Edited by GamesterXIII

 
n/a

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

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
25th January, 2011 at 19:50:59 -

I'd have thought that the animals would require a custom movement rather than a built in one? Then you could program them exactly how you like.

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
28th January, 2011 at 22:07:58 -

When I try to open your file, I just get an error:
Image

Chris: It's simply because I was lazy

 
n/a

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
28th January, 2011 at 22:16:03 -

Oh TGF 2 has no extensions.

If I have time I'll try to make an example without using pinball movement. Not sure If I will soon.

Edited by GamesterXIII

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
28th January, 2011 at 22:22:43 -

I thought you were able to use the Clickteam Movement Controller extension in TGF2.

I went on a little wild goose chase though, so I must have imagined it!

 

  		
  		

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
28th January, 2011 at 22:40:20 -

I don't know. .

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
28th January, 2011 at 22:53:55 -

Thank you all for your input, but I seem to have gotten it exactly the way I wanted. I did it by making a standard custom movement for the paddle, and have the animals use the built in pinball movement, without fine collision detection.

 
n/a

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
29th January, 2011 at 01:31:22 -

Good to hear

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
30th January, 2011 at 01:56:24 -

Yeah, so now for some reason it's not working anymore and the animals are bouncing back and forth. I'm gonna have to do things a 100% with custom movement.. oh well

 
n/a
   

Post Reply



 



Advertisement

Worth A Click