User Tag List

Results 1 to 3 of 3

Thread: App Screen Panning Widget

  1. #1
    Clicker Fusion 2.5
    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)
    JimJam's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    338
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    App Screen Panning Widget

    [size:17pt]App Screen Panning Widget[/size]
    This is a widget that was designed to allow you to jump between screens within an application, giving it a more organic layout.
    There are 5 modes:
    • Mode 0 - Scrolling disabled: (for using your own integrated scrolling)
    • Mode 1 - Screen Snap: Jump to another screen by a command.
    • Mode 2 - Slide: Slide the screen by clicking and dragging on it. (works very similarly to how iPhone scrolls applications)
    • Mode 3 - Slide & Snap: Slide the screen by dragging. It will Snap to the closest screen.
    • Mode 4 - Gesture Snap: Click and drag, making a small gesture up, down, left, or right. It will move the screen in that direction.

    It only uses one active object, and is easily disabled by setting MODE to 0.
    The code is also simple and easy to read. Just drag 'n' drop the object in your frame.

    These "screen sliding" and "gesturing" techniques are designed with touch screen capability in mind, and would be perfect for an iOS game/app.

    Note:
    There was one feature I wanted to implement, but couldn't get it working right. With the slide methods, I wanted an option to be able to "throw" the screen. That is, when you let go of your click while moving the cursor, the screen would continue off at that angle/speed, until it slowly decelerated to a stop. I just couldn't really get it to work.

    If anyone can figure it out, please do! I would love to see a "Screen Panning Widget v2.0" with more features.
    Attached files Attached files

  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,142
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: App Screen Panning Widget

    Quote Originally Posted by JimJam
    Note:
    There was one feature I wanted to implement, but couldn't get it working right. With the slide methods, I wanted an option to be able to "throw" the screen. That is, when you let go of your click while moving the cursor, the screen would continue off at that angle/speed, until it slowly decelerated to a stop. I just couldn't really get it to work.
    I can do this, when I got some free time I can add it into your widget probably?

  3. #3
    Clicker Fusion 2.5
    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)
    JimJam's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    338
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: App Screen Panning Widget

    Alright, thanks! I would greatly appreciate it.

    It should be easy to do, I just couldn't get it feel right.

    Just as a little side note to the throwing concept:
    In the mode called "Slide & Snap" (i think its 3), you have to toggle the snapping so that it only occurs when the movement has stopped. This way the widget won't try to snap to the nearest cell as soon as you let go. This is how I got the slide to work with the other movements, without having to recode each one separately.

    Ideally, I would like the "throw" to be able to work with the other modes, and not override any current ones. That way you can have "Slide" and "Slide & Snap" and "Slide + Throw" and "Slide & Snap + Throw", so if someone wants to use the slide feature, without snapping or throwing, they still can.

    But I'm not asking anything of you. This is just how I would do it, if I were to do it.

Similar Threads

  1. Replies: 2
    Last Post: 23rd March 2014, 03:39 AM
  2. Screen Shaker Widget
    By Mantoid in forum Widgets
    Replies: 6
    Last Post: 13th July 2011, 02:40 AM
  3. Simple screen-drag widget
    By Anders in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 22nd February 2011, 06:55 PM
  4. Screen Shaker Widget Not Working With Sub-App
    By soloman in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 18th June 2010, 03:05 PM
  5. Custom Screen Transition (Multi) Widget
    By JimJam in forum Widgets
    Replies: 10
    Last Post: 25th April 2010, 09:13 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
  •