User Tag List

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

Thread: Drawing on an Object

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    kidz200's Avatar
    Join Date
    Sep 2010
    Location
    Los Angeles
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post Drawing on an Object

    Is there any way to draw on an object? I'm trying to make a flight control-like game, and I need to be able to "draw" the lines without creating too many objects. I thought I would make this happen by having the mouse (or finger) draw a line on an otherwise transparent object, but I can't find a way to make this happen in the iOS runtime.

  2. #2
    Clicker Multimedia Fusion 2iOS Export ModuleSWF Export Module

    Join Date
    May 2008
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wouldn't even know how to do this with the normal runtime, so I would be intrested in how to do this too :-)

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    kidz200's Avatar
    Join Date
    Sep 2010
    Location
    Los Angeles
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was thinking maybe posting an image into the background, but I haven't tried it yet... And then there's erasing that image afterwards...

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Oct 2010
    Location
    Hertfordshire
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's exactly how I do it. You can paste to background as an obstacle or platform while the mouse key is pressed. I am creating a faux physics style game where you draw the platforms to guide a ball to a goal. It works really well on the iPhone now too. I do get dots if I swipe too quickly though. I haven't found a way around that yet.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Nov 2011
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mrmdesign View Post
    That's exactly how I do it. You can paste to background as an obstacle or platform while the mouse key is pressed. I am creating a faux physics style game where you draw the platforms to guide a ball to a goal. It works really well on the iPhone now too. I do get dots if I swipe too quickly though. I haven't found a way around that yet.
    that reminds me of crayon physics deluxe (i love that game!) i actually play it using my Wacom tablet so i can use the pen to draw... i am really intersted in this type of mechanic - keep us posted

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Oct 2010
    Location
    Hertfordshire
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Glad you like the idea.
    I almost thought of discarding it a while back as there are a few doodle style games on the app store. The only issues I have is the dotty lines (I may have found a way round this though), the misbehaving pinball object and an issue with dissappearing lines when they are out of the camera area. The lines go away visually but the ball still bounces on their invisible ghostly leftovers. Any one have any ideas? Thanks.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    kidz200's Avatar
    Join Date
    Sep 2010
    Location
    Los Angeles
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This works well on the iPhone? I would think it would be a bit laggy... I guess I'll have to try it myself. Thanks Marc, and Good luck on your game!

  8. #8
    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)
    Good idea. I tried it myself and found out that you should use fading circles like this: http://kaputte-moderne.sweat-lodge.d...ck_blurred.png as the PAINTOBJECT. Maybe put a little add fx on it so the illusion of a line starts to happen (hmm funny... am I soundling like Bob Ross?). But a good and simple idea! Thx.

  9. #9
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could get around the dots problem by getting the current coordinates of the touch and the coordinates it was on during the last run through the event loop, and creating objects along the line between the two points. (Admittedly I'm making this sound more simple than it is!)

  10. #10
    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)
    Yea this is something I´d love to see ( I havent managed to create the "in betweeners" yet). If I find out a way - I´ll post it here. At the moment I work with the faded dot and "slower" moving mouse... or finger

Page 1 of 2 1 2 LastLast

Similar Threads

  1. There is a drawing object for android
    By Fernando in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 29th January 2014, 05:06 PM
  2. Drawing Object
    By imothep85 in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 11th September 2010, 04:40 AM
  3. Drawing Object
    By sedgewick in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 23rd February 2008, 06:33 PM
  4. drawing object
    By dascribe in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 27th March 2007, 03:58 AM
  5. Draw Object Bug - Drawing Filled Ellipse
    By drnebula in forum File Archive
    Replies: 10
    Last Post: 19th February 2007, 05:51 PM

Posting Permissions

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