Save and Load Speed variable

Hello,
I am using OpeninputSpeed to control the pace of a level. Speed of the gameplay will be increasing every 20 seconds.
Portal-OpenSpace is an external event where a portal appears and when the player is in collision with a portal, the level changes. But pefore changing I want the last updated value of OpeninputSpeed to save here on player collision and player goes to L3-Venus(As you can see in the snapshot).
after a while player will return to Level 1 through a portal and I want the speed to where ever the player was left off and Not ( At the beginning of the Scene : OpeninputSpeed = 1)
I tried saving as a text and saving as a value before Change to scene L3-Venus.
and Load in Level 1. but it’s not working.


Here is my setup with save and load as text.
PS : I tried save and load as value option as well.

Please help me solve this.
Thanks,


Anybody please? Need a nudge in the right direction…!

Hi!

First, what is “OpenInputSpeed”?

A+
Xierra

It’s just a variable name, I will be using this variable for a space level. Each level will have it’s own variable name that controls level speed. Will be using OpeninputSpeed for this to control the pace of this level, like player speed, enemy speed, obstacles etc…
So I want this to start from OpeninputSpeed = 1 at the beginning of the game and this will change every 20 seconds as you can see in the snapshots.
Before changing the level I just want to save or store this and load up on return.

I think I’m starting to get old, don’t you think so too! :rofl:
Because not understanding that it was a variable… :laughing:

Xierra

1 Like