Update Pax Britannica

Discussion in 'Software Releases' started by sm0kew0n, Jun 23, 2018.

  1. sm0kew0n

    sm0kew0n Very Active Member

    Joined:
    Apr 13, 2016
    Messages:
    325
    Location:
    Earth
    -------
    Pax Britannica is a one-button real-time strategy game by No Fun Games. Up to four players battle it out underwater, struggling to be the last one standing!

    The A, F, H, and L keys control the four players, and the escape key quits. Holding down the button spins the needle on the radial menu in the middle of the player's factory ship. The needle will only travel as far as the player's current resources allow. Resources (gold? seaweed? who knows!) accumulate over time.

    Releasing the button creates a ship that corresponds to the quadrant that the needle is pointing at. Ships you spawn fight automatically using the latest in artificial aquatelligence technology. The player who keeps their factory ship alive wins!
    -------

    This runs slow on pandora GHz but I feel like there is room for better. It feels like Flow and Homeworld, which is odd.
    Edit: Better speed with luajit.

    Repo - http://repo.openpandora.org/?page=detail&app=pax-britannica-SW07&dp=true
    Source - https://github.com/henkboom/pax-britannica

    #####
    Change log -

    Build 1 -
    Speed improvements using luajit

    Build 0 -
    Initial build
     
    Last edited: Jun 28, 2018
    Tags:
    _jr_, FBnil, shaddim and 1 other person like this.
  2. shaddim

    shaddim Member

    Joined:
    Apr 24, 2016
    Messages:
    181
    thanks, this is an quite nice game for single button usage only! Wasn't aware of this class of games :)
     
  3. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,280
    Location:
    France, near Lyon
    Nice.

    If I may, you should not export LIBGL_FPS=1 in the runscript.

    About slowiness, did you try LIBGL_BATCH=1? Also, did you used luajit instead of regular lua? (I don't remember if it's possible with this one, as only lua 5.1 is availble in jit form).

    Also, using (X) or some other Pandora buttons instead of 'A' could be nice. (and Left for player 2?).
     
  4. sm0kew0n

    sm0kew0n Very Active Member

    Joined:
    Apr 13, 2016
    Messages:
    325
    Location:
    Earth
    Of course you may, I appreciate the pointers.

    About the FPS=1, I was using it to discover how fast it was running, it doesn't need to be there. I will try BATCH=1 and look into luajit. I'd really like to improve this game so thanks.
     
  5. sm0kew0n

    sm0kew0n Very Active Member

    Joined:
    Apr 13, 2016
    Messages:
    325
    Location:
    Earth
    Update: Compiled with luajit-2.1, thanks @ptitSeb
     

Share This Page

Loading...