Recent content by motorollin

  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 =...
Back
Top