• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

[Tạo 2D Platformer Game với Godot] Part 3: Character Design

AnonyViet by AnonyViet
January 27, 2023
in Tips
0

In this third part, we will proceed to design the character so that it can move, animate it.

Join the channel Telegram of the AnonyViet 👉 Link 👈

In this part, it’s not too difficult, I will explain the code closely so that you can understand it more easily.

Tilemap

Before that, in the previous post, I showed you how to design the level, but that part we have not added CollisionShape to the tilemap.

So, now all you need to do is add it or else our character will fall to infinity because CollisionShape has not been added.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 31

First, you go back to the Tileset section and then choose for yourself Collision.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 32

After selecting, click 1 box below.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 33

Then click on the square (the collisionshape square is next to the collisionshape polygon).

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 34

Then the square is green.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 35

Then click on the box next to it twice and you will see that the cell we just selected has been filled with a collision shape.

Please continue to finish the Region we have selected.[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 36

Like I’ve finished filling here, because I only use these regions, I can only fill this one, not fill it all because it takes time + no longer uses it, so it’s a waste.

Character

About the character, you can download it at the following link: 3 Character Sprite Sheets

Here, I will use AnimatedSprite, not Spritesheet because this character Art is separated so I can’t use SpriteSheet.

Download & Install

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 37

You download and then go to the Assets folder to create a new folder named NhanVat (this is where the character art is located).

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 38

After that, you copy all the files from the downloaded zip file into the character folder

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 39

After you are done, the Editor will display like this.

Character creation

Coming to the most important part.[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 40First, to create a character you need to create a new scene by clicking the button on the image.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 41

Here I do not add it to a scene like the image above because doing so will take time to redo.

Therefore, I create a new scene and can Instance (add the created scene to another scene) it into other Scenes quickly.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 42

You add your own Root Node is Kinematicbody2D (This node is the node that Godot defaults to as the Node used to create characters because this Node contains functions to help us move.In addition to this node, there are also 2 types of Body Nodes. other are Rigidbody and StaticBody).

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 43

After that, I renamed the Original Node to Player and added 2 more AnimatedSprite nodes (I use it instead of Sprite because the art I downloaded has many Animations and is divided into many images, so I will use AnimatedSprite instead of Sprite) , CollisionShape2D.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 44

You click AnimatedSprite in the Inspector panel select [empty] -> New SpriteFrames
[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 45

Then click on the newly created SpriteFrames.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 46

Then the AnimatedSprites tab will appear.

You will see the Animations column on the left is a list of Animations.

On the right are the frames of Animation.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 47

I will change the default to dungyen by double clicking on it.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 48

Next, I will select the button on the image to add the sprite.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 49

Here, I am creating a stationary Animation so I will find the appropriate Animation. In here idle by standing still.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 50

After that, a new table will appear and I will edit it properly.

You notice on the top left there are 2 adjacent lines are Horizon (horizontal) and Vertical (vertical) . You have to adjust it properly to select frames.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 51

Here, my animation has 4 frames. Horizontally, it has 4 pictures so Horizon is number 4, Vertical is only 1 so Vertical will be number 1
[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 52

Then you select each cell in order from left to right because it calculates the frame order in the order you choose. Then press Add Frame.

[Tạo 2D Platformer Game với Godot] Part 3: Character Design

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 54

This will be the interface after adding.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 55

Then you add the corresponding animations as shown on the table for yourself.

This is also an exercise for you.

Here, if you don’t know which photo to choose, I will say it below:

  • run = run
  • chet = deah
  • jump = jump
  • tancong = attack1

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 56

To run Animation, you can select Animation in the box Animation and tick Playing to run.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 57

If your character is blurry like the picture, you need to Reimport 2D pixels again.

[Tạo 2D Platformer Game với Godot]  Part 3: Character Design 58After Reimport our character will be sharper.

The article achieved: 5/5 – (100 votes)

Tags: characterDesignGameGodotPartPlatformertạovới
Previous Post

9 Best Action Camera Apps available today

Next Post

Your Wifi will be stronger if you choose the right Channel

AnonyViet

AnonyViet

Related Posts

How to use CMD environment variables in Windows
Tips

How to use CMD environment variables in Windows

January 18, 2026
How to add or remove columns in File Explorer Windows 11
Tips

How to add or remove columns in File Explorer Windows 11

January 17, 2026
Sign up for Pluralsight One for 1 year of free access to Online courses
Tips

Sign up for Pluralsight One for 1 year of free access to Online courses

January 16, 2026
How to schedule a Batch file (CMD) to run on Windows
Tips

How to schedule a Batch file (CMD) to run on Windows

January 15, 2026
Instructions for downloading Facebook Videos with new interface 2021
Tips

Instructions for downloading Facebook Videos with new interface 2021

January 14, 2026
How to get ChatGPT K-12 Teacher for free
Tips

How to get ChatGPT K-12 Teacher for free

January 13, 2026
Next Post
Your Wifi will be stronger if you choose the right Channel

Your Wifi will be stronger if you choose the right Channel

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Papercraft paper model download site for free without logging in

Papercraft paper model download site for free without logging in

January 21, 2026
How to post a Zalo story that will be visible for 24 hours is extremely simple

How to post a Zalo story that will be visible for 24 hours is extremely simple

January 21, 2026
Pia S5 Proxy 2026 review: The best residential Socks5 Proxy today

Pia S5 Proxy 2026 review: The best residential Socks5 Proxy today

January 20, 2026
How to use Microsoft 365 for free, no installation required

How to use Microsoft 365 for free, no installation required

January 20, 2026
Papercraft paper model download site for free without logging in

Papercraft paper model download site for free without logging in

January 21, 2026
How to post a Zalo story that will be visible for 24 hours is extremely simple

How to post a Zalo story that will be visible for 24 hours is extremely simple

January 21, 2026
Pia S5 Proxy 2026 review: The best residential Socks5 Proxy today

Pia S5 Proxy 2026 review: The best residential Socks5 Proxy today

January 20, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Papercraft paper model download site for free without logging in

Papercraft paper model download site for free without logging in

January 21, 2026
How to post a Zalo story that will be visible for 24 hours is extremely simple

How to post a Zalo story that will be visible for 24 hours is extremely simple

January 21, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

https://sun52.network

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

https://sun52.network

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply