CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    1,355

    Games: how speed the movement?

    normaly we do:
    Code:
    Speed =1;
    X+=Speed;
    frame by frame only moves 1 pixel.
    how can i make it move faster?
    if i do:
    Code:
    Speed =5;
    X+=Speed;
    i can lose some move or don't see them on frames... so how can i use more speed?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Games: how speed the movement?

    What is "Speed"?
    What is "X"?
    What is "frame "?
    What is "movement"?
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured