9-Patch Hotspots

0 favourites
  • 8 posts
From the Asset Store
The Ultimate Construct 3 Asset Library For Rapid Prototyping & To Speed Up Workflow
  • Need more 9-Patch Hotspots

    There currently is only Top-Left and Center

    I'm in current need of Top-Center to make my problems disappear.

    If there is a way to do this with out downloading alternate plugins, I would be greatly appreciate it :D

    Should put it in a future update please :D

  • Out of curiosity why exactly do you need Top-Center ?

    Wouldn't the BBoxTop expression something you could use ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Im using the nifty plugin LiteTween from lunarray found here

    construct.net/en

    and when I use the a scaling method of tween it would scale ether from top left or center :P kinda obvious its best if i upload an example

  • I have not yet looked into what you suggested yet but I know if what I'm requesting was implemented it would save time for when others attempt simple alignment properties.

    This is my example here:

    dl.dropboxusercontent.com/u/25818498/Construct%202%20Forums/9PatchHotspotForums/index.html

    When you press Start (Controller) or Enter the 9-Patch (Menu) would rise and expand along with Window in the back of the Panel but the back panel window scales from the center and if I could just change the hotspot on the 9 patch it would be working properly.

  • Kyatric, I tried playing around with BBoxTop expression could not find a way to fix my problem maybe someone can get back with me on this thanks ahead of time for any input

  • it's a feature.

  • For this, a workaround would be to use a normal sprite to do the resizing, and have you set the X/Y of the 9patch to an imagepoint on the sprite.

    Do this and then adjust the width/height of the "menu BG sprite" (normal invisible sprite). Since you can set the origin to the center top you should have no problem with that. Then when the "menu BG sprite" is being resized, you resize the 9patch the same way, and then set it's X/Y to the appropriate imagepoint on the "menu BG sprite"

    This should work as a workaround for your issue, but should work until there is more hotspots on 9patch.

  • i see pretty much like a node ok i don't know why i didn't think of that i use that method often to make menu systems

    As to staying on topic i still believe having more "Hotspot" positions available would be a nice addition

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)