• 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

[Lập Trình Game]Lesson 8: Creating a Background for Sense

AnonyViet by AnonyViet
February 2, 2023
in Tips
0

Continuing the series, I will guide you to create the background for the sence of the Game. Background (background) is very important in decorating the game to avoid boredom. Normally, you will see the background inside any game, right, if you don’t understand, you can see the picture below, which I’m sure most of you already know.

Join the channel Telegram belong to AnonyViet 👉 Link 👈

[Lập Trình Game]Lesson 8: Creating a Background for Sense 18

In the picture on the Background is the picture behind those planes, if you don’t understand it, you can understand it as the background image for the game, at this point, everyone will understand.

So now let’s get started.

Create Background For Sense

To understand this article, you should read from Lesson 0 of the series Game programming with Godot for basic knowledge.

To make this background is not very difficult, just need a few nodes.

Prepare:

+ 1 background is larger than your Window Game size or if not equal to your background, you can use 2 backgrounds or clone into 2 or reduce the map.

Here I have a background, you can go online to record the game2d background and then click on the image to come out and save it to your computer, but remember to see which image is larger than the game to see the size of the game window you make. as follows.

Click Project > project settings

[Lập Trình Game]Lesson 8: Creating a Background for Sense 19

Scroll down to find and select Window

[Lập Trình Game]Lesson 8: Creating a Background for Sense 20

Part:

  • Width: width
  • Height: width

So we will have 1024×600 so what do you find equal or more than 1 bit smaller is ok.

So now we’re going to start

The first step into a scene you need to add a background

Find and choose for yourself ParallaxBackground and ParallaxLayer is a child node belonging to ParallaxBackground

[Lập Trình Game]Lesson 8: Creating a Background for Sense 21

And add one for me Sprite is a child node of ParallaxLayer or drag the background in quickly.

[Lập Trình Game]Lesson 8: Creating a Background For Sense 22

And Remember To Create Background we need 2 nodes ParallaxBackground and ParallaxLayer These 2 nodes always go together in creating background.

[Lập Trình Game]Lesson 8: Creating a Background for Sense 23

And drag the image onto the sprite’s texture

And here’s when we dropped in

[Lập Trình Game]Lesson 8: Creating a Background for Sense 24

Next let’s adjust it to fit the window game

Like this or whatever as long as you feel ok

[Lập Trình Game]Lesson 8: Creating a Background for Sense 25

Now run the game

[Lập Trình Game]Lesson 8: Creating a Background for Sense

It looks blurry so we’ll import 2D again.

Note: If you are blurry, please re-import, if not, you don’t need to re-import

Import 2D pixels or 2D

[Lập Trình Game]Lesson 8: Creating a Background for Sense 27

Save background

Next we will save it under tscn so that we can put it in another sence without creating a new one.

Well, remember to lock the scene, lock it by pressing the padlock icon and the button next to the one with 4 white dots and a cross in it.

Save[Lập Trình Game]Lesson 8: Creating a Background for Sense 28

Name to save

[Lập Trình Game]Lesson 8: Creating a Background for Sense 29

And instance it with the instance button as shown below (blue button)

[Lập Trình Game]Lesson 8: Creating a Background for Sense 30

Select the background just Saved

[Lập Trình Game]Lesson 8: Creating a Background For Sense 31

And so we have the background for another sence easily

[Lập Trình Game]Lesson 8: Creating a Background for Sense 32

In the next lesson 9 will be how to create the menu ^^

Deathgm!

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

Tags: backgroundcreatingGameLessonlậpSensetrình
Previous Post

Download PDF Shaper Professional 9.2 Full – Optimize PDF files

Next Post

BOT create Google Drive Unlimited with Mail Edu Orange Coast College

AnonyViet

AnonyViet

Related Posts

Windows 7/8.1/10 users will be upgraded to Windows 11 for free
Tips

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving ChatGPT Plus for 1 month for free in 2026
Tips

Instructions for receiving ChatGPT Plus for 1 month for free in 2026

July 28, 2026
Some reasons I don’t like Windows 11
Tips

Some reasons I don’t like Windows 11

July 27, 2026
Instructions on how to get free Facebook white ticks
Tips

Instructions on how to get free Facebook white ticks

July 27, 2026
Collection of Windows 11 wallpapers for computers and phones
Tips

Collection of Windows 11 wallpapers for computers and phones

July 26, 2026
Don’t install leaked Windows 11
Tips

Don’t install leaked Windows 11

July 25, 2026
Next Post
BOT create Google Drive Unlimited with Mail Edu Orange Coast College

BOT create Google Drive Unlimited with Mail Edu Orange Coast College

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted

Recent News

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving the free Certified LLM Security Expert certificate

Instructions for receiving the free Certified LLM Security Expert certificate

July 30, 2026
MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

July 29, 2026
What is quantum resistant cryptography? Why must the Internet change?

What is quantum resistant cryptography? Why must the Internet change?

July 29, 2026
Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving the free Certified LLM Security Expert certificate

Instructions for receiving the free Certified LLM Security Expert certificate

July 30, 2026
MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

July 29, 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

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving the free Certified LLM Security Expert certificate

Instructions for receiving the free Certified LLM Security Expert certificate

July 30, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

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

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

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