ScriptSpot

Script

Spritey v0.1.1

By .eb · 2010-07-21

Version
v0.1.1
Version requirement
2008 or newer
Date updated
2010-07-20
Votes
37
Description

-- UPDATE(2022) : only fixed the link for this. Nothing else.

- v0.1.1 functions: Spritey takes a cell-spaced spritesheet and uses the texture space to create UV coordinate animation based upon your specified cell numbers.

- Example: 4 rows of 6 columns of sprite images on 1 texture/material makes 24 frames of animation. 32 rows of 32 columns of sprite images on 1 texture/material makes 1024 frames of animation.(After the animation is created, you can manipulate the frames, animation, fps, etc, for playback as you see fit.)

- Why make Spritey ?
Well, IFLs are awesome & cell-based-sprite-sheets are awesome.
Each are great for their specific uses that each developer can find.
- I could not find a tool that would animate the texture space by (N*X) cell counts..so I made Spritey. I hope that plenty of people find it useful for one thing or another.

- Directions:
1. Make a plane with 4 vertices.
2. Assign the cell-sprite sheet to the plane.
3. Type in the cell counts for up-down and side-side.
4. Select the plane & click the Animate Sprite Material! Button.
5. [The animation timeline will extend as necessary to complete the tasks].

Basic plans for future versions [when I get free time ;)]
1. create cell-based-sprite sheets from camera/viewport (easy)
2. allow max to easily use cell-sprite sheets in rustic fashion to mimic IFL capabilities (easy)
3. set frame lengths per cell (easy)
4. your suggestions here.
5. take over the world (enticing!)
6. enjoy soup (warm & delicious!)

Thanks for reading!

UPDATE:
fixed issues with the file not working in 2011.(no longer a macro)

Additional Info

Written in 2008
Videos
Attachments

Tags: sprites, uv animation

Comments (11)

Fixing the Sliding images

lightcube · 2013-02-19

I watched the video and noticed that there is an easy solution for the sliding images when you hit Play in Max. Before you press the Animate Sprite Material button, change the current default tangent type to Step--this alleviates that problem for the user.

However, you may want to set that programatically in your script.

.eb · 2014-12-06

gp! thx! May do that.

Version Requirement: 2008 or newer

.eb · 2011-01-13

My apologies 785, that's not gonna happen.
I used the unwrap6 interface found in 3ds Max 2008 and higher.

Thank you for your reply

seven85 · 2011-01-14

I've got another tool, which is based on material changes to make the uv tile offset uv

Version max9 please

seven85 · 2011-01-13

Very cool features, very easy to use, can not provide max9 version, Waiting for your message, thank you

.eb · 2011-01-12

fixed link to 0.1.1

broken links

lightcube · 2011-01-06

The download links aren't working.

.eb · 2011-01-05

Thx for the comments.
I never knew you guys commented on this..I'll have to check my user settings to see if I can be notified because I plan to add a few more scripts this year.

//edit
dmd78, v0.1.1 fixes the issue.
Not sure what the heck is going on with Max2011 disliking some encrypted macroscripts. :/

Having trouble

dmd78 · 2010-12-03

Hi, I am unable to access the GUI. I dropped the .mse file onto Max and got the attached error. I then ran the toolbar shortcut and nothing happens. Any ideas? thanks

Attachments

W DIGITAL · 2010-12-04

awesome!
take over the world with this one!

Very nice

dmd78 · 2010-12-03

Hello, this tool is so cool. I am going to get much use out of it. Tonight, right now, lol. Thanks and I will send you some renders.