User Tag List

Results 1 to 5 of 5

Thread: Game character controls storage

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jun 2017
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Game character controls storage

    Probably noob question, but where to store all character controls, so it could apply to all frames? In global values or character behavior? And what the diference?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    If you are asking about control keys mapping,

    it all depends on your preference,
    you could use default "joystick" actions you find under "player1-2-3-4" actions
    (i.e. player 1 moves up / player 1 press fire 1 etc.)
    so you can freely remap them in application properties, and there's a builtin menu option to let players remap them as well

    but this might be not applicable if you need a broader range of controls,
    and perhaps is a bit more awkward if you want to provide a customzed GUI for remapping keys

    while strictly binding specific keys is generally not the best option

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jun 2017
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for reply, but i mean now all character movements (jump, attack) in first frame of app. If i add more stages (frames), do i need to copy this movements in each frame? or there is easy solution to save that data (global values, character behavior or even ini file).

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    to make sure I understand, the general question is:
    you have some code attached to a frame, and you want to replicate that code in every frame having same mechanics
    (i.e. every frame containing player >>> needs your player movement code, including specific key bindings you coded, i.e. for jump and attack)

    "gobal events" are basically made for this,
    but you can also make the player "global" and code the movement in its "behavior"

    both global events (affecting ALL frames) and global objects with behaviors attached (affecting all frames containing the object)
    share same benefits, and same cons (which makes me generally avoid them )

    - you can't use qualifiers (unless you make some hack, I've heard but never tried)
    - you can't use the event list editor (!!)
    - events are considered to be at the bottom of frame's own event sheet

    If things above are no issue for you, there's no other letdown I'm aware of in using global events or global objects with behaviors.

    Of course, you can also copypaste the "movement" groups across frames, but then you'll have to remember updating code in every frame, on every modification.

    This is currently one of the main benefits of going "single frame" and making level editors in Fusion

  5. #5
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jun 2017
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    unable to use qualifiers is a big con. So the best choice to leave it as it is and copy to each frame, thanks for the help.

Similar Threads

  1. Trivia Game: Is There a Database or Storage Module?
    By mjcampisi in forum Fusion 2.5
    Replies: 3
    Last Post: 31st July 2015, 04:38 AM
  2. Replies: 2
    Last Post: 14th June 2015, 03:22 AM
  3. Game Help: Falling Block Puzzle with Drag-Line Selection Controls
    By FerreTrip in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd October 2014, 06:02 PM
  4. 2 player controls in my game
    By warlords in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 31st December 2013, 01:34 PM
  5. Platform Character Controls ?
    By TwistidChimp in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 28th April 2007, 02:26 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
  •