DEV Community

Camilo
Camilo

Posted on

1

Contributed to Dome Game Engine for This Hacktoberfest

For this Hacktoberfest I decided to contribute to the Dome Engine. A minimalist game engine that is written in C that uses the Wren Programming Language for scripting.

These were the accepted contributions:

  • Added Wren Version to the command: dome -v.
  • Removed unused code for ffi module.
  • Added a new variable to Window for getting the FPS.

Also there were two additional PRs that were not accepted because they required additional though not related to code.

  • Added JSON support: This PR could not be accepted since its preferred to use raw C to generate the Map data structure, instead of Wren. But since Wren does not have support for Map construction until version 0.4.0 this module was delayed until then.

  • Added command line arguments to be accesible to Wren code: This was delayed because the optparse.c file has some arbitrary way of dealing with argv. And it was not clear the best way to interpret which items belongs to the engine arguments and which belongs to user custom arguments.

Sentry image

Make it make sense

Make sense of fixing your code with straight-forward application monitoring.

Start debugging →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay