![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have a stationary sprite in the middle of the screen and other sprites falling from the top of the screen to the bottom(using sprite direction and velocity). When a sprite collides with the sprite in the middle of the screen I try to move the colliding sprite to the right until the collision is over. However, the collision routine moves both the colliding sprite and the sprite in the middle when using this code
Code:
Sub gw_Collision
Spr1.Value = gw.Sprite1
spr2.Value = gw.Sprite2
spr2.x=spr2.x+1
End Sub
thanks Leginus |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sprite library - V1.1 | Erel | Official Updates | 0 | 02-28-2008 03:45 PM |
| New Sprite library | Erel | Official Updates | 4 | 02-22-2008 03:00 PM |
| New Sprite library | Erel | Announcements | 2 | 01-24-2008 07:38 PM |
| Walking character using the Sprite library | Erel | Code Samples & Tips | 2 | 01-18-2008 05:46 PM |
| Library folder question to Erel | agraham | Questions & Help Needed | 6 | 11-11-2007 04:27 PM |