GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. sin: up or down

    wouter
    by wouter · June 2011
    constrain attribute game.y1 to self position.Y
  2. sin: up or down

    RH
    by RH · June 2011
    When attribute game.up/down = game.balance + game.amplitude
  3. Destroying Spawner Actor?

    PangitQuest
    by PangitQuest · June 2011
    Rule:Attribute game.score "equal or greater than" 200
  4. Destroying Spawner Actor?

    wouter
    by wouter · June 2011
    for destroying actor 1 you must safe the x and y coordinates (in an game attribute), then by a score equal or over 200 spawn actor on position ... ... (game.positionx and game.positiony for example)
  5. Destroying Spawner Actor?

    PangitQuest
    by PangitQuest · June 2011
    Change Attribute: self.random to random(1,2)
  6. Moving actor immediately to new point (rather than 'moving to')?

    micksolo
    by micksolo · June 2011
    If there are other rules that the actor is using they could be interfering. If its the first the actor does when pressing touch make sure the Change Attribute Rule is at the very top so its the first
  7. Moving actor immediately to new point (rather than 'moving to')?

    simo103
    by simo103 · June 2011
    make sure you haven't typed position.x you must choose it from the pull down menus so it is change attribute self.position.x to: self.position.X+44
  8. sin: up or down

    wouter
    by wouter · June 2011
    constrain attribute: game.position y to game.amplitude*cos(game.period*(self.position.X-self.InitX))+game.balance (y position where the cos or sin is moving around;)
  9. sin: up or down

    RH
    by RH · June 2011
    I don't really know what's going on in your project. Can you post a screenshot of the rule that you are using to move the attribute up and down using sin function?
  10. sin: up or down

    wouter
    by wouter · June 2011
    only this also doesn't work (change attribute game.position y to self.position.Y) because the y stays on 0.... what to do???
  11. sin: up or down

    wouter
    by wouter · June 2011
    you mean a constrain attribute to safe the current position y (self.position.y) in lets say y position;) and then check if the y position is higher or less high than in y position. ?????
  12. sin: up or down

    RH
    by RH · June 2011
    Ok, are you making the actor move up and down by constraining self.position.X using the sin function? If so the y velocity will be 0 I think so you won't be able to tell whether it is moving up or do
  13. sin: up or down

    wouter
    by wouter · June 2011
    made a game attribute velocity x and velocity y
  14. Moving actor immediately to new point (rather than 'moving to')?

    AppsRacK
    by AppsRacK · June 2011
    change attribute position.x = position.x+44
  15. Timer delay before spawn?

    AppsRacK
    by AppsRacK · June 2011
    You can do it like this. First make a game attribute
  16. Moving actor immediately to new point (rather than 'moving to')?

    DigiChain
    by DigiChain · June 2011
    Ok, so how would I change attribute to position x +44pixels? Rather than specifying 44 which always jumps to that pixel position in my scene.
  17. Moving actor immediately to new point (rather than 'moving to')?

    StormyStudio
    by StormyStudio · June 2011
    can you do a change attribute position X and positionY?
  18. Moving actor immediately to new point (rather than 'moving to')?

    simo103
    by simo103 · June 2011
    can you do a change attribute position X and positionY?
  19. Moving actor immediately to new point (rather than 'moving to')?

    DigiChain
    by DigiChain · June 2011
    To do this I've been destroying the actor, and then spawning a new one with a x+44 attribute. Is there a better way to do this? I hear spawning is processor intensive and I'm spawning every time my ac
  20. Timer delay before spawn?

    DigiChain
    by DigiChain · June 2011
    The Spawn actor is placed within the timer attribute
Previous Next

Howdy, Stranger!

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

Sign In with GameSalad

Sign In Register

© Vanilla Keystone Theme 2026

Powered By Vanilla