question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add informative popup if trying to start a game without modules

See original GitHub issue

What you were trying to do

Test that the game handles the complete absence of modules well

What actually happened

Mystery lack of action trying to click the “Play Now” button with no gameplay template selected (since there are no modules). Would expect to get an error popup explaining that you can’t start playing with no modules!

How to reproduce

  • Use a new enough game workspace to where there are no longer any embedded modules + clear out any other modules present
  • Run the game and go to the New Game screen, confirming there are no entries yet the “Start Playing” button does nothing

Tip: Look in the NewGameScreen class for the associated UI logic.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ayrustogarucommented, Jun 18, 2020

Sorry about that, I’ll try to PR early from the next time. Thanks for the tip😁.

0reactions
Cervatorcommented, Jun 18, 2020

@ayrustogaru looks good to me! PR away 😃

And in general feel free to PR early and often. It can be easier to discuss the technical details in a PR with attached code changes, and you can always mark it as a draft until happy with it. No obligation or anything, just a tip!

You could put a logger in there as well, yeah, just for completeness

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create a Popup in Divi WITHOUT a Plugin (Easiest ...
In this tutorial I'm showing you how to EASILY create a Divi Popup without using any additional plugins! This method is super easy...
Read more >
Divi Popup: No Plugin Required! [Full Tutorial]
Here's a complete video and text tutorial with 3 ways to create a Divi popup without plugins: free layout, copy and paste snippets,...
Read more >
How to Create a Popup in Divi Without a Plugin
Today, we're going to show you how to take Divi's lightbox functionality and use it to display a Divi popup of sections, rows,...
Read more >
How to create a Divi Pop-Up Overlay without a plugin using Divi
The third step is to create the pop-up section and add the modules we want. Add a new section and give it the...
Read more >
Popups: 10 Problematic Trends and Alternatives
This alternative to a popup will let the user self-serve if they want to subscribe to a newsletter, without blocking their main task...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found