Search:

Type: Posts; User: rocko384

Search: Search took 0.00 seconds.

  1. @Elkvis, yeah, I've thought about that while I...

    @Elkvis, yeah, I've thought about that while I was at school..
  2. I am using VS 2010..

    I am using VS 2010..
  3. Then how am I supposed to give it value? It wont...

    Then how am I supposed to give it value? It wont let me in the header.
  4. Erm...If this isn't how you declare an array, then I'm lost

    #include <SDL.h>
    #include "Sprites.h"
    #include "Images.h"

    Sprite::Sprite(SDL_Surface *img, int dimenX, int dimenY)
    {
    Sprite::framesF[4][2] = { { dimenX, dimenY }, { dimenX, dimenY }, {...
  5. Fixed it

    Fixed it
  6. I did that, and I have it exiting if it didn't...

    I did that, and I have it exiting if it didn't load (doesn't do much, but atleast it tells me what's going on). I tried adding the file - snakey.bmp - as a Resource file, but that didn't work either....
  7. Sorry, I replied right after I posted without...

    Sorry, I replied right after I posted without checking for other posts, so...latepost
    but yeah, ill try that
  8. Well, I must've done something

    Well, I edited it a little, to this:


    #include <SDL.h>


    int main( int argc, char* args[] )
    {
    //Start SDL
    SDL_Init( SDL_INIT_EVERYTHING );
  9. It seems GCC likes my code better than VS 2010

    Basically, my code is just meant to load a BMP file, just to test SDL in Visual Studio. It works in Code::Blocks with MingW, and it worked in VS up until I added

    Uint32 colorkey =...
  10. Sorry, it was midnight when I was posting

    Sorry guys. Thanks for putting up with me in my worst.
  11. A friend told me I forgot commas, which I did...

    #include <gb/gb.h>
    #include <gb/drawing.h>




    UBYTE ship[10] =
    {
    {0, 0},
    {2, 1},
  12. UBYTE is one of the standard, low memory usage...

    UBYTE is one of the standard, low memory usage data types the DK offers. It's the most common one too. Anyway, yeah, I was just trying to make an array that I could store the X and Y of each point....
  13. This is confuzzling

    No...see, I was trying to make this plot each of those vector locations. I had the for loop run throuh each position, then plot a point based on the first and second values in the array. But I don't...
  14. I was trying to write some code for my Gameboy with GBDK, and it errored

    #include <gb/gb.h>
    #include <gb/drawing.h>




    UBYTE ship[10] =
    {
    {0, 0}
    {2, 1}
Results 1 to 14 of 14