This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
thefoofighter/paint
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CONTENTS OF THIS FILE --------------------- * Introduction * Licence INTRODUCTION ------------ Written by Cathal McNally Date 05/04/2012 Free to all to make changes, but a mention would be nice :) Basic Paint Program i put together after i couldnt figure out how to implement it as part of another project http://github.com/thefoofighter/KinectTest I understand that the code is certainly not efficient nor is it the best possible way of implementing a paint program It was the easiest and fastest way i found that did for me what i needed Optimization issues include the List of Vector2 Objects which is going to keep adding to everytime the mouse is moved, while being clicked Another issue is that the reddot is being redrawn at all these positions on every frame so thats numerous instances of the same object being draw onscreen Possible resolutions would involve the renderToTarget Method, setData in a texture2D Background etc Like i said it is not effiecient and could use optimzation as well as that if you move the mouse too fast it will leave gaps :/ A possible solution for this if i have time would be to get the positions either side of teh gaps and fill the gap as a straight line of red dots Anyway i hope it helps someone sometime Kinds regards Cathal Author: Cathal McNally ([email protected]). LICENCE ------- Released under the The MIT License. http://www.opensource.org/licenses/mit-license.php
About
basic c#,xna paint program
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published