Throughout the week what mostly i had problems with is the inventory and the pickups. What the cards were doing was randomizing when this version of the card isnt suppose to randomize to other sprites of the other cards which was the first problem then for the player pickups they were not being put into there inventory which was a list of sprites and when it was it would make the list filled with card sprites and the pickups would look like the cards instead of there own models. Another Issue is that inventory were the sprites are not showing up and the pickups down show.
This are the main problems that i faced throughout the week which i found out the problems later in the week which was me having to recode some feature and add more code to other so make them work like for the pickups. The pickups i made new scripts that work like the other picks but i shorten them so that they will go just themselves to there own inventory list while the issue were they looked like the card i remade them with similar scripts so they arent using the same scriptable objects which cause the sprite glitch . With the randomized cards the reason they were randomized was mainly because of stuff i added to make the object a new scriptable object every time it ran i remove and made it take the sprite of the scriptable object u pass in. Lastly the inventory its mainly just the sprite of the inventory slot not changing once that shows the player will be able to see it in the inventory when they press the (i) key.
author: Anthony Perez
Posted on 4/19/2024
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.