|Anonymous | Login | Signup for a new account||2017-06-22 21:29 BST|
|My View | View Issues | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016073||Runner||[All Projects] Functions||Public||2014-10-03 10:33||2016-11-29 17:26|
|Assigned To||Mike Rennie|
|Priority||High||Severity||C - General||Reproducibility||100%|
|Summary||0016073: Functions: Imprecise draw_arrow()|
|Description||I have an object that draws an arrow based on some variables, this is the code:|
When the arrow faces in some directions, it draws fine. But when it faces some other directions, the arrowhead is not exactly where it should be. It is shifted one or two pixels off the line, to the point that that you can actually see that the arrow has two ends, one where the arrowhead ends and one where the line ends. I uploaded a screenshot here: http://i.imgur.com/0jn11fj.png [^]
|Additional Information||Original helpdesk ticket: http://help.yoyogames.com/tickets/72900 [^]|
|Runtime Version Verified In|
|Attached Files||drawArrow.gmz [^] (904,085 bytes) 2014-10-03 10:34|
|I think there is a problem with drawing lines in general. I have noticed similar problems, when for example trying to draw a circle at the tip of a line, or drawing a line by the edge of a triangle etc.|
Erik Leppen (Updater)
These problems with one-pixels offsets are ancient, by the way. It's long overdue that someone looks at them and fixes all of them once and for all.
For example, drawing a rectangle gives a different result than drawing a primitive using the same numbers for the vertices. I think these should be the same.
Any progress on this?
It might be worth mentioning that this bug doesn't seem to be present in HTML5 exports, so it is platform dependent.
|Copyright © 2000 - 2017 MantisBT Team|