Ticket #108 (new task)

Opened 7 years ago

Last modified 3 years ago

GUI - Retrievable Sprite Properties

Reported by: stuart Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc:

Description

  • Problem: Quite often a sprite we'll not want to stretch a sprite when we display it, but put it on the screen with the same dimensions as the base texture. This tends to mean that same information is repeated twice (the width and height of the texture when defining the sprite, and the client area of the object that uses that sprite) using fixed values.
  • Solution: A sprite object can be retrieved by its name, same as a control object, and its properties read (particularly its size properties). These can be referred to when defining the size of the control (see Relational Coordinates).

Change History

comment:1 Changed 7 years ago by stuart

  • Owner set to gustav
  • Summary changed from Retrievable Sprite Properties to GUI - Retrievable Sprite Properties

comment:2 Changed 4 years ago by feneur

  • Owner Gee deleted

comment:3 Changed 3 years ago by anonymous

  • Milestone Multiplayer Demo deleted

Milestone Multiplayer Demo deleted

comment:4 Changed 3 years ago by wacko

  • Milestone set to Backlog
Note: See TracTickets for help on using tickets.