Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - quinn3191

Pages: [1]
1
I think so :) , any idea on how I would go through the objects to to check which ones need to be deleted, just a push in the right direction is all I need :)


thanks for your help

2
hi jim,

how do you mean ? sorry ive only just started to learn... so just a little tiny explanation :)
 the problem is that im having is that when i fire the bullets at one of the boxes it deletes, but theres certain box you have to destroy first ...so say like i fire at the other boxes it says the error 'object does not exist'

belows the code that checks if the images collide :

For Player.shell = Each shell
      For b.box = Each box
          If ImagesCollide (shellimage, Player\x, Player\y,0,  Computer, b\bX, b\bY,0 )
            Delete Player
            Delete b         
         EndIf
              
      Next
   Next
 

thanks so much for your help btw :D

3
hi I'm dazzy, I'm creating a 2d tank game


i have a problem with the game that i am trying to create. the problem is Ive created a Type for some 'boxes' that will be displayed on the screen, i want to be able to display four instances of this type ... i can do that no problem ...the actually problem is when it comes to bullets colliding with the 'boxes' ...the bullets are suppose to destroy the box and then be deleted and then replace by an image (of a damaged box) the problem is that it appears the boxes can only be destroyed in a sequence... e.g. how they were created ...1,2, 3, 4 ...i want to know how to stop this so it doesn't matter which box is hit by the bullets first ...and also need to know how to replace the image of the box with the damaged box image....

any help that anyone can give me would be much appreciated :D

Pages: [1]