Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add core native native native-arduino html5 (and html5 variations) #38

Open
2 of 4 tasks
Tracked by #56
RodrigoDornelles opened this issue Aug 6, 2024 · 0 comments
Open
2 of 4 tasks
Tracked by #56
Labels
Core Team responsibility for project maintainers. difficulty: expert require low level experiencie
Milestone

Comments

@RodrigoDornelles
Copy link
Member

RodrigoDornelles commented Aug 6, 2024

create a specific core for native implementations where lua is being embedded in a compiled program
(C, C++, WebAssemby...)

callbacks

native_callback_loop(std, game)
native_callback_draw(std, game)
native_callback_load(args)

draw functions

native_draw_flush()
native_draw_start()
native_draw_clear(color)
native_draw_color(color)
native_draw_text(x, y, text)
native_draw_font(name, size)
native_draw_line(x1, y1, x2, y2)
native_draw_rect(mode, x, y, w, h)
native_draw_poly(mode, verts, x, y, size, angle)

set / get functions

native_set_input(key, value)
native_set_game(key, value)
native_set_title(window_name)
native_get_fps()
native_get_dt()
native_get_poly_modes()
native_get_http_handler()
@RodrigoDornelles RodrigoDornelles added the difficulty: expert require low level experiencie label Aug 6, 2024
@RodrigoDornelles RodrigoDornelles changed the title feat: create core sdl feat: create core sdl as native? Aug 6, 2024
@RodrigoDornelles RodrigoDornelles changed the title feat: create core sdl as native? feat: create core native Aug 23, 2024
@RodrigoDornelles RodrigoDornelles added the Core Team responsibility for project maintainers. label Aug 23, 2024
@RodrigoDornelles RodrigoDornelles added this to the 0.0.6 milestone Aug 23, 2024
@RodrigoDornelles RodrigoDornelles changed the title feat: create core native feat: add core native native native-arduino html5 (and html5 variations) Aug 23, 2024
RodrigoDornelles added a commit that referenced this issue Aug 24, 2024
RodrigoDornelles added a commit that referenced this issue Sep 12, 2024
* ci: upgrade lua in CI to 5.4.7
* ci: dont use secrets in thirdy PRs
* feat: fps_counter making the code less complex
* feat: add core native #38
* feat: support table in module gameload
* feat: improve inputs in html5 for TVs
* feat: add support to utf8 in ginga #65
* feat: asyncronous curl in love #42
* feat: vendor json rxi from https://github.com/rxi/json.lua
* fix: some errors in lib fps #51
* fix: lib http util url_search_param
* fix: no content length in header #59
* fix: ginga correct params in http protocol
* fix: http module ginga not supporting ipv4 url #53
* fix: color alpha in gray colors
* fix: align renders in example launcher
* docs: add new cli help message (#64)
* style: refact http_util.create_request #52 #65
* style: making the code less complex in the fps_counter (#51)
* change: move csv to third_party #32
* change: move native_draw_poly to native_dict_poly poly2 in html5 core

---------

Co-authored-by: Lucas Noal Potter <[email protected]>
Co-authored-by: Yago Crispim Rodrigues Souza <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Team responsibility for project maintainers. difficulty: expert require low level experiencie
Projects
None yet
Development

No branches or pull requests

1 participant