Jump to content
Spriter Forums

Leaderboard

Popular Content

Showing content with the highest reputation on 04/10/2015 in all areas

  1. I've decided to open a new thread for this implementation as the old thread is mighty out of date (especially the first page is misleading). Spriter2Unity Get it from GitHub: https://github.com/bonus2113/Spriter2Unity A tool that converts SCML files into unity .prefab and .anim files Based on the original work by Malhavok (https://github.com/Malhavok/Spriter2Unity) About What it does: [*:o70kr28x]for each entity in SCML file creates a Unity prefab [*:o70kr28x]each entity got it's sprites assigned as long as you imported these sprites before conversion [*:o70kr28x]for each animation in SCML file creates a Unity animation under the prefab [*:o70kr28x]sprites are changed during animations, so only 1 SpriteRenderer is used for each node in the spriter file [*:o70kr28x]an AnimatorController is created (if it doesn't exist already) [*:o70kr28x]an Animator component is attached to the prefab. It gets a reference to the AnimatorController. Known issues: [*:o70kr28x]Only quadratic, cubic, linear and instant curves are supported [*:o70kr28x]Mainline curves are not yet imported [*:o70kr28x]Only works with a "Pixels To Units" setting of 100 [*:o70kr28x]Some animations throw errors when selecting/scrubbing through them in the editor. They work fine when running the game. Important missing features: [*:o70kr28x]Sounds [*:o70kr28x]Points [*:o70kr28x]Boxes Usage Copy the contents of the Assets folder into your Unity project's Assets folder or import the package from here. Any SCML files copied into the project will be automatically processed. Prefabs are created in the same folder as the SCML file. Detailed: [*:o70kr28x]Download this Unity package: https://github.com/bonus2113/Spriter2Un ... itypackage [*:o70kr28x]Open your Unity project. [*:o70kr28x]Import your whole Spriter project folder into Unity. [*:o70kr28x]With Unity open, go to the folder you saved the Unity package to and double click it. [*:o70kr28x]Unity should pop up with a dialog asking if you want to import the assets, click import on the bottom right. [*:o70kr28x]Unity should now import the Spriter2Unity package and then automatically convert your SCML files to prefabs. The prefabs will be in the same folder as the SCML files. There's an example included which imports the GrayGuy character and animates him via Mecanim. I'm currently working on the in-code documentation to make it easier for other people to contribute. You are very welcome to fork the repository and create pull requests! If you have any questions feel free to ask them here. I'd appreciate it if bug reports would be done via GitHubs issue system (https://github.com/bonus2113/Spriter2Unity/issues), but I if you don't want to create a (free) GitHub account, this forum is fine as well. Changelist 26th of June 2014: [*:o70kr28x]Fixed ZIndex Animation [*:o70kr28x]Added an example [*:o70kr28x]Implemented Sprite changing into the native Unity animations
    1 point
  2. ridjam

    Create New Blank Key

    Hello from Indonesia here, I've purchased the Spriter Pro, and thanks for GREAT software :-P I have a question, about your RunNGunPlatfortmerPack Essentials, in Crounch_Down_Block key number 1 to 76 how to create it? I create a new animation from scratch with my art, and I follow your pack, every I paste in key 76 or other key, the image always be animated, I want to make as you do on RunNGunPlatfortmerPack Essentials, "create new blank key with new image without animated", how to create it? sorry for my bad explain haha... :-P Thanks before.
    1 point
  3. 1 point
  4. This is a tutorial I made That I think could be a good idea. Its for making sprites in a 3/4 view which can be VERY difficult without a 3d model, so we use an easy way with the scaling tool. You can disable interpolation in the tool (in gimp) for less blurring results. If you use other program there should be an option similar. This method is very old and was used in pixelart for making things like coins or the rings in sonic spinning (or similar method). 1-First take the sprite or part you want to make 3/4 view and have it on a layer. (draw it, paste it, whatever). 2-Make 2 Duplicates. 3-Divide the 1 duplicate by middle by deleting it with the square selection tool(natural middle in this case about the navel). 4-Do the same for the other duplicate. 5- Now use the scaling tool on one half of the duplicate , in this case the one which is farther to us, and tweak it to make it narrower. 6- Do the same to the other part, but have in mind to leave one part smaller as to emulate perspective. Tweak everything By hand, I recommend 1px round brush. This is the final result after tweaking. Sorry about the crappy presentation I almost messed up last image, but you get the idea. Using a 3d modelling program and drawing over is tedious, and using the perspective tool can get messy. This way is easier... Now the most important is tweaking and leaving as you like and make last corrections at the end. Hope you find it useful, I think you can do the same thing with vectors if you use flash (Im not sure). Cheers.
    1 point
×
×
  • Create New...