gm-docs-parser 1.0.0

A collection of typings for GameMaker Studio 2 manual pages
Documentation
<?xml version="1.0" encoding="utf-8" ?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>

  <script type="text/javascript" language="JavaScript">
    //<![CDATA[
    function reDo() {
      if (innerWidth != origWidth || innerHeight != origHeight)
        location.reload();
    }
    if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
      origWidth = innerWidth;
      origHeight = innerHeight;
      onresize = reDo;
    }
    onerror = null;
  //]]>
  </script>
  <style type="text/css">/*<![CDATA[*/

    < !-- div.WebHelpPopupMenu {
      position: absolute;
      left: 0px;
      top: 0px;
      z-index: 4;
      visibility: hidden;
    }

    p.WebHelpNavBar {
      text-align: right;
    }

    -->
  
/*]]>*/</style>

  <script type="text/javascript">//<![CDATA[

    gRootRelPath = "../../../..";
    gCommonRootRelPath = "../../../..";
    gTopicId = "9.2.2.3";
  
//]]></script>

  <script type="text/javascript" src="../../../../template/scripts/rh.min.js"></script>
  <script type="text/javascript" src="../../../../template/scripts/common.min.js"></script>
  <script type="text/javascript" src="../../../../template/scripts/topic.min.js"></script>
  <script type="text/javascript" src="../../../../template/scripts/topicwidgets.min.js"></script>
<script type="text/javascript" src="../../../../whxdata/projectsettings.js"></script>
  <link rel="stylesheet" type="text/css" href="../../../../template/styles/topic.min.css"/>
  <link rel="stylesheet" type="text/css" href="../../../../template/Charcoal_Grey/topicheader.css"/>
  <meta name="topic-status" content="Draft"/>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>Sprites</title>
  <meta name="generator" content="Adobe RoboHelp 2019"/>
  <link rel="stylesheet" href="../../../../assets/css/default.css" type="text/css"/>
  <meta name="rh-authors" content="Mark Alexander"/>
  <meta name="topic-comment" content="Page outlining the different functions and variables associated with Sprites"/>
  <meta name="rh-index-keywords" content=""/>
  <meta name="search-keywords" content="Sprites"/>
</head>

<body>
  <div class="topic-header rh-hide" id="rh-topic-header" onclick="rh._.goToFullLayout()">
    <div class="logo">
    </div>
    <div class="nav">
      <div class="title" title="Sprites">
        <span>Sprites</span>
      </div>
      <div class="gotohome" title="Click here to see this page in full context">
        <span>Click here to see this page in full context</span>
      </div>
    </div>
  </div>
  <div class="topic-header-shadow rh-hide" id="rh-topic-header-shadow"></div>



  <!--<div class="body-scroll" style="top: 150px;">-->
  <h1>Sprites</h1>
  <p>Sprites are generally the visual representations of objects within the game you are creating, although they can be used for many other purposes. A sprite is either a single image, or a set of images that, when played one after another, looks like a
    looping animation. Sprites can be created in many formats, with the &quot;traditional&quot; sprite being made up of frames of pixel images, imported into GameMaker Studio 2 as <tt>*.png</tt> files. However you can also import <i>vector</i>    sprites that have been saved in the <tt>*.swf</tt> format, or <i>skeletal animation</i> sprites that have been saved out as <tt>*.json</tt> files with accompanying <tt>*.atlas</tt> and <tt>*.png</tt> files (for more information on these types of image
    files and how to import them into GameMaker Studio 2 please see the section <a href="../../../../Settings/Texture_Information/Non-Bitmap_Sprites.htm">Importing Non-Bitmap Sprites</a>).</p>
  <p>Since sprites are an integral part of any game, GameMaker Studio 2 has a large number of functions and variables that can be used for getting information about specific sprites, or for changing those that are in your game, or even for loading
    custom sprites at runtime from a source image file. These functions and variables are all explained in the sections listed below:</p>
  <p> </p>
  <ul class="colour">
    <li><a href="Sprite_Information/Sprite_Information.htm"><label for="one">Sprite Information</label></a></li>
    <li><a href="Sprite_Manipulation/Sprite_Manipulation.htm"><label for="two">Sprite Manipulation</label></a></li>
    <li><a href="Sprite_Instance_Variables/Sprite_Instance_Variables.htm"><label for="four">Sprite Instance Variables</label></a></li>
    <li><a href="Skeletal_Animation/Skeletal_Animation.htm"><label for="three">Skeletal Animation</label></a></li>
  </ul>
  <p> </p>
  <p> </p>
  <p> </p>
  <div class="footer">
    <div class="buttons">
      <div class="clear">
        <div style="float:left">Back: <a href="../Asset_Management.htm">Asset Management</a></div>
        <div style="float:right">Next: <a href="../Tilsets/Tile_Sets.htm">Tile Sets</a></div>
      </div>
    </div>
    <h5>© Copyright YoYo Games Ltd. 2020 All Rights Reserved</h5>
  </div>
  <!-- KEYWORDS
Sprites
-->
  <!-- TAGS
sprite_functions
-->

</body></html>