This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ixe:irpl:sprites:createsprite [2025/01/07 17:58] – created - external edit 127.0.0.1 | ixe:irpl:sprites:createsprite [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== CreateSprite ====== | ====== CreateSprite ====== | ||
- | CreateSprite(< | + | CreateSprite(< |
===== Description ===== | ===== Description ===== | ||
- | Creates a sprint | + | Creates a sprite |
===== Examples ===== | ===== Examples ===== | ||
- | < | + | < |
+ | #Spawning a default enemy sprite and moving it to 100,100 | ||
+ | CreateSprite(" | ||
+ | SetSpritePosition(< | ||
+ | |||
+ | #spawning a custom sprite from the map's editor directory | ||
+ | CreateSprite("/ | ||
</ | </ |