Giter Site home page Giter Site logo

update zig template about wasm4 HOT 5 OPEN

Ruulul avatar Ruulul commented on May 28, 2024
update zig template

from wasm4.

Comments (5)

Ruulul avatar Ruulul commented on May 28, 2024

hmm, poking the repository, I see the master branch already changed the template to use executable (and with a better way to do it!), it is just not on the release version yet

from wasm4.

peterhellberg avatar peterhellberg commented on May 28, 2024

@Ruulul No need for an entrypoint:

exe.entry = .disabled;
(after the change to using addExecutable)

As a small sidenote, I have two command line tools that I use to start projects for TIC-80 and Sokol Zig:

Maybe I should also create something like that for WASM-4 :)

Note

I have used the new build.zig in a game jam submission ✨ and it worked out quite well.

I guess we could have a zig build run command similar to what I have here: https://github.com/peterhellberg/tic-init/blob/f4a6aca706dc6734952635444067dc9251134d92/content/build.zig#L32-L48 πŸ€”

from wasm4.

Ruulul avatar Ruulul commented on May 28, 2024

in the process of poking your links and the build documentation, I learned so much more about the capacities of the zig build system

I replaced the invoke.zig file with a simple snippet
https://github.com/Ruulul/wasm4evolution/blob/281176497e5ae7f23216ea80a9df6d1073828b02/build.zig#L23C1-L30C38

gonna soon publish this small simulator to wasm4, just need to adjust some things first

from wasm4.

Inve1951 avatar Inve1951 commented on May 28, 2024

I just published my zig-wasm4-starter-kit which might interest you.

from wasm4.

peterhellberg avatar peterhellberg commented on May 28, 2024

And I have a little tool myself over at https://github.com/peterhellberg/w4-init which I've so far used in a few small experiments ✨

from wasm4.

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.