C# Tutorial - Create 4 Way Sprite Movement Animation Using .Net, Windows Form and Visual Studio

preview_player
Показать описание

Lets make something fun. How about a simple animation where you get to animate a single character walking around the screen in all 4 directions and we will get to do this only using C# and Visual Studio. Well it can sound sort of confusing at first but we have figured out how to do this in style. In this tutorial you will find the answers to all of those questions. We will break down how to make a simple animation only using C# and we will be importing out images and loading them inside of the program and animate them using a custom function. This type of animation is very popular for Zelda games and some top down isometric games. We will recreate just the movement and demonstrate it using windows forms and visual studio. Let’s get started.

Part 2: How to Spawn random game items in 2D and collect it using collision in Windows Forms and C#.

Join the Flappy Bird Hunting Game in C# and OOP on Udemy -

LIKE - SUBSCRIBE
Help MOO grow to a better channel.
Рекомендации по теме
Комментарии
Автор

Dude, I can't tell you how much you've helped me with my own personal c# projects and stuff, I can't thank you enough

snipe_hunterz
Автор

very simple and nice straight forward tut, i like your videos cause of exactly this

arnonuhmer
Автор

Thanks for the tutorial.
Do you plan to continue? Adding enemies or hit animations and interacting with objects on the map?

OLDbespreDEL
Автор

recently i have mixed feelings about myself
1 : genius one is that recently i found some of gem channel like your,
2 : dumb one is why didn't i found it earlier

PriyadarshiPrashant
Автор

You are very good! Thanks for sharing .

nguyenvancanh
Автор

very cool but I why doesn't mine move when I run the program? T^T

kuroineko
Автор

hello i have a problem where player = gets an exception where the index cannot find the image can you help me please.

mythicalcoolkroger
Автор

Thanks, tho I have to ask if you're gonna continue this stuff like adding collisions and other stuff?

shopenggu
Автор

Hello, this tutorial is a good one but i have a problem, under the "private void setUp()", where you wrote "playerMovements = Directory.GetFiles("player", "*.png").ToList();", i tried typing it as well but it was flagging an error the "the name "Directory" does not exist in the current context", but i still don't know what to do, please what can i do to correct this mistake sir.

GafarIbrahim-oi
Автор

Thanks for the tutorial.

and could it also be made to jump?

este_bandido
Автор

I am trying to create a chat messenger program and i want to add live animations i have made already and a cam view to the program any sujestions? Thank You

davidhouser
Автор

Hi there, I've followed your code and created a folder that contains all the images in the correct order. But, whenever the character moves, it pulls the wrong images. The steps are correct and he moves in the correct direction, but the images to animate my character are all wrong. I've told it to use images 8-11 for left, and images 12-15 for right. But for right, it's using images 6-9. and for left it's using 2-5. I have no idea why it's doing that.

yort
Автор

why is my character not moving when I press keys? please help

Yukichan-gg
Автор

The background is flashing a lot and the movement is happening. I have rechecked all of the code and I don't know what I did lol

jemmargilbert
Автор

hello its me again this time i have a problem with lblMovent.Text it says that lblMovement does not exist in current context. can u pls help me been loving the video so far

mythicalcoolkroger
Автор

Bro, where or how did you get the images?

brayanospina
Автор

Shit, I don't have any properties like that...

exactly