freemin7

Ludum Dare 47

Pushing limits - Learning to write a game in Julia - help welcome

Writing a game in Julia

Julia is a programming language built for scientific computing. However that didn't prevent people from building Love2d, PyGameZero like engines. Julia has an excellent library for solving differential equations. They are an elegant and powerful formalism to describe dynamical systems. I will develop and host the game on GitHub. I am also going to stream (some of) the development on Twitch.

Flickeringemwith/emSDL2_binding.gif

Challenges

  • I have not figured out how to produce a ship-able binary. (But i am working to figure it out)
  • I could use help with art and music
  • I don't have a windows pc. So if you have one and could test things there that would be great.
  • Julia is a quiet unknown language in game development circles. If you want to learn it during the jam, i will help you.
  • Differential Equations are an odd way to think about games. But i will teach you all the concepts you need to know if you are interested.
  • I have no idea how to do 3d graphics. So unless you did 3d graphics in C, C++ using SDL2, it's going to be a 2d game

You are welcome to join my odd effort. If we manage to ship a game that would be great but i see this primarily as a learning opportunity for all of us.

Please join my efforts by sending me a friend request and commenting below. Let's learn new stuff.

Thoughts on fixed window size for programs

Some game engines require you to set a screen size on start-up. How do you pick those?

What screen size is considered safe today?

My secret strategy if i wouldn't have found someone to help with music.

Finding music you can use freely is not quiet easy.

Composing is a skill not many have.

I found this website MuseTree which talks to MuseNet hosted by OpenAI which tries to come up with 4 ways of continuing a song. I am not sure their servers are up for many people hitting it at once. So if it worked you for you thank @OpenAI mention #LDJAM and maybe share the end result.

Here is a short overview of what kind of music it can generate.

https://www.youtube.com/watch?v=dSrvtaCGkkc

Tips

  • You can switch genre
  • Right click's on nodes to generate new continuations are sometimes buggy.
  • Be aware of the temperature option, a low temperature makes the AI less prone to jump between musical ideas.
  • You will have to record your browser sound to get it in an usable format AFAIK

Problems with SDL2

Help wanted

i am using a SDL2 library built by someone else (actually a binding). However they seem to have messed up the building of ALSA or LIBSDL2 in a way that initalizing SDL2 with the sound module active produces a file not found error:

ALSA lib dlmisc.c:285:(snddlobjcacheget0) Cannot open shared library /workspace/destdir/lib/alsa-lib/libasoundmodulepcmpulse.so ((null): /workspace/destdir/lib/alsa-lib/libasoundmodulepcm_pulse.so:

Depending on what work around i (don't) try i also get this error instead.

ALSA lib conf.c:4048:(sndconfigupdate_r) Cannot access file /workspace/destdir/share/alsa/alsa.conf

It looks like something of the build environment leaked into the binary. Do you have ideas how to fix it or where the build environment might have slipped in?

Issue tracking this problem where my dependencies are built

Help from anyone competent in C or C++ would be appreciated deepy.