CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: MrBawzz

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    4,259

    Re: OpenGL - 2D Movement with respondtokeypress

    I understand that Switch Statements are not the answers to all my problems. But, for this type of problem and for the time being until I learn more about c++ a Switch statement will be adequate. In...
  2. Replies
    8
    Views
    4,259

    Re: OpenGL - 2D Movement with respondtokeypress

    Sorry for the confusion, I left out the Comments for:

    void respondtokeypress(char a)
    {
    a +=0.1; // Left *Testing, to change when working*
    //a -=0.1; //Right
    //b +=0.1; //Up
    //b...
  3. Replies
    8
    Views
    4,259

    Re: OpenGL - 2D Movement with respondtokeypress

    The code I posted is everything to do with keyboard inputs, I didn't think the rest mattered.
    I do understand c++ basics but, I'm having a hard time figuring out how to use respondtokeypress...
  4. Replies
    8
    Views
    4,259

    OpenGL - 2D Movement with respondtokeypress

    Hello,

    I'm trying to implement keyboard controls to move a sphere(Player) with respondtokeypress.
    Currently, when I press any key my character will move to the right by 0.1. This might be a...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured