Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    go go pogo jo

    Work In Progress
    5
    28
    1112
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • xevdev
      xevdev F last edited by

      Needed to convert a vector into a 360 degree angle.

      So I got the gem going in the right direction.

      1 Reply Last reply Reply Quote 1
      • SwitchedOn
        SwitchedOn last edited by

        Love all your commenting @xevdev - takes a lot of commitment to comment every line!

        1 Reply Last reply Reply Quote 0
        • xevdev
          xevdev F last edited by xevdev

          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
          ///

          1 Reply Last reply Reply Quote 0
          • xevdev
            xevdev F last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • xevdev
              xevdev F last edited by

              Posted a pic of the code can't see yet.
              Where's Peter anyway.???.

              1 Reply Last reply Reply Quote 0
              • xevdev
                xevdev F last edited by

                So this my other program that I've neglected since game jam #1 Still on the to do list.
                Shows homing missile style easy to implement.

                1 Reply Last reply Reply Quote 2
                • xevdev
                  xevdev F last edited by

                  So now has you hit the gems they take off and home around 1000,100 on the screen. Each jem has the initial speed from the hit and I've put a wobble in the code so they don't line up over each other. Need a nice sound effect.
                  Hopefully tomorrow put them into there own race.

                  1 Reply Last reply Reply Quote 2
                  • xevdev
                    xevdev F last edited by xevdev

                    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

                    1 Reply Last reply Reply Quote 0
                    • xevdev
                      xevdev F last edited by

                      Don't know if that changed above can't see the video.
                      This is the code I used for the grab image

                      1 Reply Last reply Reply Quote 0
                      • xevdev
                        xevdev F last edited by

                        On my phone so easier to post the video again for the first one

                        1 Reply Last reply Reply Quote 1
                        • xevdev
                          xevdev F last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • xevdev
                            xevdev F last edited by

                            On the home run.
                            Got the last race coded and working.

                            1 Reply Last reply Reply Quote 3
                            • xevdev
                              xevdev F last edited by

                              Love secret areas don't you ?.

                              1 Reply Last reply Reply Quote 2
                              • xevdev
                                xevdev F last edited by

                                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.

                                1 Reply Last reply Reply Quote 1
                                • Spacemario
                                  Spacemario F last edited by

                                  This game looks super fun, I love its personality too

                                  1 Reply Last reply Reply Quote 0
                                  • xevdev
                                    xevdev F last edited by

                                    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.

                                    1 Reply Last reply Reply Quote 1
                                    • xevdev
                                      xevdev F last edited by

                                      Oops just noticed this is live but the code is
                                      Fvn43mnd94

                                      1 Reply Last reply Reply Quote 2
                                      • PB____
                                        PB____ last edited by

                                        Congratulations on a job well done! This has become a really nice and complete game! :)

                                        1 Reply Last reply Reply Quote 1
                                        • xevdev
                                          xevdev F last edited by

                                          Thank still want to add some more but it will be a little while till I get around to it

                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post