go go pogo jo
-
-
How did I miss these posts! This looks awesome mate, I'm so intrigued by how the motion controls work!
-
-
-
-
My preferred method is now touch so it's handheld only in that controller mode.
Best times carry over between sessions and yes you can use all the stuff in my previous posts still.
Still to add
Something to do with the gems
And may be a combo multiplier but that would need a score or just a whole lot of bling. -
Added new race Viking. Spread some more gems around. Added a flame to the candles. Would like to get the screen more alive. looking at putting a few critters flying or climbing around the tree. When bouncing on a branch , leaves fluttering down stuff like that.
-
-
Needed to convert a vector into a 360 degree angle.
So I got the gem going in the right direction.
-
Love all your commenting @xevdev - takes a lot of commitment to comment every line!
-
So this is what I came up with
///
Function vector_to_angle( n_v )
In angle
n_v = normalize( n_v )
s_angle = asin( n_v.x )
c_angle = acos( n_v.y )If s_angle < 0 Then Angle = 180 + ( 180 - c_angle) Else angle = c_angle End if
Return angle
/// -
Oops no commenting.
Just put a vector in and get a 360 angle.
Will add a distance too.
Cos that's important.
Easy to do distance ((0,0),(n_v))
Can't do curly brackets on me phone.
And of course will have to put in a vector so I can return more than one value. -
Posted a pic of the code can't see yet.
Where's Peter anyway.???. -
-
-
So I've put the running stats on the other day and was mucking around constantly stopping and starting the game and noticed that the memory available was 440 megabytes after coding for a few hours and thought that's strange.
Now I just wrote a function to take a grab out of one of the dizzy levels but did not free that image but would that effect between runs or could it be the file system I created.
I usually have multiple save states but in this game I haven't.
My file system is at 2480 -
-
-
Going to upload the game now and go to bed
Still can't see how it's losing memory between runs this is why I normally save updates. -