Light beacon is on and the sheep is in the sky (QS)

LordTarantorLordTarantor Member, PRO Posts: 890
edited November -1 in Working with GS (Mac)
Hi QS long time no asking ah...
Well I ask because I notice in the kraken demo (by the way -awesome-), I notice that you dominate some things that I am struggling with. The first one is that if you are using a joystick, how do you keep the player facing the direction you are traveling? As of right now I am using CodeMonkey's example but I I go right its ok but is I go left me creature is upside down. How do you fix this with your airplane.
Another thing and again I know this has been discussed many times but I just don't get it. How do you keep track of levels so when you turn on the iphone and start again you can press the button "continue" and start in the level you left the game.
Please QS or anybody; this are the only 2 things I need to finish my game, my first game.
Please help and please if be as specific as you can, its been a week of trials and errors, lots of errors trying to accomplish this 2 things.
thanks

Comments

  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Have an attribute called game level.
    Have a rule - everytime you change scene. i.e. you complete a level, change attribute game level to game level + 1
    Save attribute game level and give it a unique name
    On your continue button you would need a rule - when touch is pressed, load attribute game level and your unique key name
    Then a bunch of rules, if game level = 1 change scene to scene 1
    if game level = 2 change scene to scene 2
    etc etc
  • LordTarantorLordTarantor Member, PRO Posts: 890
    Hi beefy:
    Thanks for your idea.
    I still have some doubts like what kind of attribute should be the game level?(interger,real, ect).
    Also where do I put the save attribute? In any actor or should I create one for this?
  • LordTarantorLordTarantor Member, PRO Posts: 890
    QS???
  • quantumsheepquantumsheep Member Posts: 8,188
    Greetings,

    (why do I feel like The Gamesmaster???)

    There is no joystick in Kraken - much to Butterbean's chagrin!

    There are buttons either side of the screen. They *rotate* your ship left or right when pressed.

    I think it works pretty well.

    The other thing, if you notice, is that the rocketship in Kraken is neutral in terms of 'up and down'.

    This helped solve the problem you're having with the joystick demo!

    As to saving and loading levels.

    Well, the way I do it is by saving if a level is unlocked or not.

    So it's a boolean.

    When you click on 'next' or whatever button or process you have that finished your level, have the attribute unlock the next level.

    So having finished level 4, change attribute 'level5unlocked' to true.

    Save this as level5unlocked

    Then on your start screen, load in all your levelXunlocked attributes.

    I hope that makes sense and helps!

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • DimensionGamesDimensionGames PRO Posts: 993
    QS may I inquire about something I want to know if I will be able to re-create? Can I send you an email?

    Cheers

    Possesive Gaming
  • iDeveloperziDeveloperz Member Posts: 1,169
    He charges $250 per rule.
  • DimensionGamesDimensionGames PRO Posts: 993
    iDeveloperz said:
    He charges $250 per rule.

    D:
  • iDeveloperziDeveloperz Member Posts: 1,169
    I was joking :P

    I think it's more.
  • DimensionGamesDimensionGames PRO Posts: 993
    iDeveloperz said:
    I was joking :P

    I think it's more.

    D: D:
  • iDeveloperziDeveloperz Member Posts: 1,169
    I don't know wether if you believe me or not so i'll come clean.

    He might do a few rules for you (free). But I don't see him re-doing a whole game.

    What is it anyway? Maybe I can help. I'm no sheep but I have a 'Z'. :D
  • quantumsheepquantumsheep Member Posts: 8,188
    I've never charged anyone for anything!

    I like to keep any help to the forums. That way, other people may benefit.

    And anyway, there are far smarter people than me on here - best to ask the forum as a whole - you'll get a response faster and probably a better one than mine! :D

    Take it easy,

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • DimensionGamesDimensionGames PRO Posts: 993
    No it wasn't a whole game :L But it's a complicated.. I want to recreate this movement.

    http://www.addictinggames.com/momentummaster.html
  • iDeveloperziDeveloperz Member Posts: 1,169
    FMG just made a tutorial on this recently.

    Well something like this.
Sign In or Register to comment.