User Tag List

Results 1 to 10 of 10

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
    117
    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 a while now so I thought I'd add a contribution for once

    Requires CTF 2.5+ (not tested on previous/other editions)

    What is in it:

    Extensionless integer window scaling using a sub app:
    - uses only default objects
    - 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, a 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.
    - Requires String Parser object - thanks to the commenter below for pointing out that String Parser isn't a default object!
    - 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 changes using basic markup language in your text. For example: to change text |ggreen and then back to |wwhite. You could expand on this to do a lot of different stuff if you wanted!
    - 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!

    Main Download Link from OneDrive
    https://1drv.ms/u/s!AvWvel1hDZlxhbZa...Yo3rA?e=21vP6P

    Cheers!

  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
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Old attachment, ignore
    Attached files Attached files

  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
    117
    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
    117
    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
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Deleted an old link, ignore

  6. #6
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    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)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,159
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Extensionless and yet I can't open it because I don't have a certain extension

  7. #7
    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
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DaveC View Post
    Extensionless and yet I can't open it because I don't have a certain extension
    LOL really?? What is the extension??

  8. #8
    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
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by punchbird View Post
    LOL really?? What is the extension??
    edited out: redundant post, sorry

  9. #9
    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
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Turns out, it was the String Parser, I thought it was a default one for some reason

  10. #10
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleFirefly 3D ModuleInstall Creator Pro
    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)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,606
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Well, String Parser is compatible with all runtimes, so I don't see any problems in using it.

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
  •