Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Drawing a 2D vector

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 noatom   Members   

925
Like
0Likes
Like

Posted 12 February 2013 - 10:55 AM

What would be the best way to draw a 2D textured line from A to B?

 

I thought I should just the texture 1 time,then add the texture once again and so on untill some kind of string is formed...

 

Is there an easier way?



#2 Dan Violet Sagmiller   Members   

1001
Like
0Likes
Like

Posted 12 February 2013 - 02:08 PM

Stretch and rotate.

 

http://msdn.microsoft.com/en-us/library/ff433989.aspx

 

Sadly though, Microsoft announced the discontinuance of  XNA


Edited by Dan Violet Sagmiller, 12 February 2013 - 02:10 PM.

Moltar - "Do you even know how to use that?"

Space Ghost - “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer."

Dan - "Best Description of AI ever."





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.