User Tag List

Results 1 to 4 of 4

Thread: The ball... (in pong)

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The ball... (in pong)

    Hey all. I am failing at making a simple pong game with oinc. I have the bats going up and down. I have the ball in the host application working. I don't have the second ball working in the join application. Yes, they are both aimed at localhost. I'll change that later.

    What I want to happen: The green ball is always heading the opposite direction of the yellow ball. The green ball is always at the same speed of the yellow ball.

    This way I don't have to worry about the user always being on the left.

    I don't have them in one and use the deliminator thing because I was testing to see if that was the problem. Anybody got any help for me (again, after the really dumb thread below)?
    Attached files Attached files

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: The ball... (in pong)

    Scratch all that (how do you spell balogny?) I just need to know a good formula to mirror the other ball's directon. dir-16 doesn't work because that changes up and down, too. Hmm

    Got it! I tried 32-the balls direction but it has to be 32-dir-16. Woohoo!

    Ok. Now - the ball is acting dumb. It bounces at wrong angles. I always forget which does which - security and randomizer? Is it security that makes it bounce the correct angles and randomizer that gets it out of a straight back and forth bounce?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export ModuleXNA Export Module
    Fusion 2.5 (Steam)
    Mathias's Avatar
    Join Date
    Jun 2006
    Location
    Copenhagen, Denmark
    Posts
    1,083
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: The ball... (in pong)

    I've had a look at this and worked on it (nice idea by the way), but I just found a major problem with OINC/Poinc, so you'll have to wait a bit for it

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: The ball... (in pong)

    No worries! I did too. I would post here but it's too big...

    I think it's done, I'll try to po -

    Aha! ZIP files!

    Would anyone like to play pong with me?
    Attached files Attached files

Similar Threads

  1. Pong: How to have ball stick to paddle and launch when left click of mouse
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 26
    Last Post: 14th June 2016, 04:10 PM
  2. Ball / Round object physics (ball won't stop)
    By LemonyWeasel in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 30th November 2015, 11:59 PM
  3. Pong Tutorial - Ball direcction respect from paddle zone
    By Matriax in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 30th December 2012, 04:46 PM
  4. Pong A.I.
    By sam_sdc in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th February 2009, 11:10 PM
  5. Help with pong...
    By blehman in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 21st December 2007, 01:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •