User Tag List

Results 1 to 8 of 8

Thread: Breakout style game: Bouncing ball games

  1. #1
    No Products Registered

    Join Date
    Jul 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Breakout style game: Bouncing ball games

    I have Clickteam Fusion and The Game Factory 2. I am creating a Breakout style game. I want to get the following effect: When the ball collides the paddle and depending in which part of the paddle it touches the angle of bouncing changes in order to have better control over the ball. I have an example of an ActionScript 3.0 game created by my friend that has the effect I'm looking for using TGF2 and CF2:

    https://www.youtube.com/watch?v=rwDmP-6wTKA

    Please, watch it and try to explain me how to get this bouncing effect in any Clickteam product!!!. Thanks! - Nicolás Matías Funtalas.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,423
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hi there Nicolás, here is a video example


    it's super simple.

  3. #3
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you don't like default behavior of bouncing ball movement you should reduce randomizer value in movement settings

  4. #4
    No Products Registered

    Join Date
    Jul 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!. But I want that the angle of bouncing changee depending which zone of the paddle the ball touches. The Flash game in the video shows this behaviour when the ball collides with the paddle.

  5. #5
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Set randomizer to 0

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,031
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    chris burrows made an example of this - with the bouncing as you are talking about. (arkanoid - it was the whole game) i have it, if you cannot source it.

  7. #7
    No Products Registered

    Join Date
    Jul 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes. Post the link where i can download this arkanoid create by chris burrows

  8. #8
    No Products Registered

    Join Date
    Jul 2015
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In Flash this is the formula to get this behaviour when the ball colides with paddle:

    function bounceAgainstPaddle():void
    {
    var position:Number=ball.x-paddle.x;
    var percent:Number=(position / (paddie.width - ball.width)) - .5;
    ballVelocityX=percent*10;
    ballVelocityY*=-1;
    }

    I memorized this formula. Can you explain me why it produces that behaviour of bouncing with the paddle depending which zone of it touches???

Similar Threads

  1. Bulky Ball - Breakout Game
    By Sloxone in forum Android Released Games & Apps
    Replies: 0
    Last Post: 23rd February 2015, 09:22 PM
  2. Accelerometer and a Physics bouncing ball (Labyrinth Game)?
    By iamjot in forum iOS Export Module 2.5
    Replies: 0
    Last Post: 11th July 2014, 12:19 PM
  3. Security in Bouncing Ball games.
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 6th October 2008, 03:17 AM
  4. Put "English" on ball in breakout games
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 29th August 2008, 02:46 AM
  5. Help with breakout style game
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th June 2008, 06:23 PM

Tags for this Thread

Posting Permissions

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