JamesBakerMM / TeachAndDraw

A canvas based drawing library and 2d game engine designed purely for teaching an introductory level set of content. Focus is on a smaller command set so students will be able to get familiar with the library quicker.
MIT License
2 stars 3 forks source link

TextFileAsset should extend string and not auto split the text #33

Open JamesBakerMM opened 8 months ago

JamesBakerMM commented 8 months ago

Thinking on it I don't know if I like auto splitting the text so students don't have to learn about \n or \r \n.

That's a very small thing a teacher can handhold people through and isn't a big deal to teach.

But open to arguments for keeping it to the current implementation.

JamesBakerMM commented 3 months ago

We could do some cleaning of the text to make sure its just \n so they don't need to worry about edge cases of the \r actually... that'd let it be consistent enough education wise but still mean they learn about the newline character