1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Asset - Objects Button Pack

Discussion in 'Marketplace' started by samspade, Sep 29, 2018.

  1. samspade

    samspade Member

    Joined:
    Feb 26, 2017
    Posts:
    2,074
    Available for GMS 2
    (with the exception of array initialization, should be backwards compatible with GM:S 1)


    Description

    This project is meant to be comprehensive and easy to use. The goal is to provide the foundation for virtually any standard button, slider, toggle, etc that you would want and the ability to add or modify them to truly provide you with any button you can conceive of.

    Code is heavily commented and contains a demo project that provides examples of creating buttons purely through code or through the room editor along with a mini-game.

    Example Use

    Code:
    
    scr_create_virtual_joystick(x, y, layer, back_sprite, front_sprite, radius, deadzone, gui);
    scr_create_general_button(x, y, layer, sprite, activate_with, delay, script, hotkey, gui); 
    scr_create_slider(x, y, layer, slider_type, length, invert, script, hotkey, movement_type, gui);
    
    



    Continuing Development

    This project is complete as is, but does have further things planned which I will likely get to in the next month or so, possibly faster if there's interest. The things that are not currently in but that I plan to add are listed in the ROADMAP section. Note that the sale price is currently reflective of the fact that I still plan to add things, so buy now while its cheap!

    This Pack CURRENTLY Contains:
    • General Purpose buttons, sliders, etc., all of which you can create with a single script
    • The ability to designate whether buttons activate on press, release, or hold
    • Keyboard/Controller Support
    • Hotkey Support
    • A variety of useful utility scripts
    • Button Types (all buttons work with both GUI and Room Space)
      • General Buttons
      • Sliders (including snap to user defined positions)
      • Toggles
      • Switches
      • Radio Buttons
      • Dropdown Menus
      • Virtual Joystick
      • Virtual Dpad
      • variations and more
    • An example project illustrating a variety of uses, including a very simple game
    ROAD MAP:
    • Multitouch support
    • Rollover Popups

    Important notes:
    • Please read the README. It should be helpful.
    • I tried to test everything, but there's a lot. I'm already using this asset in my own projects and haven't found any bugs, but I probably missed some somewhere. If you find any, please let me know through the Marketplace's Contact Publisher link and I will fix it and update the project for everyone.
    • If you have suggestions for additions, please contact me as I would likely be willing to add things in.
    • Contact me with questions as I will provide continuing support.
     
    Last edited: Nov 13, 2018

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice