Solved

Horizontally flipped sprite

Posted on 2004-09-13
5
691 Views
Last Modified: 2013-12-08
How do i blit a horizontally flipped sprite in managed directX?  An answer in unmanaged directx would help too.
0
Comment
Question by:davidastle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 3

Expert Comment

by:str_ek
ID: 12052779
http://blogs.msdn.com/tmiller/archive/2004/02/05/68347.aspx

and find "flip"

and i agree. as far as i know there is no eazy way to simply blit a flipped sprite ... the way is by haveing it as a poly you texture and swap texture coords.. (like a billborad), but it takes some extra brain damage to make it that way ( hey.. wher is that old cool ddraw7 ;))
0
 
LVL 2

Author Comment

by:davidastle
ID: 12059400
Yah, i wrote my own flip fnction that returns a flipped texture.  Bah!  There is no better way?  grr!
0
 
LVL 3

Accepted Solution

by:
str_ek earned 500 total points
ID: 12065361
afak no....  but once again i anvocate to forget blitting, and simply draw a textured poly :) it's eazier to maintain(well sometimes, with not muchobjects to trace alfa nad hence not wide deapth differences between layers, so there wont be glithes) and if you take planing in your own hands it works just fine... the only prob is to find/calulate te exact correct projection matrix, so it look flat;)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question