Kade Engine exposes a lot of functions that let you modify elements in the game field. These premade id's are the following: Sprite Id To get started every sprite has an id, and there are some id's that are accessible without creating one. Returns the x position of the rendered note id Set's the hud's zoom Actors getRenderedNotes() Set's the current camera's zoom setHudZoom(int zoomAmount) Returns the current camera's y position setCamZoom(int zoomAmount) Returns the current camera's x position getCamY() Set's the current camera's position in space getCamX() Returns the hud's y position setCamPosition(int x, int y) Note: Sprite Path is normally the FILE NAME so if you have a file name of Image it'll go to assets/data/songName/Image.png so don't include the extension Hud/Camera setHudPosition(int x, int y) Sprites makeSprite(string SpritePath,string SpriteId,bool DrawBehind)Ĭreates a sprite out of the specified image, returns the id you gave it. Returns whether a rendered note is a sustain note or not (if they appear as the trail) Returns the note data of an note (0-3, left, down, up, right) Returns the scale y of the rendered note id Returns the scale x of the rendered note id Returns the y position of the rendered note id Returns the current parent y of the specified rendered note's id Returns the current parent x of the specified rendered note's id Returns whether a rendered note's parrent is a sustain note or not (if they appear as the trail) Returns what the game would normally put the specified rendered note x. Returns the alpha of the rendered note id Returns the number of rendered notes on the screen. Returns the width of the specified rendered note. Note: Rendered Notes id's are special in the way that they act. 0 = closest note to any receptor, last index = the farthest away from any receptor. Returns the angle of the specified rendered note.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |