snake85027's Recent Forum Activity

  • Well I am having a picking issue again.

    I have a exploding worm spawning when the player is with in the line of sight of this bird.

    Which works. I then have it when the bullet hits the exploding worm , play animation when exploding worm hp is less than or equal to 0. For some reason when I hit the first worm it affects all of them...

    I tried the picking of nearest option, for when the bullet hits the worm it picks the nearest one to affect but that

    does not seem to work..any help would be appreciated.

  • www.dwbailey.com/images/lockingOnMap.capx

    The Map Layer is using Event sheet 4.

    Goal: Have a Unlocking level system, Player returns 20 nuts the level Unlocks, this seems to work.

    When on the Map(press Enter during game, go to map , press Z) the player can move the Map Selector Icon that I have made, as it overlaps the numbers it either says LOCKED or RETURN 20 NUTS TO UNLOCK NEXT LEVEL......i am using a invisible system....make text visible when var is greater than 20, (for example)...

    my issue is this, some reason the game is lagging, meaning on the map , text is carrying over and being visible when it should not....for example when the Acorn Icon is over The intro map, zero text should show up...but when i start moving around the Map and then go back to the Intro Map level it shows the text that should only be visible when the Map selector Icon is over that particular sprite....and I have no idea if I just have to many Events or what.

    hopefully it makes sense..kind of hard to explain.

    http://gamejolt.com/games/platformer/sq ... uts/18498/

  • after doing more research I did not even know how to do this "Remove local/session value"

    In the Event Sheet I Selected the Keyboard and set on button release(p) ---Action: find the Webstorage plugin-

    then selected Clear Local Storage..

    did not even know those options that come up even existed...anyway thanks for pushing me in the right direction.

  • so is this not the right place to delete the offline cache for firefox?

  • I have this in my code WebStorage.LocalValue("AcornHighScoreLvl01")...well anyway I am using the webstorage

    to store my scores, it all works great..

    but.. I am testing some global variables in my code and I need to clear those values for now to test some stuff..

    i tried clearing my cache in firefox but that didnt seem to reset it... i am not sure how to do it.

  • thanks everyone, got it to work now. sometimes I feel like a fool. ha

  • I am using a Flash behavior for when I hit a enemy they flash. I need it to be a half a second long but I do not know how to set it that way. I figured it would be .05.....but you cant set it like that , it does not like the decimal number.... Any ideas?

  • thanks stain. it worked, i never think about instance variables. Well I guess because never really fully understood what that was even for. I have a better understanding now. I guess i used global variable because i wanted the code to be used through out my different levels...

  • So now my issue is picking again. So I play it using the debugging mode. When the bullet hits the bird the var is subtracted 1 which is great..... but it doesnt store it per clone......so if i hit a bird only once it sets the hp=1 then i go to the next bird and hit it with a bullet it is destroyed because the info of the hp isnt being separated per bird.

  • thanks ill try that

  • I am trying to make this bird take more than one hit from my bullet to die...not sure what I am doing wrong.

    I have it going from birdHp=0 to birdhp=1 when hit, then when birdhp=1 and is hit again, destroy bird..

    Eventsheet 1...code 287

    http://www.dwbailey.com/images/birdHp.capx

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • here is my latest

    http://gamejolt.com/games/platformer/sq ... uts/18498/

    press Enter for the menue and go to map

    z is fire...arrows for movement

snake85027's avatar

snake85027

Member since 9 Jul, 2013

None one is following snake85027 yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies