Search results for query: *

  1. M

    How To Protect Commercial Games?

    You can't stop people physically copying the file. You can't have an "activation" procedure to hinder pirates since the GP2X has no network connection. So the only option really is to make it undesirable for people to spread their copy. My suggestion would be to make your game display the...
  2. M

    Gridwars2x

    I have never seen that improved version. I'm using Mark Incitti's original. It looks like the improved version just has changes to the grid code which won't be relevant to my clone anyway. But thanks for the link - I'll play it on my Mac :)
  3. M

    Gridwars2x

    Thanks for the feedback. The framerate was set to 20FPS so I changed it to 50 FPS and adjusted the speeds of my sprites to compensate and it's much smoother now. I've made a lot of other improvements too so I'll upload a new demo soon.
  4. M

    GP2X I Had A Few Crazy Ideas Because I Was Bored.

    Is that a trick binary question, where the answer is "1" and "1"? ;)
  5. M

    Gridwars2x

    Anyone tried the demo? I'd be grateful for some feedback.
  6. M

    GP2X Checking Whether A Sprite Is On-screen Before Drawing It

    Cheers guys. I've improved my onScreen function and called it before blitting and checking collisions.
  7. M

    GP2X Checking Whether A Sprite Is On-screen Before Drawing It

    CODE bool onScreen( sprite* s) { if ( s->x < camera.x - s->w ) return false; if ( s->x > camera.x + camera.w ) return false; if ( s->y < camera.y - s->h ) return false; if ( s->y > camera.y + camera.h ) return false; return true; } if ( onScreen( enemy[i] ) )...
  8. M

    Gridwars2x

    There was an error in the archive I uploaded. The game did not play the game over music. I have corrected this and re-uploaded the file. If you want the corrected version just re-download from the link in my previous post and replace the gpe.
  9. M

    Gridwars2x

    Ok as requested here is a *very* early playable demo. Don't get too excited. It's very much WIP, but it does resemble an actual game :) Link Please post feedback, suggestions etc in this thread, and bear in mind the To-Do list on the first page of the thread before making suggestions ;)
  10. M

    Gridwars2x

    Here's updated gameplay video to show my progress. This one shows all of the enemies which are done, includes sounds and music, and shows the game over screen. Link
  11. M

    What's Wrong With My Enemy Homing Code?

    @hal9000 I was just starting to write functions to build arrays of pre-calculated atan/cos/sin when I saw your reply. Your method is much faster, simpler and easier. Thanks! It actually makes the enemies' paths more accurate too, whereas atan2() didn't give enough variance for the changes in...
  12. M

    What's Wrong With My Enemy Homing Code?

    Yeah, that's got it! Cheers :D (Still learning ;) )
  13. M

    What's Wrong With My Enemy Homing Code?

    The following code should make the enemy home in on the player: CODE void Seeker::move(int index) { //Find the angle required to move towards the player int distx = playerx-x; int disty = playery-y; int angle = atan2( disty, distx) * 57.29578; //Set the velocities dx =...
  14. M

    Possible 'brick' Situation

    If you have a breakout board, or can borrow one, then I believe you can use that to re-flash the firmware.
  15. M

    Gridwars2x

    Well after a major headache I have finally got MOD music playing in my game. It turns out that the GP2X Dev-C++ SDK doesn't seem to support MOD files via SDL_Mixer, and neither does Open2x. Also it seemed impossible to link LibMikMod in Dev-C++. Eventually I tried it in Code::Blocks and it...
  16. M

    GP2X .mod File Being Loaded In Windows But Not On Gp2x

    Actually I already need Windows installed on my Mac for playing Eve, so I'll keep Code::Blocks running under Windows and get rid of the Linux installation (which I only did for Open2x). As for the edit button, yes I know it's there :-) But I've been desperate to get this working and thought...
  17. M

    GP2X .mod File Being Loaded In Windows But Not On Gp2x

    YESSSSSS!!! MOD playback in the "quick and dirty MOD player" I posted in this thread works! Now I know MOD playback works I can copy all my code from Dev-C++ in to the CodeBlocks app and finally get on with my game :D :D :D :D :D THANK YOU PokeParadox for the suggestion, and Yaustar for...
  18. M

    GP2X .mod File Being Loaded In Windows But Not On Gp2x

    Heh, RTFM :lol: Install instructions are on the download page - I didn't read them...
Back
Top