Actor missing key move function whet i add accelometer function

JaxterJaxter Member, PRO Posts: 398
edited November -1 in Working with GS (Mac)
My actors is moving by kayboard, but i added iphone accelometer function ( because in future i will publish game on iphone ) looks like in tutorial here: http://gamesalad.com/wiki/_media/accelerometer_move_left.png but after that actor no more movable with arrow keys .. so iphone accelometer function must add only before publising to phone.

Comments

  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Do you have it set to 'Any'
  • JaxterJaxter Member, PRO Posts: 398
    and one more thing: between stages have "info screens" with this kind of settings, but in next stage points are the sama wha i get from 1st.. i need 0 and lives tio must bee to defoult 3

    : http://raganasligzda.lv/citi/gamescore.png here is screenshot

    ps. make pleas image upload function in forum.. tnx
  • JaxterJaxter Member, PRO Posts: 398
    'Any" solved 1st problem tnx :) But what is with second? ( in older game salad versions it worked very well )
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Try creating a reset defaults actor that only has the Change Attribute behaviors for the lives and score and place them in your scenes so when the scene starts, the attributes are reset.
  • JaxterJaxter Member, PRO Posts: 398
    pleas can you make screenshot and post here..
  • JaxterJaxter Member, PRO Posts: 398
    i did it.. but nothing happens. and my actor started bounced with other elements
  • JaxterJaxter Member, PRO Posts: 398
    maybe i did it wrong .. can you post screenshot ore some tutorial for my problem ( i need points and lives in each next level to default : points 0 and lives 3
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    You just need to create an actor with the 2 Change Attribute behaviors you have in your screenshot. No rules, no other behaviors. Only those two behaviors. Then add that actor to each scene.
  • JaxterJaxter Member, PRO Posts: 398
    http://raganasligzda.lv/citi/capture.png and i place this actor in scene

    I did it.. but after that all bubbles and enemys who must destroy when touching player start bouncing and does not destroying anymore and became movable ...
  • JaxterJaxter Member, PRO Posts: 398
    http://raganasligzda.lv/citi/bublescript.png and those are my options for bubbles who gives me 20 ppints for each and after that destroying.. but when i do that hat you said to me they are not anymore destroying and bouncing my actor/player...
  • JaxterJaxter Member, PRO Posts: 398
    maybe i can send you project file..
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Take out the collide behavior its not needed if you are just destroying it.

    Does having the score more than a certain number or the lives at a certain number affect anything else in the scene? Cause scene change? Makes things stop moving?
  • JaxterJaxter Member, PRO Posts: 398
    did not understand about cillide.. ., yes if in first stage fish get 1000 p then level is complated, in 2nd level must collect 1500 ( but from 0 )
  • JaxterJaxter Member, PRO Posts: 398
    here is creanshot it is placed in games bacground: http://raganasligzda.lv/citi/goal01.png
  • JaxterJaxter Member, PRO Posts: 398
    Hmm it all worked 2 or 3 version ago on gamesalad.app , but after last updates all game was crashed and i am rebuilding it from zero again.. but i some unctions are changed.. :(
  • JaxterJaxter Member, PRO Posts: 398
    help pleas
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Is there a version on the web that I can see the issue
  • JaxterJaxter Member, PRO Posts: 398
    no. here was oldest version but then after update it was crashed too online,,,
Sign In or Register to comment.