This Helped me carry over inventory Data to a new level Thank you. I now also understand my inventory code better Thank you for that as well 🙏
@ECHSBACHS2 ай бұрын
Thanks! : )
@DiasJohnDias5 ай бұрын
Tks man!
@Gibon123_7 күн бұрын
fajny tutorial tylko mozesz mi powiedziec czy jak sie wyjdzie z gry tez te kolory beda zapisane? z góry dziekuje za odpowiedz.
@alaabahattab2 ай бұрын
How do you go back and forth without loading or anything?
@tejassaran4462 Жыл бұрын
helped in my first project
@siepath3 ай бұрын
Can you make a tutorial for score system in Multiplayer using Game State? Thank You
@noeantoniosierraortega59236 ай бұрын
how would i do this if im trying to pass inventory such as weapons and healing items? passing variables makes sense but is it possible to save actual weapons?
@Revotur7 ай бұрын
Czy jest jakaś wada w stosowaniu Game Instance?
@AwsD4 ай бұрын
Hi, Is it possible to use interfaces to share the variable containing color and avoid casting? //OR making interface that connect to one small variable holing blueprint that's present on booth maps, and on that maps load - get the color from the interface connected to that variable holing blueprint. I don't know how exactly the engine allocates and frees the memory and blueprints, so idk if map change to another would result in that blueprint reseting or not.
@nexus1g2 ай бұрын
There's no reason to avoid making a hard reference like casting in this case. The game instance will always be loaded into memory, which is the reason we want to avoid casting in most cases (e.g. we don't want to load an enemy into memory that may not even appear on a level). Making a hard reference is fine for things that will always be loaded regardless.
@NeatWolf11 ай бұрын
Hi there - I'm assuming this does not stop to "Colours". Is it good practice to use the GameInstance as a Global Variables/Systems container? I'm "kind of" new to UE5 and coming from Unity and a programming background. This sounds a bit like a persistent level/entity used as Singleton? What about saving the state of the game? Are there better ways to do this (both passing data and saving the game state) - or is this solution targeted at low-complexity, entry level projects?
@pro.giciel908410 ай бұрын
If you can do C++ you should look into subsystems, there is gameinstance subsystem, and others but you can specified them how you want without the GI being a mess and can be replicated. For save/load, UE already has this system in place, look at savegame blueprint, it's really easy to implement.
@МартаРыбий Жыл бұрын
Thanks
@klovvin Жыл бұрын
This is bad practice because it would get messy fast. Might be a time to use a Struct or a Saveslot file.