SPRITE ANIMATION TUTORIAL: Camera Work
HTML-код
- Опубликовано: 28 июн 2023
- Here's another tutorial. I'm not gonna lie, I'm not too proud of how it turned out, but it could've been worse.
Better tutorial: • Maplemation Sprite Ani...
Codes for your own camera:
ActionScript 2.0:
import flash.geom.Matrix;
import flash.geom.Transform;
import flash.geom.ColorTransform;
var cameraTrans:Transform = new Transform(this);
var stageTrans:Transform = new Transform(this._parent);
var w:Number = Stage.width;
var h:Number = Stage.height;
this._visible = false;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
stageTrans.colorTransform = cameraTrans.colorTransform;
var stageMatrix:Matrix = cameraTrans.matrix;
stageMatrix.invert();
stageMatrix.translate(w*.5, h*.5);
stageTrans.matrix = stageMatrix;
};
ActionScript 3.0:
var cameraTrans:Transform = new Transform(this);
var stageTrans:Transform = new Transform(parent);
visible = false;
stage.addEventListener(Event.ENTER_FRAME, updateStage);
function updateStage(...rest) {
parent.filters = filters;
stageTrans.colorTransform = cameraTrans.colorTransform;
var stageMatrix:Matrix = cameraTrans.matrix;
stageMatrix.invert();
stageMatrix.translate(stage.stageWidth*.5, stage.stageHeight*.5);
stageTrans.matrix = stageMatrix;
};
updateStage();
addEventListener(Event.REMOVED_FROM_STAGE, resetStage);
function resetStage(...rest) {
stage.removeEventListener(Event.ENTER_FRAME, updateStage);
stageTrans.matrix = new Matrix();
stageTrans.colorTransform = new ColorTransform();
parent.filters = new Array();
}
#sonic, #spriteanimation, #tutorial - Игры
awesome❤❤❤ thanks very much for this now i know what to do❤❤❤❤❤❤❤❤❤❤
Gracias por este tutorial men, igual que otros tutoriales me van a reservir
wow ı love this tutorial nice video and animation
Awesome tutorial dude 👍
Thx bro you are my legend
LEGENDD!!!
this was helpful thanks
Now this was actually helpful other then the other tutorials i watched
how this looks amazing what software is this?!?!
Hey! Love your vids! Been helping me a lot with my own sprite animations, quick question, what kind of hit effects do you use for these? Can’t find them or any of the cool effects anywhere. If you have them or know where to grab them it would be greatly appreciated!
The effects I got are from packs. I got the link to them right here. Keep in mind, it’s animate CC only, so if it doesn’t work for you, then damn I can’t do anything about it
drive.google.com/drive/folders/0B21OXmWzVAL7WktveFhtTGE0ZHM?resourcekey=0-0taP8TEcFzDPEF_JlQoKAg
@@angelomm31 thank you so so much! This means a lot man 😎👍
I didn't know how to make my own vcam until now :p
Thanks man
No problem!
What app is it
@@GoldenEgg3thats adobe animate...is it not obvious?
Thanks.
I guess this is an easy one
i like those effects, where did you get them?
I got them from discord servers. The effects packs are animate files with various effects. I would give it to you right now, but I’m traveling so I don’t have my computer with me. I’ll try to find a link on discord
drive.google.com/drive/folders/0B21OXmWzVAL7WktveFhtTGE0ZHM?resourcekey=0-0taP8TEcFzDPEF_JlQoKAg
@@angelomm31 thank you fam! now i can improve better
Una preguntita,que programa dijiste que usabas?
Adobe animate CC 2018
@@angelomm31 ahhh muchas gracias,lo avía olvidado
where did you get the music from?
Here’s the song list in order:
Undertale: dating start
Mario kart Wii: main menu medley
Sonic CD: Collision Chaos Past
saludos desde venezuela 👍
Saludos!
How do you export it correctly cause i can still see the lines in my gifs
I export it as an swf, then I add it on swivel and convert it to an mp4
@@angelomm31 uhm hi i have a problem how do i trace the bitmap of the grid? im confused
@@user-qx5of9lm5j on the top of the screen, there’s an option that says “modify”.
Modify -> bitmap -> trace bitmap
There are some options before actually tracing. They should look like this:
1, 1 many corners, pixels
Also can I have the music you used at the begining
It’s from undertale. It’s called “dating start”
@@angelomm31 thanks
W
where do i paste the code? i don't see anywhere to paste it
Inside the camera symbol, there should be a tab called “actions”. In case you don’t see it, open the window tab that’s at the top, and activate the actions tab
@@angelomm31 Any good advice on how to make the camera look good when following a character when they're walking for example?
@@WrongJoke06 i just move the camera so that the character stays in almost the same spot. You can also just keep the camera still and move the floor and background
Olá sou do Brasil você pode colocar legenda traduzida para português por favor ???
I have to check if RUclips lets me add custom subtitles for my videos.
Translation: Preciso verificar se o RUclips permite adicionar legendas personalizadas aos meus vídeos
@@angelomm31 muinto muito obrigado viu seus vídeos me ajudam muito com movimentos de câmera e combos também
@@angelomm31 wow this looks amazing, what software is this??
@@God-T adobe animate cc
How do i download this vcam you use?
Follow the instructions on how to make it. In the description of the video you’ll find actionscript codes that make the camera work
@@angelomm31 Thanks for the responde. So i dont need to download anything, i just need to past the code? In the following projects i Will need to paste in each onde of them as well, right?
@@depositorio you can créate a camera in one fla and once you make it work, you just copy that same camera and paste it on any other project you want. No need to redo the process
Just use the shuriken vcam bruh
I’ve actually been practicing with it. The only feature I haven’t been able to figure out yet is the parallax feature it has, but other than that, it’s a pretty good vcam
@@angelomm31 About cant figure out... When i started i had problems with adding an animation inside a symbol. Then i accidentally clicked twice on the sheet... I was raging hard
@@kirbaran2039 happens to the best of us