SadConsole
SadConsole copied to clipboard
A .NET ascii/ansi console engine written in C# for MonoGame and XNA. Create your own text roguelike (or other) games!
In TextBox.cs `protected void ValidateCursorPosition() { if (MaxLength != 0 && EditingText.Length == MaxLength) { if (_caretPos > EditingText.Length) _caretPos = EditingText.Length - 1; } ... }` ` if (_caretPos...
```csharp _gameWorld = new Console(Game.Instance.ScreenCellsX, SadConsole.Game.Instance.ScreenCellsY); _gameWorld.FillWithRandomGarbage(5); ControlsConsole cConsole = new ControlsConsole(40, 40); _gameView = new SurfaceViewer(20, 20, _gameWorld); cConsole.Controls.Add(_gameView); container.Children.Add(cConsole); // !!! Observe these lines !!!! _gameView.Update(new TimeSpan(0)); //...
Might be nice if you could disable it from being created in the first place and use your own, removing the unnecessary step of adding destroyDefaultStartingConsole(), etc.
Adding an Item to a ListBox and using ScrollToSelectedItem() afterwards desyncs the scroll and items in the list (scroll is correct, items are not). Manual update is required for that...
- [x] Investigate and fix #258 (ProcessMouse with a BorderConsole) - [x] Update versions - [ ] Documentation - [x] Update the API with latest build - [x] Create getting...
Hello, I'm not sure if this as issue or just me.. When using 'SadConsole.Settings.ToggleFullScreen();' with a desktop set as 3840x2160 the screen goes blank for a few seconds and then...
Not sure if it's already possible but it would be great to be able to overlay/place, and if possible with z-index, an image such as a PNG, JPG, GIF, etc....
I'm not sure if this has something to do with SadConsole, MonoGame or XNA, but my console does not use the keyboard layout that my OS uses, which is definitely...
I would like to add some icons and logos to the game, the question is should I use the ascii converter and use small font size? Or is there a...
I find `Window.Message` and `Window.Prompt` very useful, especially as placeholders during the early stages of my projects. But they cannot handle a very common use case: string input. So here's...