1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2025-01-14 13:31:17 +00:00

updated tour to look better

This commit is contained in:
Steven Hugg 2019-08-15 12:18:16 -04:00
parent 018113f858
commit 2b461cc3b5
2 changed files with 13 additions and 6 deletions

View File

@ -150,6 +150,7 @@ TODO:
- squelch error msgs? - squelch error msgs?
- test offline? (if window.firebase) - test offline? (if window.firebase)
- Github - Github
- platform_id/repo.platform mismatch (can't leave repository)
- gh-pages branch with embedded - gh-pages branch with embedded
- handle overwrite logic - handle overwrite logic
- what to do about included files? - what to do about included files?

View File

@ -1556,8 +1556,14 @@ function showWelcomeMessage() {
var is_vcs = platform_id.startsWith('vcs'); var is_vcs = platform_id.startsWith('vcs');
var steps = [ var steps = [
{ {
element: "#workspace", element: "#platformsMenuButton",
placement: 'right',
title: "Welcome to 8bitworkshop!", title: "Welcome to 8bitworkshop!",
content: "You are currently on the \"<b>" + platform_id + "</b>\" platform. You can choose a different one from the menu."
},
{
element: "#workspace",
title: "Code Editor",
content: is_vcs ? "Type your 6502 assembly code into the editor, and it'll be assembled in real-time. All changes are saved to browser local storage." content: is_vcs ? "Type your 6502 assembly code into the editor, and it'll be assembled in real-time. All changes are saved to browser local storage."
: "Type your source code into the editor, and it'll be compiled in real-time. All changes are saved to browser local storage." : "Type your source code into the editor, and it'll be compiled in real-time. All changes are saved to browser local storage."
}, },
@ -1565,7 +1571,7 @@ function showWelcomeMessage() {
element: "#emulator", element: "#emulator",
placement: 'left', placement: 'left',
title: "Emulator", title: "Emulator",
content: "This is an emulator for the \"" + platform_id + "\" platform. We'll load your compiled code into the emulator whenever you make changes." content: "We'll load your compiled code into the emulator whenever you make changes."
}, },
{ {
element: "#preset_select", element: "#preset_select",
@ -1581,19 +1587,19 @@ function showWelcomeMessage() {
{ {
element: "#dropdownMenuButton", element: "#dropdownMenuButton",
title: "Main Menu", title: "Main Menu",
content: "Click the menu to download your code, switch between platforms, create new files, or share your work with others." content: "Click the menu to create new files, download your code, or share your work with others."
}, },
{ {
element: "#sidebar", element: "#sidebar",
title: "Sidebar", title: "Sidebar",
content: "Switch between editor windows, assembly listings, and other tools like disassembler and memory dump." content: "Pull right to expose the sidebar. It lets you switch between source files, view assembly listings, and use other tools like Disassembler, Memory Browser, and Asset Editor."
} }
]; ];
steps.push({ steps.push({
element: "#booksMenuButton", element: "#booksMenuButton",
placement: 'left', placement: 'right',
title: "Bookstore", title: "Bookstore",
content: "Get some books that explain how to program all of this stuff!" content: "Get some books that explain how to program all of this stuff, and write some games!"
}); });
if (!isLandscape()) { if (!isLandscape()) {
steps.unshift({ steps.unshift({