GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Actor missing key move function whet i add accelometer function

JaxterJaxter Posts: 398Member, PRO
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 Posts: 1,803Head Chef, Member, PRO
    Do you have it set to 'Any'
  • JaxterJaxter Posts: 398Member, PRO
    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 Posts: 398Member, PRO
    'Any" solved 1st problem tnx :) But what is with second? ( in older game salad versions it worked very well )
  • CodeMonkeyCodeMonkey Posts: 1,803Head Chef, Member, PRO
    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 Posts: 398Member, PRO
    pleas can you make screenshot and post here..
  • JaxterJaxter Posts: 398Member, PRO
    i did it.. but nothing happens. and my actor started bounced with other elements
  • JaxterJaxter Posts: 398Member, PRO
    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 Posts: 1,803Head Chef, Member, PRO
    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 Posts: 398Member, PRO
    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 Posts: 398Member, PRO
    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 Posts: 398Member, PRO
    maybe i can send you project file..
  • CodeMonkeyCodeMonkey Posts: 1,803Head Chef, Member, PRO
    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 Posts: 398Member, PRO
    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 Posts: 398Member, PRO
    here is creanshot it is placed in games bacground: http://raganasligzda.lv/citi/goal01.png
  • JaxterJaxter Posts: 398Member, PRO
    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 Posts: 398Member, PRO
    help pleas
  • CodeMonkeyCodeMonkey Posts: 1,803Head Chef, Member, PRO
    Is there a version on the web that I can see the issue
  • JaxterJaxter Posts: 398Member, PRO
    no. here was oldest version but then after update it was crashed too online,,,
This discussion has been closed.