Recommended Posts

Hello again people, I have a new problem with my program. I've tried over and over to figure out what is going wrong but I can't figure it out so I need some help.
So here is the issue I've implemented a character editor into my text based game I am working on an I then am sending my data to the file saving system in the program but it's not saving any of the data that was inputted. Here is part of my code.
character_editor.h

it just doesn't save the data that was inputted maybe I am making a obvious mistake maybe I am not but I can't figure it out so I need some help.
Thank you once again to this community for all the help and support I've received.

0

Share this post

Link to post

Share on other sites

The start_new_game looks like a member function of a class named Game. In it, you have another instance of Game (not a pointer by the way) that calls its own new_game method? There's also a local Character instance where you do all this 'stuff' with, which is destroyed the moment you leave the function scope. it doesn't seem to affect the Character instance called x, the one you are trying to save? In fact, I not entirely sure what scope x resides in at all?

0

Share this post

Link to post

Share on other sites

This topic is 2836 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Forum Statistics

Similar Content

Yasss!!! My first Unity3d game is on the App Store and Google Play.
Download please! About 30 minutes to get through 5 missions.
Let me know what you guys think.
Thanks a bunch
Bleeping Bots MacOsx Demo Cut.mp4

I've been doing some digging and come to the conclusion that I'm not really qualified to identify a game engine for my project alone so I came here asking for some advice.
My game idea involves movement inside a sphere where you always have your feet on the ground (the "walls" of the sphere), basically an inverted planet. It's supposed to be multiplayer so it's not just you moving in the world. When you jump, gravity (or force etc) pulls your character towards where it jumped from and the character model should have its feet pointing that way.
I'm really new to this and my own conclusion is that it messes with core functionality of Unreal Engine 4 which makes it really hard for me as a beginner to wrap my head around. It comes with practice but It's hard for me to come to a fair conclusion on what engine to use based on my knowledge. Therefore I'm asking for some guidance. I have most experience with the Unreal Engine.
What engine would you recommend?
Is the game idea with being inside a sphere difficult to do in general? Do you have any tips?
I'm kinda lost at the moment so thank you for the help!

We would like to give out promo codes for our children's app Abigail's Tales: First Day Butterflies, tailored towards kids ages 6 thru 8. If you have children and want a code please message us at info@dabsterent.com the app looks best on iPad.