Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
We've got our timer in place that we can
Use
Later 4 gameplay purposes
But let's focus now on the
That would drop from enemies to collect experience so as a refresher
The way that games like vampire survivors
Is that as you kill enemy
Sort of currency
Is drop
Like experience points or something similar
That you have to collect in order to fill up your
Level up metre
And once you've done that then you are presented with an
Where you can choose
To enhance your abilities or to get a new ability
And so we're going to work on that
Right now
So go to your tilemap
From the Kenney assets
And take a look at
The tiles that are available in what I'm thinking would make a good drop is
Bluevine
Right here
So we're going to make it blue violet drop when you kill enemies and then collecting the bluevine
Will Phil
Some sort of meat
So let's go find that individual tiles I'm going to go into the tiles the individual tiles directory
Subtitled by online-courses.club We compress knowledge for you!
And it looks like tile
0128
The tile that we're looking for
I'm going to copy
With control c
Dynamite filesystem right click
Click open in file manager
I'm going to paste it in the root of the
Heading close that file explorer window
I want to go back to your till I should see you tile here
Rename this by right-clicking and clicking rename
Let's rename ed2
Experience
Underscore
Ok and let's create a new scene with control
Make the scene a root type of 2D seem so that would just be a regular or No Deal
Let's rename it by double-clicking into it
Experience
Vile
Save it
And I want to go to our seems to Rectory so up wondering
For me
And we're going to create
What's create a new folder and run a game underscore
And I'm gonna create a new folder and call this experience underscore Vale
And then save it
So you should have seen game on
Experience mi
And go ahead and drag
Experience smile.png over internet
Ok so before we go any further
Let's put the other acid that we have
Into the game
So the game of drink holder that I create for my games is where I live
To put the player the end
Is any upgrades or health pickups or anything that can actually appear in the game as an object
Interact
If I do that what I'm gonna do is I'm going to close all my scenes by middle clicking or clicking
And the reason I'm doing this is because I find that
Sometimes a good girl can break if you have reference
Two seems that you're refactoring or that you're moving around
So I just want to make sure all of my scenes are closed
Before I do anything with the files
Select nothing else
Close all my scenes
I'm going to take my basic Enemy At folder and I'm going to drag that into the game object directory
And I'm going to do the same
4
My
Claire
I think this directory structure now make sense
And let's go ahead and even move the game camera
Into game
So now we should have a scene
Ability directory a game object
Amain
A manager
And a UI Direct
And so this seems like a good
Break down to me
A game object directory is going to contain everything that can be interacted with by the player
What's going to open up the experience while again
Control Adur Avenue
Let's search for Sprite 2
Go ahead and
Drag over the experience violin png
The internet
That looks pretty
So what are we going to do what we want this thing may be able to be picked up by the player
Right
I'm going to add a collision
Area so control a area2d
So we got a new area today but a control again to add a collision shape 2D
Just like song
The clean shape 2D let's make a
New circle shape in the show
Property
Unless
Bring this
By let's say 16 or so pics
In the rage
Should I give us a nice radius and I'm going to move the area 2D to be the first Choice
So that it renders behind
The vinyl spray
Another I've got that I want to click on my area to select that
And let's modify the collision
Leia
So I'm going to do is going to uncheck the layer and we're going to check them
Ask now we're going to need
Another
Mask
Type
And let's go ahead and go project product settings
Let's go down to layer name
Godot 2D physics
Unreal 5 let's call this
Claire
Pick up
And you'll see how I'm going to use that in a
So let's set the mask on the violin to area on the area to die
2
Bid for
AK number 5 AKA
Play a pig
So just like
Is our going to do
Before we go any further let's open up our player control shift O2 open the quick up and seen
Search for player
Open
Why is an atom
We're going to add in area2d to the player
So hit control
Area 2
What does area2d
Above the Sprite 2D but below the ability manager again I like to order it such that the play
No
Come first in a scene tree and then you can change the rendering or
Is area 2D
Control a
Collision shape 2D
Let's create a new circle shape
Let's give it a quite large
64
Actually that's 2
Maybe
So giving a radiator
Now select your area 2D
W to enter move mode and drag this
Up
It's roughly centred on the Play
Ok what's your area to deselect
Let's go down to later and we're going to turn
Aftermath
I'm going to turn on layer 2 player pick
So now this area2d is going to
Exist on the player pick up Liam in the Vial is going to be scaring that Leah
4
Collision event
What is that mean what that means now we can listen for that collision
And collect the vile when they play against me
So let's go back to our experience vile
Scene
And add a stop
With the default settings that should have been
Creator
Let's get rid of the process method
So let's get rid of this comment
So when are ready made
Let's
Connect to the area2d by during dollar sign
We're going to connect to the area entered signal
Will it rain jacket
Never going to write a function on area in
Just likes
Two new lines for the next one which is going to be cold on air
Entered
And remember
This is going to be supplied with the other area that
So I'm going to stay other underscore error
Typed as an area 2D
And make sure you put a call
The end
Ok so we're going to do another Android will the first
Thing to do is just going to be too
You free just that we can see
So I'm just going to write Q3
Afraid
The scene tree
Ok so that's looking good so what we're going to do is we're going to go to our main
And you may be met
Load failed due to missing tooth
So this is exactly what I was talking about earlier
We're moving things around cancer
Brakes
So
Good thing is that we can actually fix this reveries
So if you see this error what you can
Looks like the player is the only one that
The problem
So I'm going to just
Go to the
Redpath here
I'm going to collect the folder icon
And I'm just going to go in find where that player seen is someone going to see it came up
Player player
And I'm not open
And a dependency has been fed
So we click ok
And then open anyway
And we should be good to go
Charmaine is now
If you didn't encounter a problem and everything looks fine then don't worry
You're good to go
What score instantiated a child's name by
We can use ctrl shift a select mean
Hit ctrl shift
Keyboard
And then search for experienced vinyl
And it should appear in the
Top left origin
We can
Movie
Vile
For the player and press ctrl d to duplicate them a bunch
Again move to all is w
On the keyboard or the spartan up here in the towbar
So I just put a bunch of owls around the player
Run the game and see if our collision
So you should be able to pick up all of those
Call so that's working pretty
So that's it for the basic setup in the next lesson were going to go over how to
Make those collections increment
Some kind of experience not
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.