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
  • ИгрыИгры

Комментарии • 54

  • @Tommypop11
    @Tommypop11 13 дней назад +1

    awesome❤❤❤ thanks very much for this now i know what to do❤❤❤❤❤❤❤❤❤❤

  • @elsexymariofan1
    @elsexymariofan1 6 месяцев назад +1

    Gracias por este tutorial men, igual que otros tutoriales me van a reservir

  • @oedeostudio
    @oedeostudio 11 месяцев назад +2

    wow ı love this tutorial nice video and animation

  • @GanShockZ
    @GanShockZ 8 месяцев назад +1

    Awesome tutorial dude 👍

  • @Painauchocolatanimation
    @Painauchocolatanimation 11 месяцев назад +2

    Thx bro you are my legend

  • @AlbinotheLightning77
    @AlbinotheLightning77 11 месяцев назад +3

    LEGENDD!!!

  • @FireStar-qf9ii
    @FireStar-qf9ii 6 месяцев назад +1

    this was helpful thanks

  • @krystalthehellcat8469
    @krystalthehellcat8469 11 месяцев назад +1

    Now this was actually helpful other then the other tutorials i watched

    • @God-T
      @God-T 4 месяца назад

      how this looks amazing what software is this?!?!

  • @natedagreat228
    @natedagreat228 2 месяца назад +1

    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!

    • @angelomm31
      @angelomm31  2 месяца назад +1

      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

    • @natedagreat228
      @natedagreat228 2 месяца назад +1

      @@angelomm31 thank you so so much! This means a lot man 😎👍

  • @nick3467productions
    @nick3467productions 7 месяцев назад +1

    I didn't know how to make my own vcam until now :p
    Thanks man

  • @TailsXHeeroes
    @TailsXHeeroes 11 месяцев назад +1

    Thanks.

  • @yukuultra110
    @yukuultra110 11 месяцев назад +1

    I guess this is an easy one

  • @maxythedog2.0
    @maxythedog2.0 10 месяцев назад +1

    i like those effects, where did you get them?

    • @angelomm31
      @angelomm31  10 месяцев назад

      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

    • @angelomm31
      @angelomm31  10 месяцев назад +1

      drive.google.com/drive/folders/0B21OXmWzVAL7WktveFhtTGE0ZHM?resourcekey=0-0taP8TEcFzDPEF_JlQoKAg

    • @maxythedog2.0
      @maxythedog2.0 10 месяцев назад +1

      @@angelomm31 thank you fam! now i can improve better

  • @Blaze_The_Hedgeog
    @Blaze_The_Hedgeog 20 дней назад +1

    Una preguntita,que programa dijiste que usabas?

    • @angelomm31
      @angelomm31  20 дней назад

      Adobe animate CC 2018

    • @Blaze_The_Hedgeog
      @Blaze_The_Hedgeog 20 дней назад

      @@angelomm31 ahhh muchas gracias,lo avía olvidado

  • @user-jf4dk5tu9b
    @user-jf4dk5tu9b 9 месяцев назад +1

    where did you get the music from?

    • @angelomm31
      @angelomm31  9 месяцев назад

      Here’s the song list in order:
      Undertale: dating start
      Mario kart Wii: main menu medley
      Sonic CD: Collision Chaos Past

  • @marlenerodriguez4084
    @marlenerodriguez4084 11 месяцев назад +1

    saludos desde venezuela 👍

  • @10graves.
    @10graves. 8 месяцев назад +1

    How do you export it correctly cause i can still see the lines in my gifs

    • @angelomm31
      @angelomm31  8 месяцев назад

      I export it as an swf, then I add it on swivel and convert it to an mp4

    • @user-qx5of9lm5j
      @user-qx5of9lm5j 6 месяцев назад +1

      @@angelomm31 uhm hi i have a problem how do i trace the bitmap of the grid? im confused

    • @angelomm31
      @angelomm31  6 месяцев назад

      @@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

  • @bigmoneyzelf
    @bigmoneyzelf 11 месяцев назад +1

    Also can I have the music you used at the begining

    • @angelomm31
      @angelomm31  11 месяцев назад +1

      It’s from undertale. It’s called “dating start”

    • @bigmoneyzelf
      @bigmoneyzelf 11 месяцев назад +1

      @@angelomm31 thanks

  • @bigmoneyzelf
    @bigmoneyzelf 11 месяцев назад +1

    W

  • @WrongJoke06
    @WrongJoke06 6 месяцев назад +1

    where do i paste the code? i don't see anywhere to paste it

    • @angelomm31
      @angelomm31  6 месяцев назад +1

      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

    • @WrongJoke06
      @WrongJoke06 6 месяцев назад

      @@angelomm31 Any good advice on how to make the camera look good when following a character when they're walking for example?

    • @angelomm31
      @angelomm31  6 месяцев назад +1

      @@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

  • @pedroblast9447
    @pedroblast9447 6 месяцев назад +1

    Olá sou do Brasil você pode colocar legenda traduzida para português por favor ???

    • @angelomm31
      @angelomm31  6 месяцев назад

      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

    • @pedroblast9447
      @pedroblast9447 6 месяцев назад +1

      @@angelomm31 muinto muito obrigado viu seus vídeos me ajudam muito com movimentos de câmera e combos também

    • @God-T
      @God-T 4 месяца назад +1

      @@angelomm31 wow this looks amazing, what software is this??

    • @angelomm31
      @angelomm31  4 месяца назад

      @@God-T adobe animate cc

  • @depositorio
    @depositorio 7 месяцев назад

    How do i download this vcam you use?

    • @angelomm31
      @angelomm31  7 месяцев назад

      Follow the instructions on how to make it. In the description of the video you’ll find actionscript codes that make the camera work

    • @depositorio
      @depositorio 7 месяцев назад +1

      @@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?

    • @angelomm31
      @angelomm31  7 месяцев назад

      @@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

  • @kirbaran2039
    @kirbaran2039 10 месяцев назад +1

    Just use the shuriken vcam bruh

    • @angelomm31
      @angelomm31  10 месяцев назад

      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

    • @kirbaran2039
      @kirbaran2039 10 месяцев назад

      @@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

    • @angelomm31
      @angelomm31  10 месяцев назад

      @@kirbaran2039 happens to the best of us