Search:

Type: Posts; User: jamort

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    3,535

    Object oriented SDL

    Another day. Another question.
    Alright guys I've successfully programmed a pong game in SDL and would like to now move on to making a pacman or something similar, but I have a question as to how to...
  2. Replies
    3
    Views
    2,550

    possibly im not sure. I decided to move on from...

    possibly im not sure. I decided to move on from this and I did it in another project and everything works fine
  3. Replies
    5
    Views
    1,119

    okay so this is why I hate/love posting things on...

    okay so this is why I hate/love posting things on forums.. normally I find my mistakes right after wards.. found out the mistake here was that in fact the asterik was in the wrong place. And also,...
  4. Replies
    5
    Views
    1,119

    okay thanks for the reply. I believe it's where...

    okay thanks for the reply. I believe it's where I'm putting the *.

    so I have Image.h and Image.cpp, I already have my draw functions for rendering a background image, and a sprite. Now I'm trying...
  5. Replies
    5
    Views
    1,119

    Making a function like this part of a class

    I've attempted doing this many way but no matter what i get errors. I'd like to do it with a .h file and a corresponding .cpp file for functions.. Any help is appreciated.
    Thanks.
    Also I felt like...
  6. Replies
    3
    Views
    2,550

    problem with sdl_flip()

    Okay so ive been through lazy foos tutorial.. now im attempting to make a pong game, but now SDL_flip is giving me a problem.. when I comment it out my code runs fine.. I get a return 3.


    ...
  7. Replies
    6
    Views
    1,180

    yeah.. would you like to explain your method to...

    yeah.. would you like to explain your method to try and convert the roman numerals to numbers.. I think I would do something like have a temp value that scored the current letter.. then checked to...
  8. Replies
    6
    Views
    1,180

    looks like you have nothing in your code to...

    looks like you have nothing in your code to handle if C comes first.. I see an addition for if it comes after say M.. also post your whole code so its possible for us to run it an tinker with it.
    ...
  9. Replies
    7
    Views
    7,611

    The projection matrix was the problem.. I feel...

    The projection matrix was the problem.. I feel dumb because I tried to avoid the reshape function for this but as I found out it was definately needed. Thanks for the help guys.
  10. Replies
    7
    Views
    7,611

    I went with a different tutorial series, because...

    I went with a different tutorial series, because of it using glut to create the window instead of the WINAPI. the link to the tutorial Swiftless OpenGL Tutorials | Swiftless Tutorials I created this...
  11. Replies
    7
    Views
    7,611

    The problem still persists. Its just a blank red...

    The problem still persists. Its just a blank red screen. I'm wondering if its the xyz positions? I'm just a newb at this graphics stuff though
  12. Replies
    7
    Views
    7,611

    OpenGL square not showing up..

    Hi, so im new to graphics programming and decided to try openGL (I'm planning on making a 2D game in it at first, possibly pacman). And I'm having trouble getting it to draw shapes on the screen.

    ...
  13. Replies
    3
    Views
    1,624

    Okay so all I have to do is add in what to link...

    Okay so all I have to do is add in what to link where i have the .h and .a file in the include and lib folders of the compiler.. correct? Then I go to link libraries under linker settings, and there...
  14. Replies
    3
    Views
    1,624

    Okay so I followed a tutorial to get this code to...

    Okay so I followed a tutorial to get this code to try glut...


    #include<gl\glut.h>//This header file contains all the commands for the OpenGL Utility Toolkit

    //function to initialize GLUT...
  15. Replies
    3
    Views
    1,624

    I have trouble installing external libraries

    I've been wanting to use OpenGl or such programs for a while but whenever I try to install any external library some how I don't do something right and it never works. I know you should copy and...
  16. Thread: enum

    by jamort
    Replies
    16
    Views
    2,080

    I 100% agree

    I 100% agree
  17. Thread: enum

    by jamort
    Replies
    16
    Views
    2,080

    No.. I would give him some code implementing...

    No.. I would give him some code implementing enums.. even if its not exactly "correct"... in the end you know you will get a grade.
  18. Thread: enum

    by jamort
    Replies
    16
    Views
    2,080

    yeah.. um im a little confused as why they would...

    yeah.. um im a little confused as why they would instruct to use enums for something like this... they could have came up with a lot better challenge, and i used switch to handle the enum because it...
  19. Thread: enum

    by jamort
    Replies
    16
    Views
    2,080

    thats simple... all you have to do is enum all of...

    thats simple... all you have to do is enum all of the names.. then do a switch case with the numbers for printing so ill implement four names....


    #include <iostream>
    #include <string>
    #include...
  20. Thread: enum

    by jamort
    Replies
    16
    Views
    2,080

    Ummm its very dependent on what you want to do......

    Ummm its very dependent on what you want to do... for example.. if you want to display certain text depending on the value of an enum youwould need to handle it in a switch case...
    so you would put...
  21. Thread: Google Maps

    by jamort
    Replies
    5
    Views
    3,262

    an http session, and can you point us in the...

    an http session, and can you point us in the direction of the "documentation"
  22. Replies
    4
    Views
    15,731

    Well when you press F9 in code::blocks it should...

    Well when you press F9 in code::blocks it should run and show you the exe anyway but other than that the executable should be in the same folder path as the c++ file so find the source file and the...
  23. Replies
    7
    Views
    1,360

    okay so... I get what you're saying about the...

    okay so... I get what you're saying about the swaps, good point. The for loop I eventually took out reading back through the code I found it. and well here's my code so far that actually allows you...
  24. Replies
    4
    Views
    9,379

    Basically vectors are dynamic arrays which mean...

    Basically vectors are dynamic arrays which mean you can add or delete contents. With arrays you have to manage memory, vectors does this for you... Um basically you want to use vectors when you are...
  25. Replies
    7
    Views
    1,360

    So after about and hour or two of a headache with...

    So after about and hour or two of a headache with errors I finally got this things figured a little better (I hope)...


    #include <vector>
    #include <iostream>
    #include <time.h>

    #define...
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4