Recent content by p0is0n

  1. P

    Development Setup Under Linux

    Thanks for the information. I will look into this more when I come to releasing the GP2X version, there is just too much information too read through at the moment on accomplishing this. Maybe I'm just not understanding my obligations of static compiling with SDL properly. In the license it...
  2. P

    Development Setup Under Linux

    Ah, I hadn't thought of that lol. Thanks for pointing that out. I'm guessing I can't just put the shared object files required next to the game and have it run that way like with dlls?
  3. P

    Development Setup Under Linux

    Sorry, I could have sworn I ticked the 'Enable email notification of replies?' box :huh: I have come to the conclusion that I hate makefiles and configure files and any other sort of files like that. Don't get me wrong I think they are fantastic things but I just can't begin to understand it...
  4. P

    Development Setup Under Linux

    Well I finally got a chance to come back to this. Everything seems to be working so far. I'm very new to makefiles so this may not be the best example but here is my completed makefile for linux and GP2X builds by using "make all". TARGET = test TARGET_GP2X = test.gpe VERSION = 0.1 DEL_FILE...
  5. P

    Development Setup Under Linux

    2nd Edit : I think I may have it right. This is my makefile (purely for GP2X builds, I will make it build both when I have confirmed it works) TARGET = ttt.gpe VERSION = 0.1 DEL_FILE = rm -f CROSS_PATH = /opt/open2x/gcc-4.1.1-glibc-2.3.6 CC = $(CROSS_PATH)/bin/arm-open2x-linux-g++...
  6. P

    Development Setup Under Linux

    Hey all, I am completely lost when trying to compile for the gp2x on linux. I made a few games for the GP2X a couple years ago using DevkitPro on Windows. However that was like 3 formats ago and I primarily use linux now. What I need is a downloadable SDL toolchain and a makefile to make the...
  7. P

    GP2X Sdl - Getting Raw Pixel Data From A Bitmap

    Thankyou very much!!! You just saved me loads of conversions! Works perfectly, i'm not too bothered about times just yet, it's only ever done at load time anyway. Thanks again!!
  8. P

    GP2X Sdl - Getting Raw Pixel Data From A Bitmap

    Thanks, I'm using 16bit. I'll look into convertng the values into something understandable.
  9. P

    GP2X Sdl - Getting Raw Pixel Data From A Bitmap

    Thanks a lot for the link. I can now access each pixel in my image, i do still have a question though: How do i get the colour of the pixel, i mean ..... i guess thats what im getting, but how is it stored? If i'm doing it right black is 0, and white is 65535 Does anyone know if this is...
  10. P

    GP2X Sdl - Getting Raw Pixel Data From A Bitmap

    Hi, What i want to do is to load in a bitmap, then check the colour value of each pixel in the bitmap. I know that a SDL_Surface can return a void pointer to the pixel data, but after that i'm kinda lost :huh: My question is how would i go about getting the pixel colour data from a bitmap...
  11. P

    Screen Flicker Problem

    My screen depth is 16. Just thought i'd give an update to this: Using double buffering and clearing the screen makes my screen flicker, i dont get the problem if i dont clear the screen and just redraw my game tiles. Just incase anyone else comes across the thread with the same problem!
  12. P

    Screen Flicker Problem

    In my render i do: Clear Screen -> SDL_FillRect(m_screen, NULL, SDL_MapRGB(m_screen->format, 0, 0, 0)) Render All Sprites -> SDL_BlitSurface(m_sprite, m_spriteRect, m_screen, &pos) Flip -> SDL_Flip(m_screen) I'm checking all return values and nothing fails
  13. P

    Screen Flicker Problem

    Hi guys, When i use: m_screen = SDL_SetVideoMode(screenWidth, screenHeight, screenDepth, SDL_HWSURFACE | SDL_DOUBLEBUF); and run my game the screen flickers, when i pass in SDL_SWSURFACE i dont get this problem. I did a search but couldnt find anything that fixed my problem (maybe i missed...
  14. P

    Shell Scripts And File Visibility

    Thanks a lot rokdcasbah! I thought that was the way to have your own icon, mine didnt work for some reason, but after trying again with a different name it works perfectly :) As for hiding the folders i think you're right, too much hassle for something that isnt important. Thanks again!!!
  15. P

    Shell Scripts And File Visibility

    I understand that you dont need to hide the folders, it would just look a tiny bit nicer if you couldnt see them. I actually have 2 quick questions: How do you assign a game icon with the script? Is there any website that teaches you how to use the shell script that the gp2x uses? (bearing in...
Back
Top