Hey Phrogrammers,
I have been working on adding to snurkel for a week now and half way through realized that I couldn't do what was needed to make it a fully functional typing game (kept getting error messages when erasing a letter after it was typed) so I set out starting a new program and pulling certain codes from Snurkel that I couldn't replicate (in other words I had no idea how Arnaud got it to work in the first place ; ) . But now I am at a standstill... I firgured out some other problems I was having by looking at Letter Attack and pulling a bit from it... But now I cant get the movebyamount to work and I'm not sure why. Perhaps one of you could take a look at it and try to help me figure it out.
Please note this is not complete, this problem is the only thing keeping me from finishing it, the rest is very easy and would take a few hours to code. So as soon as I get a fix the program should be available for play. (there will also be special thanks to Phrogram, you phrogrammers for your help, and Arnaud and Michael for the use of their code.)
I have loaded two variations of the code I am working on, in "snurkel_attempt_with letterattack individual" you will find the problem code below.
in the other "snurkel_attempt_with letterattack" I have found a way around it... sort of, except I can only get it to work with 7 letters, if I add anymore it errors out about the array.
The code below is where I am having trouble and is under the Playgame() method .
I am trying to get the letters to "scroll" (I only want the to scroll once though, not over and over like in snurkel) like in snurkel but they all clump together and follow the mouse points instead of moving one at a time... I have tried different methods of getting them to move, movetoward, movetopoint, moveto, x= y=... they all move but clumped together. I thought movebyamount would work but the letters don't even move...
While True
pointcount = pointcount +1
For i = 1 To Count
LetterSp[i].movebyamount(points[pointcount].x,points[pointcount].y)
If lettersp[i].Intersects(deathline) Then
lettersp[i].hide()
letterhits = letterhits - 1
End If
Status ("Score: " + lettercount + " LivesLeft :" + letterhits )
Next
End While