User Tag List

Results 1 to 5 of 5

Thread: Bouncing Ball Clipping Issues

  1. #1
    Clicker Multimedia Fusion 2iOS Export ModuleSWF Export Module
    Top_of_the_Temple's Avatar
    Join Date
    Oct 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Bouncing Ball Clipping Issues

    If you press a combination of keys that equal a diagonal movement (up and right) the player can clip through walls. Any ideas on how to fix this?

    Thanks CT Community!movement test2.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not quite sure why you're using Bouncing ball movement when you could use 8 Directions instead.
    This will reduce your 12 conditions to just 1 and prevent the bug you describe.
    If you don't your player to bounce a little when hitting walls, just turn on Stick to walls.
    I've attached a fixed version that uses 8 Directions and Stick to walls that might help.
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    salamanderpants - You're right about the speed being wrong. Just need to increase the acceleration from 50 to 250.
    Here's a new example.
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    salamaderpants - hadn't realized he didn't want diagonal movement! Yes easy to fix by changing the Directions to only include up, down, left & right in the Active's Properties > Movement > Directions (just above Initial direction)
    Attached a version with this fix.
    Attached files Attached files

  5. #5
    Clicker Multimedia Fusion 2iOS Export ModuleSWF Export Module
    Top_of_the_Temple's Avatar
    Join Date
    Oct 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Many thanks AyreGuitar and salamanderpants, you've really helped me in building my first real game. The Clickteam community is really the best out there for new developers. I've got inventory and a weight system completed, this game could really shape up to be awesome! Thanks again!

Similar Threads

  1. Bouncing Ball
    By lembi2001 in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 2nd February 2014, 10:25 AM
  2. Bouncing ball?
    By Iharmi in forum Multimedia Fusion 2 - Technical Support
    Replies: 23
    Last Post: 27th May 2008, 04:36 AM
  3. 360 bouncing ball...
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st January 2007, 05:38 PM
  4. Bouncing ball
    By Clicktastic in forum File Archive
    Replies: 0
    Last Post: 21st September 2006, 03:49 PM
  5. a better bouncing ball?
    By frateroshi in forum Extension Development
    Replies: 35
    Last Post: 7th July 2006, 02:23 AM

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
  •