Search found 26 matches

by Daxtorax
Mon Apr 20, 2009 8:38 pm
Forum: Programming Discussion
Topic: C++ and SFML Character Animation
Replies: 6
Views: 1462

Re: C++ and SFML Character Animation

Oh, I also forgot to mention that, I realize that even with the code I currently have it would only animate him when he's moving down, I just want to at least get the concept of how it works. Thanks again.
by Daxtorax
Mon Apr 20, 2009 8:36 pm
Forum: Programming Discussion
Topic: C++ and SFML Character Animation
Replies: 6
Views: 1462

C++ and SFML Character Animation

I have recently started learning SFML and I am trying to make the character's legs move when it's moving across the screen. It compiles fine and the character is able to move across the screen and yet it doesn't animate the legs. Oh and I am using Code::Blocks. The code: #include <SFML/Graphics.hpp>...
by Daxtorax
Wed Mar 18, 2009 12:34 am
Forum: Programming Discussion
Topic: C++ and GDI display images on screen
Replies: 11
Views: 954

Re: C++ and GDI display images on screen

Thanks for the reply Spikey, that was what I was originally looking for, but only because I had not been able to get either SDL or Allegro to work in the past. Regardless thanks.
by Daxtorax
Tue Mar 17, 2009 10:46 pm
Forum: Programming Discussion
Topic: C++ and GDI display images on screen
Replies: 11
Views: 954

Re: C++ and GDI display images on screen

Never mind, I figured it out. Thanks for the help MauraderIIC.
by Daxtorax
Tue Mar 17, 2009 10:30 pm
Forum: Programming Discussion
Topic: C++ and GDI display images on screen
Replies: 11
Views: 954

Re: C++ and GDI display images on screen

I did what you said, but now I get the following error:
LINK : fatal error LNK1104: cannot open file 'SDL.lib'
Thank you for your help so far, much appreciated.
by Daxtorax
Tue Mar 17, 2009 10:24 pm
Forum: Programming Discussion
Topic: C++ and GDI display images on screen
Replies: 11
Views: 954

Re: C++ and GDI display images on screen

Do I have to include the SDL.h with my project for it to work? In Lazyfoo's tutorial it didn't show that, I did everything on that tutorial, the project properties, and the options.
by Daxtorax
Tue Mar 17, 2009 9:55 pm
Forum: Programming Discussion
Topic: SDL Tutorials
Replies: 33
Views: 39844

Re: SDL Tutorials

I've tried to follow lazyfoo's tutorials, but I come up with one of two errors depending on how I change the include heading. When the include is, #include "SDL.h" I get the following error: fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory I get this error ev...
by Daxtorax
Tue Mar 17, 2009 9:22 pm
Forum: Programming Discussion
Topic: C++ and GDI display images on screen
Replies: 11
Views: 954

Re: C++ and GDI display images on screen

I tried to change the #include "SDL.h" to #include "SDL/SDL.h" and I get this error instead: fatal error C1189: #error : You should copy include/SDL_config.h.default to include/SDL_config.h This isn't the first time I've tried to set up SDL unsuccessfully. I don't know what I'm d...
by Daxtorax
Tue Mar 17, 2009 9:11 pm
Forum: Programming Discussion
Topic: C++ and GDI display images on screen
Replies: 11
Views: 954

Re: C++ and GDI display images on screen

I appreciate the reference, but whenever I try to compile the example code I get the following error: fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory But I included the SDL.dll with the project and just to be sure I put it in my system32 file, but I still can't get it...
by Daxtorax
Tue Mar 17, 2009 7:51 pm
Forum: Game Development
Topic: One is the loneliest number...
Replies: 18
Views: 2670

Re: One is the loneliest number...

I know the feeling of being the only coder on my team, but I've been trying to teach him programming. He's slowly picking it up and I know that others would disagree with my teaching style, but I started him off on a simple basic language I created myself, I'm adding it as a library for c++ so that ...
by Daxtorax
Mon Mar 16, 2009 9:55 pm
Forum: Programming Discussion
Topic: C++ and GDI display images on screen
Replies: 11
Views: 954

C++ and GDI display images on screen

I would like to create visuals in my program, but I don't fully understand how GDI works. I would like to display images on screen that I've created in a separate program. I know this may be a newbish question, and if I posting wrong or anything please let me know. Any help would be greatly apprecia...