User Tag List

Results 1 to 3 of 3

Thread: Screen scaling extension development

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Screen scaling extension development

    Hello,

    I hope I'm posting this in the right place. I thought there used to be an extension development forum but I couldn't find it.

    I want to create an extension that ideally would augment the way the game viewport is upscaled when "Resize display to fill window size" is checked. I'm assuming this would involve calling WinGetSurface, processing the pixel values myself, and then... well... I'm not really sure.

    Let's assume my game is 640x480. I call WinGetSurface and process the pixel values, creating a 1280x960 cSurface. How can I get MMF to display this surface, considering its main surface is still only 640x480? In my mind there are two options:

    1.) Somehow resize the cSurface attached to the main window, then blit the new stuff onto it. Except, I can't seem to find a function in the documentation that says it does this. Even if there was one, I wonder if it would do what I'd expect it to when the surface gets drawn.
    2.) Try and set up the window to draw the new surface myself. Except, wouldn't MMF be wasting processing power by still drawing the old surface underneath? How can I stop that from happening?

    If someone who knows about the MMF2 SDK could nudge me in the right direction, I'd be very grateful.

    Thanks,
    Sebastian

  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)
    Extension development forum is here: http://community.clickteam.com/forumdisplay.php?f=192
    You need to have a product registered (not sure if SWF Exporter counts)

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah ok, thank you. I bought MMF2 a long time ago, don't have the serial number immediately on hand.

Similar Threads

  1. Screen scaling extension questions
    By UltimateWalrus in forum Extension Development
    Replies: 7
    Last Post: 9th June 2014, 04:27 PM
  2. Edit box -> screen scaling
    By Popcorn in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 1st May 2013, 04:28 PM
  3. Is this possible: change screen orientation without scaling?
    By Pineapple in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 28th February 2012, 08:43 PM

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
  •