x

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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Pinball game main menu not disappearing after hitting Play

I have been following a course on how to create a Pinball game. So far all seems to be going well apart from a few things:

The main menu does not disappear when I hit Play There's a ball that drops past the screen when I am pressing the left flippers (or hold it down for long enough for it to drop) The highscores list is not showing the names of the players.

Link removed for potential asset license usage.

Thanks in advance.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 14 '18 at 04:33 PM in Using UE4

avatar image

CK61938
3 1 3

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

from what i can tell you never tell the main menu to be removed. basically you create the menu widget via the game mode, then when you press play you reset game which creates the hub and spawns a ball but you never destroy the menu. its a pretty easy fix, in the menu widget on click play just after the reset add a remove from parent node.

now the names not showing is another issue entirely and not really in the scope of this question but ill look into it in a little bit.

on a last note you may want to be careful about sharing assets like those in your project. i know the course your talking about is a paid course but im not sure on the asset license usage restrictions.

alt text

capture1.png (92.8 kB)
more ▼

answered Oct 14 '18 at 05:38 PM

avatar image

ThompsonN13
10.1k 33 9 23

avatar image ThompsonN13 Oct 14 '18 at 06:08 PM

ok i think i figured out your system and why there are no names showing. no names are showing simply because you never set what name to show. in the project you provided you didnt have the text pin connected to the new score name pin.

alt text

capture.png (185.7 kB)
avatar image CK61938 Oct 14 '18 at 09:40 PM

Thanks so much for your help! I had no idea I missed out the connecting of the Text pin to the New Score Name pin. I guess the trainer was going that quick that I either missed that bit or he didn't mention it! Same with the main menu widget.

I have also removed the link to the asset to cover my back regarding the potential license usage.

Once again many thanks for your assistance! :D

(comments are locked)
10|2000 characters needed characters left
Your answer
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