I want to allow resizing and rotating images in my game, How to do it?

0 favourites
  • 8 posts
From the Asset Store
Global plugin that allow for relatively easy and efficient implementation of an in-game inventory system
  • I want to allow players to change the position, rotation and size of images. (Creative game).

    How to display on a picture the controls (gizmo)? As there is in edit mode.

  • Why is something so simple not built into the system?

  • If you mean similar controls to the resizing/rotating as is used in Construct's Layout View, it only seems simple because a huge amount of work has gone in to refining a variety of complex and subtle user interactions in to something that feels like it just works. There's a large amount of of complicated code behind it, and reinventing that for a game could well be tricky. Perhaps a significantly simplified version would be more feasible.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you mean similar controls to the resizing/rotating as is used in Construct's Layout View, it only seems simple because a huge amount of work has gone in to refining a variety of complex and subtle user interactions in to something that feels like it just works. There's a large amount of of complicated code behind it, and reinventing that for a game could well be tricky. Perhaps a significantly simplified version would be more feasible.

    Allow a simple version of course it would be good, you can do such a behavior as drag and drop. There are full of games that allow the user to move, resize and rotate. How do they do it? Maybe with unity. Second thing the system is already working for you in the editor, you just need to enable it for game mode.

    Thanks!!!

  • > If you mean similar controls to the resizing/rotating as is used in Construct's Layout View, it only seems simple because a huge amount of work has gone in to refining a variety of complex and subtle user interactions in to something that feels like it just works. There's a large amount of of complicated code behind it, and reinventing that for a game could well be tricky. Perhaps a significantly simplified version would be more feasible.

    Allow a simple version of course it would be good, you can do such a behavior as drag and drop. There are full of games that allow the user to move, resize and rotate. How do they do it? Maybe with unity. Second thing the system is already working for you in the editor, you just need to enable it for game mode.

    Thanks!!!

    Look in the actions of Sprite.

    See where it says "set scale"?

    See where it says "set angle"?

    They won't make a behavior that does that for you because there's too many different ways to do it.

    You can make one yourself with the addon sdk, or with events.

  • > > If you mean similar controls to the resizing/rotating as is used in Construct's Layout View, it only seems simple because a huge amount of work has gone in to refining a variety of complex and subtle user interactions in to something that feels like it just works. There's a large amount of of complicated code behind it, and reinventing that for a game could well be tricky. Perhaps a significantly simplified version would be more feasible.

    >

    > Allow a simple version of course it would be good, you can do such a behavior as drag and drop. There are full of games that allow the user to move, resize and rotate. How do they do it? Maybe with unity. Second thing the system is already working for you in the editor, you just need to enable it for game mode.

    >

    >

    > Thanks!!!

    Look in the actions of Sprite.

    See where it says "set scale"?

    See where it says "set angle"?

    They won't make a behavior that does that for you because there's too many different ways to do it.

    You can make one yourself with the addon sdk, or with events.

    Thanks!

    You can do anything with javascript but I use an engine. And this is a common thing, not a special thing.

  • It’s a special thing. There are many ways to do it.

    Here’s one possible way.

    construct.net/en/forum/construct-2/how-do-i-18/resize-handles-example-48892

  • It’s a special thing. There are many ways to do it.

    Here’s one possible way.

    https://www.construct.net/en/forum/construct-2/how-do-i-18/resize-handles-example-48892?kws=Resize

    Thanks!!!!!

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