I am fairly newb with the editor but I am working on a Turret Defense type of map and would like to import some of my own custom made Sprites as the models for the towers. I don't want WASD movement or even different directional facing. Each unit's Sprite would basically be facing the screen (for all animations).
The Units would have 4-5 animations: Standing, Moving, Attacking and Death. (Possible a Special one for spells.)
My Questions are:
- Is it fairly easy to import sprites to be used by the game?
- How do i tell the game how to display the proper sprites?
- If I do manage to get the Units to use Sprites can they still be moved around like normal when you select them (mouse click movement)?
- Does anyone know a good tutorial for adding the sprites to the game, or can anyone explain the basics of the process of adding them?
Thank you for any assitance with this, I really appreciate any help.
I found that using the search, but he seems to be programming them with a WASD movement in mind. I will have to read it more in depth I guess because i only skimmed it earlier. (At work atm)
I found that using the search, but he seems to be programming them with a WASD movement in mind. I will have to read it more in depth I guess because i only skimmed it earlier. (At work atm)
The WASD controls on the demo is just for show. It's not required.
Got a couple additional questions. After reading that sprite engine.
It says you can only have 128 active sprites at a time. If a unit dies does it remove the sprite or do i have to specifically program it. Also are there any limitations to pixel size for the Sprite?
Got a couple additional questions. After reading that sprite engine.
It says you can only have 128 active sprites at a time. If a unit dies does it remove the sprite or do i have to specifically program it. Also are there any limitations to pixel size for the Sprite?
To be honest, I really don't know about that. Just saw the engine before.
And is there anything i Need todo to the sprite aside from save it as .tga that i need todo to get it too show up properly. I assume I keep an alpha channel as the background.
Also I was wondering about the naming schemes. He names them planning a WASD movement in mind and I don't want that. I just want the sprite facing the screen playing maybe a standing animation. If it moves it plays a movement animation, if it attacks it plays an attack animation. This isn't really covered in his engine tutorial there.
I also don't understand some of his numbering scheme when doing the triggers. Are these arbitrary numbers or specific that the game needs. How does the game know when to play an attacking animation.
I need some additional information about this, please anyone shed some light.
Thanks.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi,
I am fairly newb with the editor but I am working on a Turret Defense type of map and would like to import some of my own custom made Sprites as the models for the towers. I don't want WASD movement or even different directional facing. Each unit's Sprite would basically be facing the screen (for all animations).
The Units would have 4-5 animations: Standing, Moving, Attacking and Death. (Possible a Special one for spells.)
My Questions are: - Is it fairly easy to import sprites to be used by the game? - How do i tell the game how to display the proper sprites? - If I do manage to get the Units to use Sprites can they still be moved around like normal when you select them (mouse click movement)? - Does anyone know a good tutorial for adding the sprites to the game, or can anyone explain the basics of the process of adding them?
Thank you for any assitance with this, I really appreciate any help.
-RJA
See http://www.sc2mapster.com/assets/sprite-engine/
@RazernokGaming: Go
I found that using the search, but he seems to be programming them with a WASD movement in mind. I will have to read it more in depth I guess because i only skimmed it earlier. (At work atm)
The WASD controls on the demo is just for show. It's not required.
@RazernokGaming: Go
Got a couple additional questions. After reading that sprite engine.
It says you can only have 128 active sprites at a time. If a unit dies does it remove the sprite or do i have to specifically program it. Also are there any limitations to pixel size for the Sprite?
To be honest, I really don't know about that. Just saw the engine before.
And is there anything i Need todo to the sprite aside from save it as .tga that i need todo to get it too show up properly. I assume I keep an alpha channel as the background.
Also I was wondering about the naming schemes. He names them planning a WASD movement in mind and I don't want that. I just want the sprite facing the screen playing maybe a standing animation. If it moves it plays a movement animation, if it attacks it plays an attack animation. This isn't really covered in his engine tutorial there.
I also don't understand some of his numbering scheme when doing the triggers. Are these arbitrary numbers or specific that the game needs. How does the game know when to play an attacking animation.
I need some additional information about this, please anyone shed some light.
Thanks.