Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
darkbasic...help: assigning sprites a velocity and random spawn
I am working on a game for my computing school project and am using DarkBasic Pro
My game will involve the dodging of sprites that appear at random positions at the top of the screen and will move down to the bottom.
Tried with little success to just achieve a random spawn point at top of the screen but it doesn't work ! :
FOR ant=1 TO 10
load image "h:CompAdv. Higherantsprite(final)png.png",2
paste sprite 2,xpos2,ypos2
Any help with random spawning along the x-axis or sprite velocities would be greatly appreciated
THANKS ! :)