Game
HOW AM I MAKING A GAME WITH UNITY?

8 years ago

[DEV. 0.1]


Character Prefab​

		
			Library Serializable Script to have informations about each evolution(Id, name, Sprite for now)​

Instances Script to get all Prefabs I need in the game

Ligne Code to check if two ID are the same I can merge them.

When 2 characters are merged I add a new Character Prefab at the position where I merged the characters with an ID +1.

I made the function to call a new Sprite from his ID.
		
	

This function looks like it:

public void ChangeSkin()
{
transform.GetChild(0).GetComponent<SpriteRenderer>().sprite = Script_Character_Library.Mine.Library[ID].Skin;
}



0 comments

Loading...

Next up

[DEV.06]

[DEV. 0.3]​

[DEV. 0.2]​

[DEV. 0.5]​

[DEV. 0.4]​

[DEV. 0.0]

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

Did you know that today is #InternationalJazzDay? 🎷😎

No? 😯 Well, we couldn't pass up this date!

And what better to celebrate this day than #Pecaminosa #OST? 🎷

Let us know what you think about it and have a great weekend!

Today I was setting up the location of the first boss. His name is "Father" and he is the first of the Patagonians. His task is to guard the road to the House.🛡🗡 Bookmark pre-launch page🔖🔖🔖

https://www.kickstarter.com/projects/rdvindiegame/the-patagonian…

What you all think