Game Dev Engine #3. Window Input System.

Subscribers:
808
Published on ● Video Link: https://www.youtube.com/watch?v=fByckijvanA



Duration: 1:42
547 views
15


2023-06-11. I have many sub-systems completed, but I unfortunately have no nice way of presenting them. This finally lead to the creation of this windowing system, to avoid the hardcoding of many presentation modules for things such as my game-centric input system (which will show how keyboard, mouse, and gamepad can be captured and abstracted away, for ease of development).

This window system is rather basic. It has the following features:
- recursive ownership, no limits
- each window has its own render target / canvas
- can tie into initialize/update/draw functions of each window
- simple graphic demos run with only knowledge of its container window
- sorting "bring to top" when selecting a window
- mouse coordinates are quantized to low-res game screen
- underlying input system provides mouse click, drag, release context

Current limitations are:
- you can drag a window into the nothingness; preferred for this demo! :)

Future ideas:
- can be used for game HUD and UI
- can be used for menu system
- can be used for screen management (game state) system
- dynamic positioning to remove burden from developer

Playlists:
--------------
- Xona System 8: https://youtube.com/watch?v=PqFQv60p-0E&list=PLjnbT4UISq0YwheLThIhm3LDxIkwpmKeb
- Voxel: https://youtube.com/watch?v=uadGU-stF-w&list=PLjnbT4UISq0bQF1g85tE9jTrKfEtdRYlY
- Ray Cast: https://youtube.com/watch?v=SkaPYZOKPQg&list=PLjnbT4UISq0YcFtRFjFQqK0g6ONNCtrvY
- Graph-All: https://youtube.com/watch?v=kLSc7bZW2Bs&list=PLjnbT4UISq0YLgynFSpLzml4BMC6TDZL2
- Scroll Shmup: https://youtube.com/watch?v=l9bIYkZepPo&list=PLjnbT4UISq0Y_7IAN_zUzxgZnfhXxo_0Q
- Road: https://youtube.com/watch?v=rA4g4VX7ys8&list=PLjnbT4UISq0bnfd1RC3M4PgTgkmhlkikV
- Arena Shmup: https://youtube.com/watch?v=VKjiuq437t0&list=PLjnbT4UISq0adw__Y9B2eXA0LL35TyORU
- Wave Function: https://youtube.com/watch?v=ngctVd9VK8I&list=PLjnbT4UISq0Y8vYnrSauHkBKgOBHXFFdf
- 3D Polygon: https://youtube.com/watch?v=0Qq_euAMP48&list=PLjnbT4UISq0YyjqBGG8Q34Kng5gqDmYrT
- GW-BASIC: https://youtube.com/watch?v=QMQJ7o8e-GI&list=PLjnbT4UISq0bMjb81xFBIWOLhBKFCVkuB

Websites:
---------------
- GitHub: https://github.com/JDoucette
- Blog: http://thefirstpixel.com
- Studio: http://xona.com







Tags:
gamedev
monogame
indie
development
graphics
engine
xona
firstpixel
pixel
pixelart
retro
coding
wolf3d
raycast
raycasting
software
custom
shader