A few quick questions.
I am working on a program that allows me to move a sprite around the screen then play a sound on mouse click.
I loaded the sprite example and replaced the background and sprite with my own pics. All is fine.
Then I added a line of code like this.
load sound "c:\sound\mysound.wav",1
if mouseclick()=2
play sound 1
endif
This worked a few times then it crashed my computer now it crashes everytime I run it. Im using DBC. Any explanations or solutions ? Sound file is fine, location is right etc... It just stoped running correctly. Im on xp and have the patches. It even started running minimised and I had to adjust my vid card settings to get it to come back open. I put the settings to the orginal state and dbruns fine now but wont run this program right with the sound code in it now. This sound code works in the sound example code which is basicly the same.
quesiton 2: Ive made another sprite but I can only get one or the other other too diplay not both.
I use load bitmap
then get image
then sprite #,x,x,#
Ive tried to use a different number for the image and get command again its just one or the other. Could someone please pose some code that would load 2 or 3 different sprites (not background). Sorry I didnt post code Im dont have db on this comp and Im new so(I dont have it all right in my head yet)
Thanks in advance
http://rageoebel.freehomepage.com/images/eye2.jpg