-
-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start with "dev mode" on when booting into the console #1950
Comments
Big agree! Also, while we're at it, make ESC go to console in devmode instead of code editor, like it used to be. These minor changes in workflow have basically made me stay in 0.90 for the time being... |
In my opinion, A thing I like a lot about TIC-80 is how much it involves the average user into making things and dividing developers from regular users is not helpful in general. I simply don't think the dev mode is either useful or necessary if we took this approach, but it's necessary that there's proper discussion about the matter. |
Dev mode is necessary! For so many TIC-80 users, "press ESC to go to console" is deeply ingrained to their muscle memory, so I can't be the only one to want that functionality back. |
What I mean is that, why should we have to divide users from developers? At least make dev mode easy to toggle |
imo, it IS easy to toggle. |
Maybe as a clarifying question to @nesbox: why does the menu (and the "non-dev mode") exist at all? I always imagined that it served two purposes:
But maybe there are more purposes for the menu! :) |
No, no, no, I am not against the menu, I think the menu is a great idea and it's very nice to use in general! |
oh that does make sense, yeah |
I have no opinion on this question, but note that when you are on the menu, the F1 to F5 shortcuts work. So instead of typing Esc like v0.9 you can type Esc + F1 which is nearly as easy as they are adjacent keys. I never used dev mode thanks to this shortcut. |
I strongly agree with this. The cart should start with "dev mode" on. I'm tired of pressing 'Esc' and choosing 'dev mode on' every time |
I want this too and I started working on this but turns out it's more tricky than I thought, so we'll see. |
Could this be a solution: #2531 ? |
Honestly, yeah. I'll check how much work it is to remove the per-release new settings feature... |
Glad to see you working on this, @aliceisjustplaying! :) Just as a note: Rmembering the settings would only solve my problem as phrased in the first message in this thread partially. Especially for people new to TIC-80, I'd still favor to enable dev mode by default when booting into the console. Because otherwise, it is difficult to discover that this setting exists. |
I'm tired of pressing 'Esc' and choosing 'dev mode on' every time for all carts on the website. Plz give account setting that would let users set their dev mode and it's applied for all carts for that user. Since this is independent of TIC dev ver 1.2 etc, i think this could be implemented in the website directly now |
If I didn't see this issue, I would have never knew dev mode existed. The game menu made it look like it's for "release mode configuration", so I had no idea that option was there. I always used F1-F5 |
Indeed the description is currently "The game menu is disabled in dev mode" which is not so clear.
Was it a pain to use (Esc+)F1-(Esc+)F5? |
My 'Esc' key broken by pressing 'Esc' so many times on the website. It's a laptop and i can't change keyboard. I would prefer default to be 'dev mode on'. I would prefer into going into code editor by pressing F1,F2, etc. But i highly doubt that these changes would be pushed out soon :/ It also feels like a punishment for game devs who just want to see the code. Why go through the long process of 'Esc' -> ' Options' -> 'Dev mode on' -> ' Resume game' |
I mean using Esc+F1 - Esc+F5 I think nesbox does not want dev mode to be 'on' by default because that's necessary for the games that use the menu API and I agree with that.
Your situation is unique and I understand how annoying it is, but when 'Esc' works, game devs can just do 'Esc+F1' when dev mode is off, which does not seem to be a punishment to me. |
Alternative is to set dev mode option using meta tag. In cart, dev mode tag is 'on' by default. Those who want to see menu can set the meta tag 'off'. @nesbox agrees with this and asks to assign this issue to him |
Oh yeah! That solves everything, that's the best solution! Thanks! |
Plz assign this issue to nesbox. I don't know how to assign it to him |
I don't think I can, or I don't know how. |
where? |
Here |
ESC+F1-F5 was OK. In fact, my new problem is that I can't find out how to turn dev mode off |
@hw762 That's a recurrent issue when we discover dev mode ^^ Use |
Meta tag solves this |
Thanks for working on this, @nesbox! :) This is an interesting addition, but it doesn't solve my issue. Let me explain why! I think what we need is two things at the same time (and please, someone correct me if my assumptions here are wrong):
Right now, (2) is fulfilled by default. #2581 adds an easier way to enable (1), but it's not there by default, and it needs documentation for people to discover it. Otherwise, developers (especially new ones) need to know/be taught that they either need to go into the menu and enable dev mode, or add the meta tag. My envisioned solution is that, if TIC-80 boots into a game directly (like in an exported game, or maybe even after going through Two questions, @nesbox:
Also curious what other folks think about this! |
Plz make 'devmode: on' as default meta tag. The whole point of this is that we don't want to see 'menu' when loaded. Those who want to see the menu can set 'devmode: off' meta tag in their carts. The idea is if 'devmode: on' is default meta tag, then all the website cart's code can be easily accessed by pressing Esc, F1, F2. If the game is finalized and ready to be published on itch.io and tic-80, then they can set their 'devmode: off' and they get to see their 'menu' |
With
I just want to underline that in my point of view 'ESC+F1' is (nearly) as simple as 'ESC'! I think it's mostly a question of habits if some people don't like 'ESC+F1'. Note that for switching from editor to game nobody complains about 'CTRL+R', in comparison 'ESC+F1' is easier. However, I am not against @blinry solution. The only disadvantage would be that newcommers will need to look at the documentation to find the menu. When you use a keyboard which is not qwerty, finding the menu to remap some keys in the gamepad setup is important, for example. Or setup the volume… |
Setting 'dev mode: on' meta tag as default probably couldn't have bigger impact than deprecating 'SCN' and 'OVR'; which nesbox did in the past |
I think 'SCN' and 'OVR' still work for backward compatibility, they are just not recommended any more. Am I wrong? |
I like 'Esc' for terminal, 'F1' for code editor, 'F2' for sprite editor etc :) |
@Skeptim @potato25 yes @blinry It's becoming increasingly difficult to please all parties :) you're right, players need to see the game menu, and developers need to see the code. Perhaps we really need to remove the developer option from everywhere (from the game menu and metatag) and only show the game menu in the following cases:
so, if you have the desire and time let's try to do this. |
One of the solutions could be pressing unused keys liked 'F10' shows 'menu' while 'Esc' brings command line, F1 = code editor , F2= sprite editor,.... Don't know if F10 is used or not |
Note that the hotkeys topic of help command could have to be modified if something new is implemented here #2594 |
…own if the 'game' tag exists in the tags section
So, in the end, I removed devmode and game menu by default, game menu will be shown if the |
Problem
When opening https://tic80.com/create or running any of the official releases, "dev mode" is off in the settings. This means that after running a game, upon hitting Esc, people have to select "close game" from the menu every time they want to return to the console. Also, the shortcuts F1 to F5 don't work to return to specific editors.
This greatly hinders the development flow, especially for new people who don't know that they can disable this behavior in the settings. I think that both advanced programmers as well as newcomers would much prefer having dev mode on when they want to develop a game. Also personally, disabling dev mode would be the first thing I'd always do when opening TIC-80. So I think this should be the default behavior.
When I gave a workshop on TIC-80 last month, it was unfortunate to have to explain how to enable dev mode to each of the over 20 participants. I would rather want a smooth first-time experience for them, where they can switch between making and trying the game quickly, without having to find the correct menu entry before.
Proposed solution
When booting the console without immediately starting a game, enable dev mode. In this case, it is very likely that this is the desired behavior.
@nesbox pointed out that the menu would also be good to have when using
surf
. I'd propose to disable dev mode again when runningsurf
, in that case.The text was updated successfully, but these errors were encountered: