User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Destructible terrain on iOS

  1. #1
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Sep 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Destructible terrain on iOS

    Hello, I'm trying to make a "Worms" style game for the iphone with destructible terrain. Normally I would use the surface object but it doesn't look like iOS supports that yet. I then tried doing it another way, I have a quick back drop set as an obstacle and when a bomb explodes it creates an active object which is just a circle with the same color as the background ( making it look as if a hole got cut out of the quick back drop). I then have it so that the active object pastes into the background as not an obstacle and then destroy the active object. This actually works perfectly, when that non-obstacle circle is pasted into the background not only do you see the hole, but the character you control ( Using Platform Movement Object for character) is even able to go into the hole as if the quick back drop actually got a piece of it destroyed.

    The problem that I'm having is this only seems to work when running on the PC. When I run it on my iphone or even the iphone simulator the character doesn't go in the hole. The hole is still visible, But it still seems to be solid since the character can't pass through it. Is there any other way I can make this work? thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I imagine this is to do with the different style of collision detection for iOS (with the old style of collision detection games slowed down too much), so I can't imagine this being fixed if I'm honest. All I can think is to have destructible blocks but obviously this isn't as versatile.

  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)
    I too was disappointed to find this method didn't work in iOS but did in PC when I tried it a few releases ago (although I haven't tried it again recently). Seems odd that the collision mask can be added to but not subtracted from. Perhaps someone from Clickteam can elaborate as to the reason?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    There is no difference between the collision mask on iOS and on PC. In Flash on the other side, this would never work, as there is no collision mask, but objects.
    Can you send us a demo should the problem (with the minimum number of objects and events)?

  5. #5
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Sep 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok here's the example Thanks
    Attached files Attached files

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    that's pretty cool, i didn't think this could be done so easily!

  7. #7
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-on
    iamjot's Avatar
    Join Date
    Nov 2008
    Location
    Austria
    Posts
    728
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm yes thats nice. And pretty simple & clever. This could make a couple of fun ios games! Thx!

    EDIT:

    it seems NOT to work on the iphone. its a good a simple idea, but something with the backdrop collision seems to be more tricky i guess. the "character" just steps over the newly created hole in the floor (the black backdrop).

  8. #8
    Clicker Fusion 2.5Android Export ModuleiOS Export Module

    Join Date
    Sep 2009
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just wonder why this doesn't work on iOS. Is this something that could be fixed in the next beta of the exporter?

  9. #9
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-on
    iamjot's Avatar
    Join Date
    Nov 2008
    Location
    Austria
    Posts
    728
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I hope so too because I really!!! like the simplicity (ui, i hope thats the right word) of your example Triclyde! We could use it for making a simple lemmings game - and i would LOVE to see a mmf2 version of a lemmings game on the iphone! So all in all: thx for the idea. I´m sure we´ll find a way around it!

  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by iamjot View Post
    it seems NOT to work on the iphone
    That was the point in this thread :P

    I'm surprised you guys hadn't done this before, it's a cool little way of doing worms-style stuff, though obviously your backgrounds have to be VERY simple!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Rough terrain
    By ExterminationNat in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 10th June 2011, 11:03 AM
  2. Destructible Terrain...kind of
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th May 2010, 10:30 PM
  3. Destructible terrain, how?
    By chrilley in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th August 2009, 04:24 PM
  4. destructible environments
    By jhonson in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th June 2009, 08:07 PM
  5. Destructible terrain - revisited
    By Anders in forum File Archive
    Replies: 25
    Last Post: 29th May 2009, 02:08 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
  •