1. #1
    nannerdw's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    1,268

    [PC] nannerdw's tracks

    Coming soon: stuff. yay
    Share this post

  2. #2
    nannerdw's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    1,268
    Picking up right where I left off in Evo. I hit a barrier with framerate issues on my last attempt at this skill game, so I'm doing as much as I can to optimize for performance this time.

    Share this post

  3. #3
    mutetus's Avatar Trials Developer
    Join Date
    Dec 2013
    Location
    The land of fin.
    Posts
    859
    Looking promisingly mysterious
    Share this post

  4. #4
    nannerdw's Avatar Senior Member
    Join Date
    Jan 2013
    Posts
    1,268
    If you want to try out the game this is based on, it's going to be similar to the Marathon Mode from a freeware game called Marble Crazy.

    I've got the controls working nicely.





    It looks like a cluttered mess in the editor, but it's actually quite organized (in an Excel spreadsheet. lol)



    Since the programming tools don't allow you to return to the caller after executing a function, I made my own "Call" and "Return" functions using switch filters, and assigned unique numbers to the methods in all of my functions. Then I can just call a sequence of methods from a list of numbers stored in one row of a 2d array. Each row in the array corresponds to a different event, like "Initialize Round," "Move Cursor," etc.

    It makes it super easy to make changes, it prevents code duplication, and the performance impact is negligible (as long as I'm not trying to iterate through the Call/Return functions in the middle of a fast loop or something). With my current setup, I don't think I'll really need the "Return" function, though, because everything returns to the same place, the "NextMethod" method of my "Event" function.

    Also, I placed everything that's connected to the Call/Return functions onto its own layer. That way I can just hide the "CallReturn" layer when I'm not working on it, and it gets rid of most of the visual clutter.
    Share this post

  5. #5
    IImayneII's Avatar Senior Member
    Join Date
    Mar 2014
    Posts
    1,060
    can't wait for a fun skillgame on pc
    Share this post