Red Dot in the middle of screen?

This is a discussion on Red Dot in the middle of screen? within the C++ Programming forums, part of the General Programming Boards category; Hmm what would be the easiest way to put a Red dot or what ever color on the middle of ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    57

    Red Dot in the middle of screen?

    Hmm what would be the easiest way to put a Red dot or what ever color on the middle of the screen like the only way i can thinik is allegro but i need it just the dot and so it would be ontop of a full screen program. Thanks for help.

  2. #2
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Load a bitmap of the red dot image. Display it in the center by dividing the width of the screen by 2, same for height. Your question is vague.......
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  3. #3
    Registered User
    Join Date
    Sep 2005
    Posts
    57
    K what i mean is. What is the best way to load the bitmap on the middle of the screen and what would i have to do to make it ontop of a full screen game? lol hope this is easyer

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Which screen? My left or my right one?

    There is no way to do this in standard C++ anyway, so either specify your target platforms, or ask in one of the specific boards.

    On top of a full-screen game? Tough. Very tough. These things usually have exclusive access to their drawing area.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    Registered User
    Join Date
    Sep 2005
    Posts
    57
    hmm okay i saw this things around but i always wanted to make my own to add few things to it but there is no way u can think of doing that? and lol my only screen the middle one i guess.

  6. #6
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    You want to do like a crosshair or something?
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  7. #7
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,294
    Yeah it's so obvious that he wants to make a crosshair in some game that doesn't have one on purpose!
    Try using a blob of white-out! - We'l help you write your own programs, not hack others.

  8. #8
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Maybe DirectShow?
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  9. #9
    -JM
    -JM is offline
    Registered Usurer
    Join Date
    Apr 2005
    Location
    upstate NY
    Posts
    79
    Nail polish.
    Huh?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why does this keep frezzing up when I run it?
    By azjherben in forum C++ Programming
    Replies: 22
    Last Post: 06-05-2009, 08:42 AM
  2. Linux Problem Screen Resoultion
    By Matus in forum Tech Board
    Replies: 1
    Last Post: 01-29-2009, 03:39 PM
  3. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 03:56 PM
  4. Screen coordinates and mouse pointer manipulation
    By Zewu in forum Windows Programming
    Replies: 1
    Last Post: 03-25-2005, 04:30 PM
  5. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 09:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21