Cinema - Animate pixel arts or whole scenes(also animate Gifs since 1.5):
~~~~~~(anyone wants to make a gif for this place?)~~~~~~~~\\
Ever wanted to animate one of your pixel arts? Or perhaps you would like to make a building change in a more elaborate way? Even wanted to make 3d movies come to life on your server? These dreams can now come true with this plugin!
Cinema is a block moving plugin which makes scenes come to life in a full moving picture!
Is it efficient?
Yes, by skipping the confines of java, and going straight to the binary~ the amount of work your server needs to do in order to accomplish your cinema is minimal!
Well How Does it work?
Simple~ Have you ever drawn a scene on a piece of paper, then on the next sheet the next scene and so on~ by the end of it you flip through your book and you see a moving picture.
The same rules apply here! You select your "Stage", and then you begin to implement your first scene known as a frame. Each save is a frame of your cinema and in the end the cinema will go through the frames in a loop or one time (You Choose!).
Main tutorials/videos from the creator
nice demovideo from metroid4
Selecting your stage,
By using /cpos1 and /cpos2 you can select your stage much like using world edit to select your cuboid space. (Alternatively you can select the field with an x y z coordinate /cpos1 [x] [y] [z] world name if console )
Once your field is created you can move to step 2!
Creating your first frame,
You need to make your beginning piece of pixel art, or 3d scene
Once built you use the command /csavedelta (File name)
(/csave is deprecated)
Making more Frames,
You can repeat step two until your cinema is complete!!
Playing your cinema,
This command is rather long but each field is necessary\\ /cplay (playername) (filename) (set air 0/1) (play count) (restore after stop 0/1) (frame duration)
The playername IS NOT YOUR NAME it is the name cinema needs to use in order to stop the player if it is in a loop. You can use anything as a player name but again it is Not your name!
Set air is there to help latency if the player can avoid placing air blocks then there are less blocks it needs to load. (Use 0 so air is not set/ Use 1 to set air)
Play Count is the amount of times the cinema will play, using 0 will make the cinema loop endlessly
Frame Duration is in milliseconds 1000 milliseconds = 1 second
(as of 1.6 the milliseconds are recalculated to ticks. one tick is 20 ms)
Here is an example of what your command should look like
/cplay Theater1 Test 0 1 1 400
This means the cinema will play in player Theater1; use the file test1; not use air; play only once; restore to the first frame when done; and use a 400 millisecond frame duration.
Koala :(Was going to add a blockquote but didn't feel like reformatting it all to html~ perhaps later)
Commands in this plugin:
- /cpos1 [x] [y] [z] worldname if console :
[spoiler]set the first corner of your cuboid, which should be saved. if you play a saved file, this will be the pos1 you used by saving. so save your pixelart where you want. and then set pos1 to the destination and play your animation.
if no parameters were given, the position of the players feet is used(the block you are standing in)
as player you can also specify the x, y and z. if you want to use this command from the console. you also have to specify the worldname[/spoiler]
- /cpos2 [x] [y] [z] worldname if console :
[spoiler]sets the second corner of your cuboid. is just used for saving. parameters are the same as in /cpos1[/spoiler]
- /csave <filename> [frameindex] :
[spoiler]behaves just like csavedelta. this method is deprecated. i suggest using just csavedelta[/spoiler]
- /csavedelta <filename> [frameindex] :
[spoiler]saves the frame selected by pos1 and pos2 to the specified file. you can optionally specify the index in the file the frame should be saved to. e.g. /csave test 1 would save the frame as second frame in the animation. 0 would be first frame. if index is out of file the frame will be saved last[/spoiler]
- /cplay <ID> <filename> <setair 0/1> <playcount> <restore after stop 0/1> <framedurationInMillis>:
[spoiler]plays the given file under the given ID (needed to stop this player with cstop)(ID does not refer to your own player name, but to the name you give the playing animation. it also can be 213232123 or whatever. its just for identification purposes later)
setair specifies if air blocks should be set when animating. if this is 0 no blocks will be set to air.
playcount is the amount of times the file will be played. it then calls stop by itself. playCount = 0 means it plays endlessy
restore after stop means, that every block ever set by the command will be restored to that what was there before starting the player.
the frameduration is the amount of time it takes until the next frame is drawn in your world.[/spoiler]
- /cstop <ID> :
[spoiler]stops the player with the given ID. this refers to the ID used in /cplay[/spoiler]
- /cinemainfo :
[spoiler]shows you the current pos1 and pos2. Also shows current version and give you a note if there is a new version available[/spoiler]
- /cplayers :
[spoiler]shows all currently playing cinemaplayers[/spoiler]
- /cinemaremove <filename> :
[spoiler]removes the file with the given name. this cant be undone[/spoiler]
- /ceditopen <filename> :
[spoiler]opens a cinema animation for editing[/spoiler]
- /ceditremove <index> :
[spoiler]removes the frame at position <index>. the first frame has index 0[/spoiler]
- /ceditsave :
[spoiler]saves the changes made to the animation[/spoiler]
- /ceditclose :
[spoiler]closes the editor and file. all unsaved progress will be lost[/spoiler]
- /ceditinfo :
[spoiler]shows you the current loaded file in the editor[/spoiler]
- /ceditshow <index> :
[spoiler]draws the given frame at pos1. undoes the last showed frame by this command[/spoiler]
- /cinemagif <input file name(with extension)> <output animation name> <alignment> :
[spoiler]converts the given image (preferably a GIF animated file) into a cinema animation. for alignment see /cinemagifalignment. input file has to be in plugins/cinema/[/spoiler]
- /cinemagifalignment :
[spoiler]Shows you the 5 available alignments (use the numbers shown here as parameters in /cinemagif[/spoiler]
- /creverse <ID> :
[spoiler]reverses a given players playdirection. so you can reverse a playing animation[/spoiler]
- Saves/deletes and plays animated Pixel arts/ 3d Scenes
- notifies you if a new version is available (use /cinfo)
- restores playing Cinemas after shutdown of server
- converts GIF-files to cinema-animations
Source Code also available there
Big Thanks to Koala for writing most of this text =3
- Date created
- Apr 13, 2012
- Last update
- Jan 24, 2013
- Development stage
- Public Domain
- Curse link
- Recent files
- R: Cinema 1.63 for CB 1.4.7-R0.1 Jan 24, 2013
- R: Cinema 1.63(begs constantly for update) for CB 1.4.6-R0.3 Jan 01, 2013
- R: Cinema 1.62 for CB 1.2.5-R2.0 May 20, 2012
- R: Cinema 1.61 for CB 1.2.5-R1.2 May 13, 2012
- R: Cinema 1.6(not recommended. save commands are dead) for CB 1.2.5-R1.2 May 12, 2012