Resources and links - beyond-all-reason/Beyond-All-Reason GitHub Wiki

Table Of Contents:


  1. For Users
  2. Software/Game-Documentation
  3. Testing & Performance Profiling
  4. Art, Promotion, Content Creation
  5. Modeling
  6. Animation








For Users

BAR Offline LAN

Offical BAR Website

https://www.beyondallreason.info/

Offical BAR Discord

  • This is where our community is, and where we are, for we are a part of our community and playerbase.
    You are most likely to get help of whatever varity you may need here, ranging from game issues, to getting guidance on contributing to the project.
    https://discord.gg/beyond-all-reason








Software/Game Documentation:

Code Documentation

General Code Information









Testing Performance Profiling

Testing & Framework / Documentation

A Study on Lua Performance

Gadget Profiling

Widget and Unsynced Gadget Profiling

  • For Widgets we have a Profiler Widget, to acess it:

    1. open the widgets menu: /widgetselector, or /F11 if you have previously used the widget selector
    2. Find Widget Profiler and/or Profiler Histograms

  • Alternatively, you can use the GetTimer or GetTimerMicros to measure time to complete of the function

    [EXPAND] Sample Code with GetTimer/GetTimerMicors

    Code Written by Badosu:

    -- Get the timer
    local spGetTimer = Spring.GetTimer
    
    -- Try to swap the timer for a more accurate one
    local highres = nil
    if Spring.GetTimerMicros and  Spring.GetConfigInt("UseHighResTimer", 0) == 1 then
    	spGetTimer = Spring.GetTimerMicros
    	highres = true
    end
    
    function widget:Update()
    	local startTimer = spGetTimer()
    
    	update()
    
    	Spring.Echo('Update time:', Spring.DiffTimers(spGetTimer(), startTimer, nil, highres))
    end
    








Art, Promotion, Content Creation

Promo Kit

Green Screen Effect









Modeling









Animation

Code editing:

Documentation:








⚠️ **GitHub.com Fallback** ⚠️