go go pogo jo
-
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. -
-
-
Completed. Well until I add more anyway.
Added to the start scene some scrolling text for credits.
Made the best time zoom out to make it more obvious when you get a best time. And a little ditty.and some bling.
Pending 6vk73ctf94.
Submitted to the fuze player not a comp.
Hopefully that catches on.
There's still a few things i'd like to do but first I'll have to write a utility to achieve what I'm thinking of.
Before I do that I really need to finish off what I was doing on maelstrom.
It's been a good learning experience and I can't wait to apply some of things i've learnt. -
This game looks super fun, I love its personality too
-
Thanks it's my first platformer. I sort of aimed it at my four year old twin nephew and niece who like bright shiny thing's and can't get enough.
-
Oops just noticed this is live but the code is
Fvn43mnd94 -
Congratulations on a job well done! This has become a really nice and complete game! :)
-
Thank still want to add some more but it will be a little while till I get around to it