Jump to content
  • Advertisement

fleabay

Member
  • Content Count

    580
  • Joined

  • Last visited

Community Reputation

1026 Excellent

1 Follower

About fleabay

  • Rank
    Advanced Member

Personal Information

  • Role
    Programmer
  • Interests
    Programming

Recent Profile Visitors

9893 profile views
  1. fleabay

    plane game

    Phil has been programming for over 15 years and has a bachelor's degree in computer science.
  2. fleabay

    plane game

    I see your point but it's not the same thing. I should have sent him a pm about the proper use of a blog but I don't want to get flagged as using the pm's as harassing and end up with another unwarranted warning.
  3. fleabay

    plane game

    Giving advice where none is asked for on a blog is bad form. You did the same thing to me on my blog.
  4. fleabay

    plane game

    You should make it clear what this blog is about. "I am making a game, here is my code" is a $h|t post, not a description.
  5. fleabay

    plane game

    You need another level of abstraction.
  6. fleabay

    Why is the sprite not animating

    That book is beyond terrible. The code presented is full of bugs and syntax errors. This page might be of some help. Pay attention to user Alpo's posts. (the page loads very slowly for some reason) https://cboard.cprogramming.com/cplusplus-programming/160170-sdl-image-want-load-because-following-code.html
  7. fleabay

    rotate ship

    It only looks like you are rotating about the origin because your ship is drawn uncentered. glVertex3f(0.0f, 0.0f, 0.0f); glVertex3f(-5.0f, -5.0f, 0.0f); glVertex3f(0.0f, 10.0f, 0.0f); glVertex3f(5.0f, -5.0f, 0.0f); Try those instead. Also you probably don't need to use glPushMatrix/glPopMatrix. Just glLoadIdentity at the beginning of each draw routine. My drawShip() would look like... void drawShip() { glLoadIdentity(); glTranslatef(-50.0f, 0.0f, 0.0f); glRotatef(shipAngle, 0.0f, 0.0f, 1.0f); //rotateship is not a good name for a variable glColor3f(255.0f, 0.0f, 0.0f); glBegin(GL_LINE_LOOP); { glVertex3f(0.0f, 0.0f, 0.0f); glVertex3f(-5.0f, -5.0f, 0.0f); glVertex3f(0.0f, 10.0f, 0.0f); glVertex3f(5.0f, -5.0f, 0.0f); } glEnd(); }
  8. I'm trying Phil, you're not making this easy.
  9. You can use GLFW with the old OpenGL. It's a step in the right direction and doesn't require you to take on learning about shaders and modern OpenGL but it leaves the door open to that. I can provide a graphical 'hello world' example using old OpenGL/GLFW if you're able to get GLFW set up. I also see you're not using GLEW or some other extension wrangler so you might want to look into that at some point, otherwise you're stuck with OpenGL 1.1. GLFW might even require GLEW/an extension wrangler, I'm not sure.
  10. Last night I spent a couple of hours understanding how Glut works. If I decide to be a nice guy it won't be to put up some advanced GDC video that no beginner should ever be exposed to because I want to look like I'm doing my part. Did you even watch the video? Freaking ridiculous. And then after I point out the video is bad for a beginner you have the gall to ask, 'what's the problem with it, why so negative?' Get outta here with that bush league crap. If I find the time I will post beginners help on how to actually get Glut to do what he needs it to do and I won't post the bare minimum "hints" that everyone seems to think are helpful or even worse some video that I did a quick search for without bothering to know what it's about.
  11. A 'helpful' video was posted by a nice guy and the damage is done.
  12. And yet there is a constant steady stream of nice guys ready to take up the cause.
  13. How many lines long is it? If it is huge you should refactor into smaller files. How long is the .cpp file? How much RAM and what CPU do you have?
  14. fleabay

    run attack

    You should watch some reference video on how people run. That's not even close.
  15. He needs Glut specific help for delta times. I'm beginning to wonder about the people trying to help. Do any of you know Glut?
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!