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
Indonesian
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
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
If you haven't already opened up
Unity be sure to open up Unity Project otherwise just save your Photoshop file
Jump back in the unity and go slowly in Port your city graphics
Photoshop
Big file
Hi you'll see that you're silly graphics PSB file has imported into unity
And all of the Sprite which of these purple squares are imported
And is also created this giant prefab with all of the sprouts as
Children first prefab
So we can actually just drag this into the scene here
And you can actually see
Everything is pretty much exactly the way it was in Photoshop
It is really cool
But what you on this is it's a little low res
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
Survey scale up here you can see the resolution to pretty low
Click on my CV graphics to the inspector herein change out the max texture
Size to be a little bit bigger so
4096 what's good in I'm actually going to use a crunch compression in a minute compressor
A lot to about 100
As long as the graphics are really simple you can actually get away with a lot of compression
What's the head in Hill apply
So what unit is going to do as it's going to scale up our resolution for us to 4096 has the map
Texture size
But it's going to compress down
The data
Celebrities get crisp clean edges
But maybe not as many colours
As you can see we've got really crisp edges here
And you can just barely make out some compression you can see some right here
But it's honestly not enough for me to be worried
So this is great actually I think there
Resolution
Looks wonderful we can change it
If we need to
In the future so looks like you can see here as we zoom out
Breaking and telling the video
But you can see here that it's pretty low-res wide zoom out
That's because we need to make sure
Advanced settings here
We want to remove
Generate maps
Alright
Reply
Now
When you zoom out it's still pretty Chris and that's exactly what we were
What's the weather you might have noticed this
Some of artwork is getting cut off weird spots
Is a couple of ways to fix this
The first thing I can do is go ahead in change or mesh type
Two for wrecked
And then we're going to apply and see if that fixes it
If that doesn't fix it which in our case it did not that's ok the next thing you want to do is go to a Sprite editor
And we can go ahead and click
Despite here
And you can see that when we invert the colours and get a black background
Some of our boxes are not generating
The right size
So even though unity does a good job automatically creating things sometimes
Just not perfect
So it looks like this one needs to be scaled up to here and make sure your scaling the blue box
Not the green one the green one is for slicing
We don't want to do that
Alright will this one here scale that up to about right Here lyrics Drake
That was good
This one needs to be a little bit bigger too
What about this one are well that one was really bad
That's ok guys
Sometimes
You have to manually going in pics things
Alright
But it's honestly not that much work
That's ok
Right
Ian BBC Oliver here
Perfect
Background looks good clouds look good with square head and he reply it might take a while
Alright so looks like everything's been fixed and I want to jump in a photo shop this explain something
I think perhaps the reason that happening in by the way the PSB important again Photoshop big
Importer it's a new tool and so there might be some bugs and glitches associated with it
But one of the things you could probably do is if you have some room
Perhaps try and separate out your graphics a little bit more
Play me that are here and move that are here and you might get some different results with you
Automatic slicing tool
Helluva
In my case I'm not really don't worry about it cos I didn't take that long to clean up
Anyway I'm going to drop back in the universe
Start creating prefabs
Ok
See the city graphics here
This is just a
Prefab that was automatically created by unity it's certainly helpful to have this but we're
Can I actually use this prefab
What's you going to create prefabs from this in the way that we're going to do that
Is there a right click on City graphics
I'm going to unpack the prefab
And now we can go ahead and create prefabs of all of these various items and drag him into
Prefabs folder
Alright so we're going to do is create a new folder
How many call this city graphics
What city prefabs
Alright let's start with the ones we know we need to create some colliders for
So ground wine
I know I need a Collider for this
And I'm pretty sure I wanted to be a box Collider I like box colliders because you can absolutely
Certain that there's not going to be weird angles it's a clean box that's predictable for the player
So that's great so it's go ahead and drag round 1 into City prefabs
Then we can go to this one
We're going to do the same thing
I'm going to drag that into City prefabs now for the actual crane element
If you can recall we actually have this platform
Prefab remember this
This platform prefab allows two-player to jump through
The collider
But not fall through the collider
So I'm actually going to copy the polygon Collider 2D component
I'm going to paste it onto the Crane
It looks like I've got some weird shapes to it's all going to edit the points by clicking edit Collider
It was going to drag them
To be like
This
Ok
Then we can also copy the platform effector
Are we going to use that in the crane as well
Alright there we go
Animal might wanna make sure
That we got all the correct settings
So fat looks good so I'm gonna go ahead and drag this cream in the city prefabs
I can delete this now
By the way guys there's some prefabs in here that we're going to end up deleting because work and replacing those
You know actual graphics some of these are very basically this guy here we're gonna end up deleting this
Completely
And replacing it with a actual Gate using the gate spray here
In fact
Let's go ahead
And get this likes door gate set up here
Set the way we can do that is just dragging our Gate preferred we created earlier
I'm going to copy all the components just like we did
The platform
With the crane
That's good I like door
Paste the component
You can see the polygon Collider needs to be added a little bit just like we did with the crane
You just make sure your lines are pretty much straight
You don't want any weird interactions with the player
Go back to Reigate here and
The capital box Collider 2D in paste that in as well
There we go
If you can see our Gate box Collider it's just a little bit wider
So we're going to go ahead go to our
Labrador
Everyday do the same
Drag here
Dracula
Here we go
And it's a trigger remember so this is basically a trigger zone for the player to interact
With the gate
And then we're going to copy the gate script and paste it onto a locked door
So far everything looks good really delete that
And I'm going to strike this locked door
Into the city prefabs
And we'll probably be renaming some layers here so for example lock door supply name that gate
Or
You no delete this gate prefab completely in and just use the word locked door
We don't find out like to prefabs flooring around so we're going to be doing some cleaning up you're a bit
So that's going to have a Collider on it looks like our boxes here
This will have a box Collider on it as well
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
So we can have
The player actually jump on top of it was dragged out into a city prefabs
And I think everything else
Is just
Sprouts
So we're going to drag each one in separately
So drag background one background to
Bush
Chain
Cloud
Cloudberry
The square headed dragon anime prefab
Into the scene here
Copy over all of these components
Onto enemy
Spray
Here
In fact I would are you we could just copy the Sprite from our new anime
Just paste it
Where we go
Anna old enemy prefab
And because this is not unique to the city
I'm actually ok we're just having it
This anime here
The same is true with the coin right
With the Queen we could actually just go to this spray here
Take the Sprite renderer copy it
And paste it
Android coin
And then make sure we apply all
Same is true with our health
Let's go to our heart
Copy the sprite renderer
And then paste it onto our original prefab that We Created earlier
Is going to go ahead and
Hit a player
That looks great
No we don't need the player reference so we can delete that
And then we can also use the same logic with a key member of original key prefab
We can get a new key sprite
Copy that
And paste it
Hunter original key prefab
IPlayer
Great
Delete all of these now because we've applied the changes in and I'll say there's prefabs
I don't need this key anymore
I don't need the heart
I don't need the gym
Can I also don't need this enemy Sprite year anymore
Delete that
Everything else I can drag in My City prefabs
And now we've created all the prefabs we need
So believe it or not guys we can just delete
The city graphics completely because we've saved out all of the prefabs and we can start dragging them in
Layers
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.