Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

122 Neutral

About Indy

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Indy

    Timing Entities

    Hi CP, The aliens have been defined as a Type (or struct in C). In other words I initialise all of them and then call them from the main game function. The problem I have is how do you put a timer in when they're initialised?
  2. Hi, I'm making some good progress with my shoot em-up, but once again the need the valuable help from the GameDev community. How do I implement a timer so that a group of 5 aliens don't all bunch up together on the screen when activated. It's a bit like saying the 1st comes out then 2 seconds later the 2nd and so on.. I know I have to have a timer but just not sure where to put it. Any suggestions?
  3. Indy

    Please help

    Update: Since my last post I've spent some time brushing up on Cos, Sin and Tan and feel that it's coming back to me. However, now I've refreshed my memory on the Math, how does one utilise this in my shoot em-up? I've read quite a few articles on Splines and Beizer curves, but still not quite sure on how to implement it all. Can someone be so kind to assist me? Thanks
  4. Indy

    Please help

    Hi Erissian, Thanks for your pointers, I'm going to look into these in a bit more details. I've been looking at the following code that also deals with trajectory, but dones't seem to work. // aim UFO bullet directly at ship dx = Ship.xcenter - UFO.xbullet; // difference in x dy = Ship.ycenter - UFO.ybullet; // difference in y m = (Float)sqrt(dx*dx + dy*dy); // magnitude (distance) UFO.xbmove = (dx/m) * BULLET_SPEED; UFO.ybmove = (dy/m) * BULLET_SPEED; I tried this with just two pixels that subsituted the alien and player ship. If both pixels had the same x co-ordinate the bullet pixel would home in. However, if I moved one of the pixels right or left from the other, the bullet pixel went of either on a complete tagent or didn't display at all. Why would this happen?
  5. Indy

    Please help

    Hi yaustar.. I'm using Blitz3D as my language so most of the graphics stuff is taken care of. However, I have (for now :)) 2 specific areas that I'm lacking knowledge. 1. Trajectory 2. Alien movement patterns. Basically I'm trying to write a shoot em-up that has some variety. I've done the straight forward left-right and down aliens before, but now it's time to go up a notch or two. Are you farmiliar with Xenon 2? What a killer game. Would love to get the source code for that :) Anyway, I'd appreciate any pointers you may have for me. Thanks
  6. Hi All, I need help in implementing alien movement and bullet trajectory in my shoot em-up. I've tried hunting everywhere for solutions but haven't found anything. Could somebody please volunteer to help me and I promise they'll get a copy of my game. Thanks
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!