My code has a lot of geometry codes, thinks that shouldn't be represented just by comments I don't know if it exists, but should be fine to insert images like png in the middle of codes explaning that math behind, just in case I forget what any classes/method/lines do in future. Thanks.

  • 1
    \$\begingroup\$ TempleOS by Terry Davis is a crazy 64bit real-time OS that happens to allow actual images and 3D models to be included on the source code editor that is included with it. If you are willing to learn his own HolyC language and develop for his platform you can do what you want to do in your question there. Totally don't recommend though. \$\endgroup\$ – rlam12 Jan 9 '17 at 17:20
  • \$\begingroup\$ @Josh Petrie, Every Game Engine use an IDE as far as I know. \$\endgroup\$ – JamesB Jan 15 '17 at 1:08
  • \$\begingroup\$ @JamesB Regardless of whether or not that is true, that doesn't make it on-topic here. You're asking about putting images into code while you write it. That has nothing to do with game development. \$\endgroup\$ – user1430 Jan 15 '17 at 4:04
  • \$\begingroup\$ @JoshPetrie coding is part of game development, maybe you should find better things to do. \$\endgroup\$ – JamesB Jan 17 '17 at 5:41
  • \$\begingroup\$ Yes it is. But we still don't consider questions that have nothing specifically to do with game development on topic here. I suggest that you ask on another StackExchange site, and also that you find a way to better communicate your ideas - one that does not involve being rude to other members - as it will serve you far better. \$\endgroup\$ – user1430 Jan 17 '17 at 14:24

Other than ASCII art? No, not that I'm aware of. The closest you could get would be documentation generators like doxygen that will create documentation files from comments, which might also include markup for images.

Besides that you could link to images using URLs, which are clickable in most editors and/or use markdown for basic formatting.

  • \$\begingroup\$ ASCII arte in the middle will not be that good. Hahaha. I will try some other option. \$\endgroup\$ – JamesB Jan 12 '17 at 1:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.