ansy
cookie clicker store
Hello i am here ones again asking for help. My store buttons need to be dissabled if i don't have te right amount of cookies and enable when i have the right amount or more. I already have a method for isolating the number from the text in my textblock. The problem i have been having is that when i get my store too take away cookies the counting of the cookies just resumes from the last number that was on before the subtraction of the number. example: i have 18 cookies and i pay for the clicker worth 15 cookies. It subtracts and it sais 3 cookies, but when i click on the cookie again it jumps to 19 cookies all of a sudden. Another problem i have been having is the button disabling it doesn't wanna work however hard i try. Can someone help me i really need this to work.
here is the repository link;https://bitbucket.org/pxlrepository/c-project-cookie-clicker/src/master/
I work in a WPF in a .net framework in visual studios
If anyone can help it would be much appreciated
176 replies
Cookie Clicker project for school
so i have a problem i need to fix a bug on a picture. I use mouse down and mouse up events to resize my picture but now i need to fix the bug for when you click on the pick but let go of the button outside the picture, it stays stuck in the resized state.
What should happen is it should resize when you hold the mouse button down and hover over it and go back to normal when you let go of it over the picture or when you go off the picture.
1 other bug i found is that when you hold the mouse button down and let go of it outside the picture it stays stuck in the resized state.
17 replies