• 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 26

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

4 ways to fix bluetooth connectivity on Windows 11
Tips

4 ways to fix bluetooth connectivity on Windows 11

August 8, 2025
How to know the computer is tracked and processed by Keylogger
Tips

How to know the computer is tracked and processed by Keylogger

August 7, 2025
Opal: Create applications who do not need to write code
Tips

Opal: Create applications who do not need to write code

August 3, 2025
How to activate a new Start menu on Windows 11
Tips

How to activate a new Start menu on Windows 11

July 29, 2025
Intellgpt: AI tool for osint and data science
Tips

Intellgpt: AI tool for osint and data science

July 28, 2025
How to create Google Ai Pro 12 months free with Indian student account
Tips

How to create Google Ai Pro 12 months free with Indian student account

July 27, 2025
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
Inline Feedbacks
View all comments

Recent News

Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Wowhay.com – The door opens the world of modern knowledge and network culture

Wowhay.com – The door opens the world of modern knowledge and network culture

August 13, 2025
Instructions on how to fix Screen Time Limited Reached on RoBlox

Instructions on how to fix Screen Time Limited Reached on RoBlox

August 13, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Wowhay.com – The door opens the world of modern knowledge and network culture

Wowhay.com – The door opens the world of modern knowledge and network culture

August 13, 2025
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

Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

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

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

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