-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #213 from YoYoGames/develop.gurpreet
Document new IDE updater, SVG import support
- Loading branch information
Showing
36 changed files
with
664 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 50 additions & 49 deletions
99
...er_Language/GML_Reference/Asset_Management/Sprites/Sprite_Information/sprite_get_info.htm
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
...ontents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_enable_svg_aa.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>draw_enable_svg_aa</title> | ||
<meta name="generator" content="Adobe RoboHelp 2022" /> | ||
<link rel="stylesheet" href="../../../../assets/css/default.css" type="text/css" /> | ||
<script src="../../../../assets/scripts/main_script.js" type="module"></script> | ||
<meta name="rh-authors" content="Mark Alexander" /> | ||
<meta name="topic-comment" content="Reference page for draw_enable_svg_aa" /> | ||
<meta name="rh-index-keywords" content="draw_enable_svg_aa" /> | ||
<meta name="search-keywords" content="draw_enable_svg_aa" /> | ||
</head> | ||
<body> | ||
<!--<div class="body-scroll" style="top: 150px;">--> | ||
<h1><span data-field="title" data-format="default">draw_enable_svg_aa</span></h1> | ||
<p>With this function you can enable or disable anti-aliasing (AA) for SVG format vector sprites. AA simply smooths the edges of vector images to give them a nicer look. The amount of AA used will depend on the value set using the function <span class="inline3_func"><a data-xref="{title}" href="draw_set_svg_aa_level.htm">draw_set_svg_aa_level</a></span>. By default this is disabled.</p> | ||
<p> </p> | ||
<h4>Syntax:</h4> | ||
<p class="code"><span data-field="title" data-format="default">draw_enable_svg_aa</span>(enable);</p> | ||
<table> | ||
<tbody> | ||
<tr> | ||
<th>Argument</th> | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
<tr> | ||
<td>enable</td> | ||
<td><span data-keyref="Type_Bool"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Boolean</a></span></td> | ||
<td>Enable (<span class="inline">true</span>) or disable (<span class="inline">false</span>) AA for all SVG sprites.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<p> </p> | ||
<h4>Returns:</h4> | ||
<p class="code"><span data-keyref="Type_Void">N/A</span></p> | ||
<p> </p> | ||
<h4>Example:</h4> | ||
<p class="code">if (draw_get_svg_aa_level() == 0)<br /> | ||
{<br /> | ||
draw_enable_svg_aa(true);<br /> | ||
draw_set_svg_aa_level(0.5);<br /> | ||
}</p> | ||
<p>The above code will check the AA value for SVG format sprites, and if it is 0 it enables AA and sets the value to 0.5.</p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<div class="footer"> | ||
<div class="buttons"> | ||
<div class="clear"> | ||
<div style="float:left">Back: <a href="Sprites_And_Tiles.htm">Sprites And Tiles</a></div> | ||
<div style="float:right">Next: <a data-xref="{title}" href="draw_set_svg_aa_level.htm">draw_set_svg_aa_level</a></div> | ||
</div> | ||
</div> | ||
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5> | ||
</div> | ||
<!-- KEYWORDS | ||
draw_enable_svg_aa | ||
--> | ||
<!-- TAGS | ||
draw_enable_svg_aa | ||
--> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
...ents/GameMaker_Language/GML_Reference/Drawing/Sprites_And_Tiles/draw_get_svg_aa_level.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>draw_get_svg_aa_level</title> | ||
<meta name="generator" content="Adobe RoboHelp 2022" /> | ||
<link rel="stylesheet" href="../../../../assets/css/default.css" type="text/css" /> | ||
<script src="../../../../assets/scripts/main_script.js" type="module"></script> | ||
<meta name="rh-authors" content="Mark Alexander" /> | ||
<meta name="topic-comment" content="Reference page for draw_get_svg_aa_level" /> | ||
<meta name="rh-index-keywords" content="draw_get_svg_aa_level" /> | ||
<meta name="search-keywords" content="draw_get_svg_aa_level" /> | ||
<meta name="is_pure" content="true" /> | ||
</head> | ||
<body> | ||
<!--<div class="body-scroll" style="top: 150px;">--> | ||
<h1><span data-field="title" data-format="default">draw_get_svg_aa_level</span></h1> | ||
<p>This function can be used to get the anti-aliasing (AA) level for SVG format vector sprites. The return value will between 0 and 1 and shows how "smooth" the edges of these sprites will be drawn. You can set the AA level using the function <span class="inline3_func"><a data-xref="{title}" href="draw_set_svg_aa_level.htm">draw_set_svg_aa_level</a></span>.</p> | ||
<p> </p> | ||
<h4>Syntax:</h4> | ||
<p class="code"><span data-field="title" data-format="default">draw_get_svg_aa_level</span>();</p> | ||
<p> </p> | ||
<h4>Returns:</h4> | ||
<p class="code"><span data-keyref="Type_Real"><a href="../../../GML_Overview/Data_Types.htm" target="_blank">Real</a></span></p> | ||
<p> </p> | ||
<h4>Example:</h4> | ||
<p class="code">if (draw_get_svg_aa_level() == 0)<br /> | ||
{<br /> | ||
draw_enable_svg_aa(true);<br /> | ||
draw_set_svg_aa_level(0.5);<br /> | ||
}</p> | ||
<p>The above code will check the AA value for SVG format sprites, and if it is 0 it enables AA and sets the value to 0.5.</p> | ||
<p> </p> | ||
<p> </p> | ||
<p> </p> | ||
<div class="footer"> | ||
<div class="buttons"> | ||
<div class="clear"> | ||
<div style="float:left">Back: <a href="Sprites_And_Tiles.htm">Sprites And Tiles</a></div> | ||
<div style="float:right">Next: <a href="draw_tile.htm">draw_tile</a></div> | ||
</div> | ||
</div> | ||
<h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2024 All Rights Reserved</span></h5> | ||
</div> | ||
<!-- KEYWORDS | ||
draw_get_svg_aa_level | ||
--> | ||
<!-- TAGS | ||
draw_get_svg_aa_level | ||
--> | ||
</body> | ||
</html> |
Oops, something went wrong.