dwbailey.com/images/sqnuts
heres the link of it working
thanks littlestain, got it working perfectly now...it seems that i was over analyzing it...had to remove the waittime from the event sheet..it was actually hurting it...once i removed it..and collided with the home tree it worked great...
dwbailey.com/images/sq
so if you play it..when you pick up a nut and return it to the tree it stays zero..but then if you pick up another one it starts to add it...and then keep on doing it, it starts adding it all wierd.
s93.photobucket.com/user/spawn85027/media/eventsheet_zpsa6951f8a.jpg.html
its not adding correctly..sometimes it doesnt add at all, not sure if it has to do with a timer, but i need the timer to happen so that the acorncounter resets after player collides with tree
set text: "AcornTotal: "&(acorncount+acornreturned)
you were exactly right...i didnt define the acornreturn variable...
some reason i thought i was doing that by doing settext..arg....
thank you so much for helping me out here
dwbailey.com/images/SquirrelNutsSaturday
so play the gamee and collect a acorn then go to the hometreee to the left ..the acorn will take the value of the acorncounter
acorn return set text "Acorn:" &(AcornReturned+AcornCount)
i thought that is what line 33 is doing...since the value is 0 for acornreturn at the start...when the player collides the new value becomes whatever the acorn counter is at the time of collision...and if acorn return has a value it will also add itself..atleast that was my thinking?
Develop games in your browser. Powerful, performant & highly capable.
no problem i took a screen shot of the event sheet
s93.photobucket.com/user/spawn85027/media/eventsheet_zpsc9a881a7.jpg.html
dwbailey.com/images/Variables.capx
Here is the files..
its not actually adding the two variables together..its still just replacing one for the other...i have something wrong here
any advice??
what happened to the C=A+B.capx file?
Member since 9 Jul, 2013