Game programming

This is a discussion on Game programming within the C++ Programming forums, part of the General Programming Boards category; Hi, i am going to make this as short as possible... how do you move images around, in console mode, ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    9

    Question Game programming

    Hi,
    i am going to make this as short as possible...

    how do you move images around, in console mode, or any other mode for that matter.

    thanks

    e-mail me dippie74@hotmail.com

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    206
    if you dont know, dont ask.
    if you DO ask, ask the GAME PROGRAMMING board.
    thanks

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >how do you move images around
    Redraw the area with an updated image.

    -Prelude
    My best code is written with the delete key.

  4. #4
    Registered User geekfrog's Avatar
    Join Date
    Apr 2002
    Posts
    14
    you cant do images in console mode. look in the faq under graphics
    ----------------------------------------
    I'm using Borland C++ compiler v5.5

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >you cant do images in console mode
    It depends on how you define an image. If an image is just a series of bits drawn on the screen to create a visible pattern then an image can be created in console mode with ASCII characters.

    Everyone says you can't do this and you can't do that when you *can* if you simply look at things from a different perspective.

    -Prelude
    My best code is written with the delete key.

  6. #6
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    What I have done the few times I want some graphic in console mode is that I create a function that take a location as argument.like so
    DrawBullet(int x, int y) I then make up an algoritm in that function that draw my desired shape around the location. Then I just have to call that function and tell where I want my bullet.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-07-2010, 11:08 PM
  2. Open Source / Semi Open source game idea. Help needed
    By CaptainPatent in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 05-16-2007, 10:44 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 02:46 PM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM

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