newby question

I'm sorry for asking, but i'm totally new with gamesalad program and forum... I try to search but couldnt find...

Trying simple thing to get use to the program...
I just cannot make move a actors (up-dwn-right-left), i verify everything and compared with the Basic Shootem Up...found no error...
got constrain attribute X and Y -» game.PlayerX to self.position.x
got Key rule with direction and speed 300
even try the self.position.x < 440 (for the right)

there's really something i mist.....

Comments

  • -Timo--Timo- Member Posts: 2,313
    welcome :)
    do you mean when you touch the actor 'left' (or the arrow on the keyboard) he moves to the left?
    then just make a rule and say
    when touch is pressed or left arrow key is pressed change self.left (<- is an attribute) to true
    otherwise
    change self.left to false

    if self.left is true
    do
    move left

    if this is not what you mean try to explain better please ;)
    hope this helped
    good luck :)

    -Timo-
  • bent73bent73 Member Posts: 17
    thank's timolapre for your quick answer! really appreciated!!!
    i start from scratch to learn the program, and i use the Basic ShootEm Up for reference..
    I use the Rule : When All of the ...receive a key press: right is:down ... Do move direction:0 speed:300 relative to actor in additive way
    did this for all direction has set in the Basic Shootem
    with
    constrain: game.PlayerX to self.position.x
    constrain: game.PlayerY to self.position.Y

    then i run the program, but the ship doesnt want to move...
    :(
  • -Timo--Timo- Member Posts: 2,313
    what do you exactly want?
    why do you use
    constrain: game.PlayerX to self.position.x
    constrain: game.PlayerY to self.position.Y
    can you try to explain better? ^^
  • bent73bent73 Member Posts: 17
    :)
    I just want to make the ship move left, right, up, down in the scene like in the Shooting game....
    i put the constrain cause it was inside the actors backstage with the moving rules....I follow the explaination in the manual...
    Do you have another way (better) to make move a actors in the scene?
  • mesaticusmesaticus Member Posts: 51
    Check out this guys stuff. http://www.jamie-cross.net/?page_id=48 Learned a lot from his movement tutorials.
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    Thanks for the mention mesaticus, I do have a growing number of step by step tutorials at my site linked in my signature below. @bent73, they are good for an introduction to GS.
  • bent73bent73 Member Posts: 17
    thank's great place !!!!
    I wonder if i have a bug in my program, cause i follow step by step recipe 001, and when i push preview the screen is black empty.... even if i have the actor and platform on the screen in the program ...
  • bent73bent73 Member Posts: 17
    YUP! got crash problem... the program is always closing by windows ....
  • bent73bent73 Member Posts: 17
    dont understand, i reinstall the program and still have a bug...
    when i preview i have nothing in the preview screen even if i have some actors in the screens....
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    I think the windows version has an issue with decimal numbers, not sure if that is your problem or not but check the X and Y locations of your actors and make them all whole numbers and see if that helps.
  • bent73bent73 Member Posts: 17
    i just made a total clean up of my computer , and now it works better...
  • bent73bent73 Member Posts: 17
    strange... i just change the color and now i lost everything again in the preview...
  • -Timo--Timo- Member Posts: 2,313
    your probably working on a windows... you can't use colors in windows except for FULL red, green, blue, black and white (you can't 'mix' them) you also cant use decimals on windows
  • bent73bent73 Member Posts: 17
    bad bug.... Well thank you Timo !!!! I'm looking to maybe buy a used Mac....
    since i cannot fully test the program, I wonder if the gamesalad and gamesalad pro worth it.....
  • bent73bent73 Member Posts: 17
    i see IOs viewer and Android viewer.... what is they use?
  • bent73bent73 Member Posts: 17
    ?????
    i dont know why i did in my system, but everything "seam" to be back to normal ...
    DOH !!!!!
  • bent73bent73 Member Posts: 17
    stuck again... this time i notice that i try the recipe 002, so i put new project on Ipad Landscape with resolution independence , got bug with the position in the preview, so i create a new project with iphone landscape, and now i can't put a actors in the scene....
    the bug is probably with the option in the new project....
  • -Timo--Timo- Member Posts: 2,313
    thats because of the decimal bug, when you cant see it in preview then there is probably something behind the decimal. if you delete everything after the decimal then you should see it in preview.
    and when you cant put actors in the scene then you did put actors in the scene but the position changed. if you look in the upper right corner there you can see his position. its probably higher then 1000, so delete the last number and you can see him :)

    hope this helped
    good luck :)

    -Timo-
Sign In or Register to comment.