|
|
|
|
|
by eezurr
1688 days ago
|
|
This is nice. I had an idea to create a website for a "coders toolbox" for myself and others to contribute general functionality with brief documentation. Not a library; I need to copy and paste code and then modify it for my needs. I've been learning SFML and the lack of direct code examples has been infuriating. Resources are explained in English (so paragraphs when a few lines of code would suffice), and the forums are 2/3 full of arrogant "we're not going to help you, just read the reference" posts, and are mostly outdated. All I want(ed) to see is small code snippets for e.g. "get mouse position in map coordinates", "display text on the screen", "zoom on mouse position", "get mouse position in window/view coordinates", "create a gui box and determine size by text and center the text", "how to zoom without graphical glitches" |
|
Part of the issue is that some are a snippet, but some are a few folders with a Makefile and some input data etc etc. So maybe I need a meta-snippet format for managing all of this