Light beacon is on and the sheep is in the sky (QS)
LordTarantor
Member, PRO Posts: 890
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
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
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
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?
(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
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Cheers
Possesive Gaming
I think it's more.
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'.
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!
Take it easy,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
http://www.addictinggames.com/momentummaster.html
Well something like this.