Opened 18 years ago

Last modified 14 years ago

#108 new task

GUI - Retrievable Sprite Properties

Reported by: Stuart Walpole Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

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 (4)

comment:1 by Stuart Walpole, 18 years ago

Owner: set to gustav
Summary: Retrievable Sprite PropertiesGUI - Retrievable Sprite Properties

comment:2 by Erik Johansson, 15 years ago

Owner: Gee removed

comment:3 by (none), 14 years ago

Milestone: Multiplayer Demo

Milestone Multiplayer Demo deleted

comment:4 by Andrew, 14 years ago

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