MegamenGaming / 2D-map-builder

A JavaScript web app for creating 2D maps for games!
2 stars 1 forks source link

Console? #3

Open AMPITUP opened 10 years ago

AMPITUP commented 10 years ago

So, I wrote up a bit of something about the console:

I had an idea to create a console sort of thing that basically uses its own language that the user of the app can press a keyboard shortcut and then type code into it to alter the map, layout, settings, code, or obtain various advanced features (potentially to obtain source code to copy/paste elsewhere to re-create the game they made in code rather than in the app only). I was thinking to go along the lines of MCPC’s ‘Commands’ (type ‘/‘ to bring up the console and then enter a command like ‘toggledownfall, time set ___, or gamemode , to name but a few). The forward slash is a good command to bring up the console, so why not use that as the shortcut? No elaborate flashy console that feels like a text editor or anything, just a black little rectangle with a white cursor and Courier or some other code-style font. Also, why not categories of commands which could be denoted by various symbols typed before each command. For instance, a forward slash brings up the console, then a question mark might make any command that is inputted to have an explanation of what it does, a dollar sign (for instance) might make any command be an advanced feature or a settings change (like changing the background color for the app, sending feedback to the developers, etc.), or an exclamation point (for instance) might denote code to edit the map or something.

Here is my list of potential commands, shortcuts, and categories:

DigiWongaDude commented 10 years ago

See how this goes - if it gets tiresome/boring/problematic, take a break from it and work more on the game aspect. You don't have to do this all yourself or just this.

AMPITUP commented 10 years ago

Ok, cool!

AMPITUP commented 10 years ago

I just deleted all the posts that had nothing to do with the console to free up some space here.

Any ideas on commands?