User Tag List

Results 1 to 9 of 9

Thread: [Request]Decimal X and Y coordinates (for actives)

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request]Decimal X and Y coordinates (for actives)

    I think it would be really cool (especially for low res games) if there was an option to have x and y coordinates to be decimal numbers. Not only would it behave differently in the events, it would look a heck of a lot better too.

    If you're not quite sure what I'm talking about, I can make a quick video describing this effect.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Decimal X and Y coordinates (for actives)

    what's wrong with pixel values?

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Decimal X and Y coordinates (for actives)

    Pixels are quite a jump on the screen, while decimal values would look much nicer for movement. They can be achieved with anti-aliasing.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Decimal X and Y coordinates (for acti

    Maybe decimal positions will be put when HWA will be available.
    Actually no anti-aliasing is possible for sprites in a software renderer but decimal positions could be cool too, to allow us to have calculations on them without using alterable values.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Posts
    492
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Decimal X and Y coordinates (for acti

    Yeah Sphax, I think you're right. Since HWA works using coordinates, not pixels, it would probably just mean extra work to make everything snap to 1px.

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Decimal X and Y coordinates (for acti

    Of course floating point co-ords are possible in a software engine, everything is. It just might be slow.

    Anyway, the normal reason for requesting floating point co-ordinates is for custom movement engines, where a speed is added each frame that won't be a whole pixel. 1px/frame and 2px/frame are quite different speeds. Even if it only rendered as being at the nearest pixel it would be better than using alt values to mirror the position.

  7. #7
    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)

    Re: [Request]Decimal X and Y coordinates (for acti

    Of course, in the movement routines we use floating points numbers (well binary floating points). We do not do the movement by chunks of pixels. The result of the calculation is rounded to the nearest pixel for display...

  8. #8
    No Products Registered

    Join Date
    Jul 2006
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Decimal X and Y coordinates (for acti

    You can always use an alterable value to store the 'real' X/Y position as a floating point, and then set the active's position to those values.

  9. #9
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request]Decimal X and Y coordinates (for acti

    Quote Originally Posted by Blake
    You can always use an alterable value to store the 'real' X/Y position as a floating point, and then set the active's position to those values.
    Yea I've always done that. But what I'm talking about here is more about the appearance of it, rather than the benefits it would bring to the event editor.

    I've made a short (8 second video) illustrating this technique. XVid codec required.
    http://www.savefile.com/files/941733

Similar Threads

  1. Request for new type of object, "All actives"
    By AftPeakTank in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 22nd August 2013, 05:10 AM
  2. Replies: 4
    Last Post: 8th June 2012, 12:50 AM
  3. coordinates
    By Drcooper in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th June 2011, 12:17 AM
  4. [request] Floating point positions for actives
    By Looki in forum Hardware Accelerated Runtime
    Replies: 15
    Last Post: 6th January 2008, 03:07 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
  •