Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Restarting Streamed Level

So I've been working on a simple 2D sprite "speedrun" style platformer with multiple levels. I'm using level streaming now because I want the music to stay persistent through each level.

Question is what is the best way to restart the level without the loading "lag" to restart the level when the player dies. Right now I just use the console command "restartlevel" which does the trick and resets the level and player variables but when in standalone preview there is maybe a 1 second for the player to respawn and level restart. I don't get the 1 second lag when running the game through the editor but on packaged or standalone testing there is a delay from restarting the level. I would have figured since this is a very small simple pixel platformer with small levels that there would be little to no lag when restarting the level.

So I'm looking for a way to restart the player at the starting point seamlessly after the player dies or chooses to restart the level. Similar to Super Meat Boy or I Want To Be The Guy/Boshy.

Any help or lead to the right direction would be appreciated.

Product Version: UE 4.17
more ▼

asked Dec 03 '17 at 10:41 PM in Blueprint Scripting

avatar image

36 1 1 4

avatar image Gnaw Dec 05 '17 at 09:55 AM

Still no solution

avatar image rit Jun 05 '18 at 08:17 AM

I encounter the same problem and I need a solution....

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question