GithubHelp home page GithubHelp logo

Use as a library about ludo HOT 6 CLOSED

libretro avatar libretro commented on June 15, 2024
Use as a library

from ludo.

Comments (6)

RobLoach avatar RobLoach commented on June 15, 2024

What are you trying to do? Trying to make a libretro core using Go? Trying to make a game using libretro and Go?

from ludo.

blankenshipz avatar blankenshipz commented on June 15, 2024

@RobLoach I'd like to use the API to play games (cores?) with Machine Learning techniques.

from ludo.

kivutar avatar kivutar commented on June 15, 2024

You can do this either using the low level https://github.com/libretro/ludo/tree/master/libretro package or using the higher level packages like core input and video.
I think you don't need menu, savestates, settings, options...

from ludo.

blankenshipz avatar blankenshipz commented on June 15, 2024

@kivutar Are there some examples or tests that exist that might point me in the right direction on how to load a core and begin to interact with it?

from ludo.

kivutar avatar kivutar commented on June 15, 2024

Yes, the integration tests core_test.go.

core.Load to load the libretro core.
core.LoadGame to load the game.
then state.Global.Core.Run()

See the runloop in main.go too.

A good exercice to understand a codebase is to remove some code. So try to clone Ludo and remove features you don't need.

from ludo.

blankenshipz avatar blankenshipz commented on June 15, 2024

@kivutar Awesome! This should get me started; I'll open different issues if I have specific questions.

Thanks again.

from ludo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.