Also, try not to touch the purple blocks, it will reset your score. Best played in full screen, should I make it more difficult?
If you watch the sword sprite - you'll see that you end up with 300 clones of it
If you reduce the number, that should help speed things up
Well - that other method doesn't work well for me
Your cloning technique works very well visually
Thanks!
But kinestheticlearning's technique works well without any lag!
That's why I am adjusting the time that it turns fully transparent.
EDIT: I can't change the fade timing. welp
I saw that you were showing it off in another thread but it still doesn't look good on my computer compared to your original cloning method
I am working on a duplicate of the Square Slasher but with my original clone method. I will try to reduce the lag, but i'm not sure if it will look the same if I do.
In fact, it's not even going to work with my original method, the entire game will freeze because of the lag.
What value have you tried using instead of your original 300?
I used 10. It will still break the project.
...
That's why I am adjusting the time that it turns fully transparent.
...
Adjusting time will not work.
What you want to do instead, is limit the number of stampings made at the same location (that's what makes it ugly as @cymplecy noticed).
How you can limit the number of stampings made at the same location?
You need a variable that you will set the old_x value, then compare it to x and if the difference is > threshold, then you make a stamp, otherwise not.
Proof it will be broken with my method;
You can't even move
EDIT: fixed it kinda I guess.
Congrats, it works your way, too.
Plays great on my computer
(just added a clear to make it a bit cleaner)
Huh, all I had to do was delete the overlay for my method because it had no use being there(because it doesn't use stamps).
I will add that for extra cleanness, don't worry.
Now open it and Save As Square Slasher
to overwrite the existing project because the clone method is now better then the stamp method. Be proud!
Thanks, but should I add an end screen for when the player reaches a certain amount of points?
Yes, great idea.
I shall upgrade the game soon, then. :)