Difference between revisions of "User:Cyanox"

m (Cleaning up old stuff.)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Using this as personal SandBox mostly ;)
 
Using this as personal SandBox mostly ;)
 
The primary responsibility for the love.graphics module is the drawing of lines, shapes, text, [[Image]]s and other [[Drawable]] objects onto the screen. Its secondary responsibilities include loading external files (including [[Image]]s and [[Font]]s) into memory, creating specialized objects (such as [[ParticleSystem]]s or [[Canvas]]es) and managing screen geometry.
 
 
LÖVE's coordinate system is rooted in the upper-left corner of the screen, which is at location (0, 0). The x axis is horizontal: larger values are further to the right. The y axis is vertical: larger values are further towards the bottom.
 
 
[[File:lovecoordsystem.png|The LÖVE coordinate system]]
 
 
In many cases, you draw images or shapes in terms of their upper-left corner (See the picture above).
 
 
Many of the functions are used to manipulate the ''graphics coordinate system'', which is essentially the the way coordinates are mapped to the display. You can change the position, scale, and even rotation in this way.
 
 
 
== Types ==
 
{{#ask: [[Category:Types]] [[parent::love.graphics]] [[Concept:Current]]
 
| headers=hide
 
| format=template
 
| template=ListingFields
 
| introtemplate=ListingIntro
 
| outrotemplate=ListingOutro
 
| ?Description
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?Since# -
 
}}
 
== Functions ==
 
=== Drawing ===
 
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::Drawing]]
 
| headers=hide
 
| limit=2000
 
| format=template
 
| template=ListingFields
 
| introtemplate=ListingIntro
 
| outrotemplate=ListingOutro
 
| ?Description
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?Since
 
}}
 
=== Object Creation ===
 
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::Object Creation]]
 
| headers=hide
 
| limit=2000
 
| format=template
 
| template=ListingFields
 
| introtemplate=ListingIntro
 
| outrotemplate=ListingOutro
 
| ?Description
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?Since
 
}}
 
=== Graphics State ===
 
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::State]]
 
| headers=hide
 
| limit=2000
 
| format=template
 
| template=ListingFields
 
| introtemplate=ListingIntro
 
| outrotemplate=ListingOutro
 
| ?Description
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?Since
 
}}
 
=== Coordinate System ===
 
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::Coordinate System]]
 
| headers=hide
 
| limit=2000
 
| format=template
 
| template=ListingFields
 
| introtemplate=ListingIntro
 
| outrotemplate=ListingOutro
 
| ?Description
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?Since
 
}}
 
=== Window ===
 
{{#ask: [[Category:Functions]] [[parent::love.graphics]] [[Concept:Current]] [[Sub-Category::Window]]
 
| headers=hide
 
| limit=2000
 
| format=template
 
| template=ListingFields
 
| introtemplate=ListingIntro
 
| outrotemplate=ListingOutro
 
| ?Description
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?Since
 
}}
 
== Enums ==
 
{{#ask: [[Category:Enums]] [[parent::love.graphics]] [[Concept:Current]]
 
| headers=hide
 
| format=template
 
| template=ListingFields
 
| introtemplate=ListingIntro
 
| outrotemplate=ListingOutro
 
| ?Description
 
| ?PrettySince
 
| ?PrettyRemoved
 
| ?Since
 
}}
 
 
{{#set:Description=Drawing of shapes and images, management of screen geometry.}}
 
== See Also ==
 
* [[parent::love]]
 
 
== Other Languages ==
 

Latest revision as of 05:21, 10 February 2018

Using this as personal SandBox mostly ;)