User Tag List

Results 1 to 5 of 5

Thread: Example: Extensionless Integer scaling/Text Blitting/Pause menu

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

    Join Date
    Aug 2020
    Location
    Canada
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Example: Extensionless Integer scaling/Text Blitting/Pause menu

    Hey everyone

    I've mooched off members generosity here for awhile now so I thought I'd add a contribution for once

    What is in it:

    Extensionless integer window scaling using a sub app:
    - supports pretty much any resolution
    - landscape or portrait
    - easily resize window/fullscreen
    - uses sub apps
    - easy to use, 2 global values to set and you're good to go, 1 global value to adjust window size (in this example it's small/large/fullscreen)
    - keeps pixel art looking good
    - compact widget/low cost
    - your main game will be displayed in a sub app

    Since the integer scaling uses a sub app, it made sense to make a pause menu
    - popup menu example for pause menu/options menu/dialog box/input box
    - example includes options menu for changing screen size and text speed, saving and loading from ini
    - example includes an input popup, passing text back between sub apps

    And finally, an extensionless Text blitting widget, updated and modified for CTF 2.5+, based off some old work by Chris Burrows. Uses active objects. Fairly light weight and fast, about 100 lines plus 5 or 6 more to utilize it.
    - full, automatic wrapping, horizontally and vertically, auto pause and resume on any condition you want
    - easily place text anywhere on the screen
    - multiple "batches" of text so you can control multiple text areas and remove them individually (by tagging the letters)
    - automatic line break insertion
    - easy text colour change using delimiter in your text. For example: to change text |ggreen and then back to |wwhite
    - support for fixed width and variable width character maps (examples of each)
    - input blitting
    - easy to use

    Hopefully this can be of use to some of you!

    Cheers!
    Attached files Attached files

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

    Join Date
    Aug 2020
    Location
    Canada
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is the latest version, don't use the previously posted MFA this one is much better!

    BlittingScalingDemo.zip

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

    Join Date
    Aug 2020
    Location
    Canada
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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

    Join Date
    Aug 2020
    Location
    Canada
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I should also note this is designed for CTF 2.5+ (it uses some of the new features like child events)

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

    Join Date
    Aug 2020
    Location
    Canada
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Small bugfix in the text engine. I'll share it from my OneDrive so it's always the latest.

    https://1drv.ms/u/s!AvWvel1hDZlxhbZa...Yo3rA?e=21vP6P

Similar Threads

  1. Text blitting with delimiters
    By ayejes in forum Fusion 2.5
    Replies: 1
    Last Post: 11th May 2018, 10:59 AM
  2. Text Blitting Object
    By darkmanx_429 in forum Fusion 2.5
    Replies: 0
    Last Post: 8th March 2014, 12:54 AM
  3. Creating floating damage text with the Text Blitting Object - How?
    By edman3d in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th January 2013, 02:06 AM
  4. Non-integer scaling
    By BenMo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 3rd January 2007, 10:54 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
  •