home.social

#raylib — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #raylib, aggregated by home.social.

fetched live
  1. raylib 1.0 was released on November 2013, that's 13 years ago! 🚀

    It's been an adventure and many things happened in all this time, world and tech changed quite a bit... but I believe #raylib still has a place in the market...

    Unfortunately, still struggling with project sustainability, trying to find ways to finance the project... the eternal deal with open-source...

    Hope you enjoyed raylib along all those years and hope you keep enjoying it for many more years! 😄

  2. Yes, once again I'm porting the P1Xel Editor to something else. I'm testing what will be the best for me.

    So fat, this wins: pure C + Raylib. So far this is 100KB + raylib.

    The MVP is ready, now remaining functionality and few additional QoL improvements.

  3. ️🕹️ Title: openjack
    🦊️ Idea: A libre game of Blackjack against the house
    🏡️ -
    🐣️ github.com/dannyheskett/openja
    🔖 #LinuxGaming #CardGame #BlackJack #Raylib
    📦️ #Libre #Bin
    📕️ lebottinlinux.vps.a-lec.org/LO

    🥁️ Update: release-8➜19
    ⚗️ Signific. vers. 🦍️
    📌️ Changes: github.com/dannyheskett/openja
    🦣️ From: 🛜️ github.com/dannyheskett/openja

  4. Testing the scripting feature: A script alongside the level allowing to produce speech bubbles or sound effects to make the levels feel less generic.
    This also means that I have to reevaluate the levels I already have. This is how I keep myself busy!

    #gamedev #indiedev #raylib

  5. Directo de desarrollo!!! vente y hablamos un rato que continuo con una herramienta para NES usando C.

    #gamedev #nesdev #raylib

    twitch.tv/makeclassicgames

  6. I wanted to do some screenshots when I discovered that some boxes are now broken: They are comically huge.

    #gamedev #indiedev #solodev #raylib

  7. New UI vs old UI: This is still very much a work in progress; Making new graphics, swapping out the graphics in the code, coming up with new icons and concepts to have a more modern experience...
    There is still a lot missing, but steady progress makes the miles.
    #gamedev #indiedev #solodev #raylib

  8. 🕹️ Title: opencheckers
    🦊️ Idea: A libre game of checkers (American checkers)
    🏡️ -
    🐣️ github.com/dannyheskett/opench
    🔖 #LinuxGaming #Strategy #BoardGame #Draughts #Raylib
    📦️ #Libre #Bin
    📕️ lebottinlinux.vps.a-lec.org/LO

    🥁️ Update: release-6➜20
    ⚗️ Signific. vers. 🦍️
    📌️ Changes: github.com/dannyheskett/opench
    🦣️ From: 🛜️ github.com/dannyheskett/opench

  9. Handcrafting icons for my game... 127 already and still missing some 😩

    #gamedev #indiedev #solodev #raylib

  10. Worked the whole day on the new UI redesign of the programming panel. New instruction tokens, new way of rendering them, new connection lines for goto, colors for rows... Exhausting.
    But I think I can move on with the other panels now. Tomorrow.
    #gamedev #indiedev #solodev #raylib

  11. I think this trick could be interesting for gamedevs and artists:
    I am now drawing the goto jump connections and the way I do it is ... surprisingly simple. 🧵

    #gamedev #indiedev #solodev #raylib

  12. Directo de desarrollo!!! vamos con nuestra aplicación para trabajar con NES hecha con Raylib y RayGui.

    #retrodev #gamedev #raylib

    twitch.tv/makeclassicgames

  13. Triggered by the UI redesign I am trying to work out now, I started questioning the way how the token based programming work. So far, an instruction is the token + instruction icon.
    But now I am looking into using the full token shape instead.

    #gamedev #indiedev #solodev #raylib

  14. I am looking into updating the UI layouts of my game. Which variant do you think is the better direction for my game?

    #gamedev #indiedev #solodev #raylib

  15. It is Halloween and the mini series I made is coming to an end - I hope you enjoyed it 👻
    The full video can also be seen here, in case you want to see it from start to end: youtu.be/Y6N7hOl7i9k
    #gamedev #indiedev #solodev #raylib #halloween

  16. Part 3 of my little #Halloween story: B0B was led to the old manor's graveyard, and the ghost sheep is quite unmistakably wanting him to go into the crypt. If not now, when will you learn how to be scared, B0B? 👻

    #gamedev #indiedev #solodev #raylib

  17. Directo de desarrollo!!! Hoy vamos a tratar de continuar desarrollando nuestros proyectos y pasar un buen rato!!

    #retrodev #gamedev #raylib

    twitch.tv/makeclassicgames

  18. Here is my second Halloween short video. I will share more videos the next days, so if you want to know what will happen next, stay around 👻!

    So B0B is out of the water, but lost his orientation. And it not going to get better anytime soon...

    #gamedev #indiedev #solodev #raylib

  19. Here is my first Halloween short video. I will share more videos the next days, so if you want to know what will happen next, stay around 👻!

    I am sure B0B will learn what it means to be scared.

    #gamedev #indiedev #solodev #raylib

  20. #Flatpak is a cool idea, but in practice it is not great for dev tools. Things break because of the sandbox, and it's not clear how to fix that. I tried running #VSCodium from a Flatpak, to develop a game using #raylib, and it fails with an error debugging the game executable: unable to get access to X11 display. I tried granting the flatpak access to all sorts of things, including X11, etc, but to no avail. Regular, non-flatpak VSCodium works fine.

  21. A scene I am working on for Halloween.
    Btw, it is #wishlistwednesday!

    My game's demo can be found on Steam here: store.steampowered.com/app/395
    You have to program up to 3 bots using a primitive programming language to solve puzzles.

    #gamedev #indiedev #solodev #raylib

  22. Now that I have buttons that activate when an area is entered, I can script events in the level.
    Like the sign post that is falling over here, just when B0B is looking out to get oriented.

    Halloween is not going to be a fun time for B0B!

    #gamedev #indiedev #solodev #raylib

  23. I wanted to make a sliding window and use it as a door (new puzzle feature)

    Seeing it, I realize that this looks too much like something else 🫠

    #gamedev #indiedev #solodev #raylib

  24. Directo de desarrollo!! Volvemos con la gran Dreamcast. Vamos a ver que podemos hacer con esta gran consola.

    #gamedev #retrodev #dreamcast #raylib

    twitch.tv/makeclassicgames

  25. Preparing a series of short videos for Halloween. A small story told in the world I am building in my game: It starts out with B0B saying that he doesn't know what it means to be scared...

    But he will soon find out 👻

    #gamedev #indiedev #solodev #raylib

  26. The fact that I haven't had the idea yet to add a coffee cup into my game so far, shows how little amounts of coffee I drink (approximately less than 0.1l within over 40 years).

    #gamedev #indiedev #solodev #raylib

  27. I was wondering what to do for Halloween in my game and maybe I will build a little laboratory where an aparatus is showing what the sheep is "thinking"...
    #gamedev #indiedev #solodev #raylib

  28. This turns out to be more valuable than I thought it would be: I can hide now hints within the level! I am not sure if this will help players, but I believe this is a meaningful extension to what I already have. Really happy I added this!
    #gamedev #indiedev #solodev #raylib

  29. Directo de desarrollo!! hoy continuamos con Raylib y las interfaces de usuario (RayGui). Acercate y charlamos!!

    #gamedev #gui #raylib

    twitch.tv/makeclassicgames

  30. I am trying to address the problem that factory elements don't really communicate well what is being produced. My current attempt is to have monitors that can be configured to show just any text. Since text can display sprite graphics, this kinda would work...

    #gamedev #indiedev #solodev #raylib

  31. Directo de desarrollo!!! hoy vamos a tratar de hacer una aplicación web y de escritorio con interfaz de usuario usando #raygui de #raylib.

    twitch.tv/makeclassicgames

  32. Hoy hemos trabajado con Dreamcast y hemos portado nuestro juego de la "escena 3D" a Dreamcast; he aquí una captura desde el emulador hecho con #raylib para #dreamcast.

  33. So, using nim+naylib meant that my game automatically compiles for OpenGL 4. This would be fine, except for the fact that there is a significant number of devices that only support up to OpenGL 2.1, like one of my android tablets and even a not-so-old extra computer I have access to, which has a 2nd gen i7 processor and no dedicated graphics. Those devices simply won't run the executable, even if they can compile it.

    So, time to learn how to use C bindings in Nim, recompile Raylib from source so it targets OpenGL2 and use that. Or maybe check how to use raylib 6's software rendering target, so it'll run "anywhere".

    I won't be using C, at least not yet, mostly because Nim makes it much, much easier to deal with strings and dicts (maps/tables)

    #programming #raylib #nim
  34. This is probably the weirdest, stupidest self-own/bug I have managed to cause yet.

    The first image, with the blue head, is not properly animating/interpolating between side facing and 3/4 facing. HOWEVER!, if I set the horizontal (x) scale to any value other than a round 1, IT WORKS! And by any other value, I mean that it fucking works when it is 1.001, but does NOT work when it's 1 or 1.0.

    Of course, such discovery was completely accidental, because I was trying to figure what the fuck was going on that caused only that pair of animations to fail. For making the gifs, I was going to scale up the head, but when it worked I was... Don't even know the proper word here. Dumbfounded? Anyway, I couldn't believe that shit. Scale was fucking my animation? HOW!??

    So, double checking my code, it led me to my transformPolygon function, which I got tricksy in trying to avoid unnecessary math.
    var vxy = rotatePoints(pol.rotation, pol.cppolygon[4])
    if (pol.polygon[4].x == (vxy.x * pol.scalex) + pol.x):
      return
    else:
       #do the actual scaling and rotation of every vertice

    The idea here is solid, I don't need to recalculate *every single vertice's position* if they didn't change. Just because I'm unlikely to hit a number of vertices that might actually cause a significant impact on framerates isn't reason for me to be sloppy. With an uncapped framerate, not doing that check and only applying the math to around 40 vertices in total, drops the FPS from ~2700 to ~2500. Or, a better measure, this calculation adds 0,00003 seconds (0,03ms) to compute. Supposing a linear growth, 1k vertices would take 1 extra millisecond doing unnecessary compute. I doubt my game will even get that many vertices on screen, but I digress.

    Back to the function, this was something I half expected to happen there, which is why I thought "eh, just checking the position [4]'s x ought to be enough". Well, guess fucking what, past me, it wasn't. Right now, I changed the if to the following: if (pol.polygon[1].x == (vxy.x * pol.scalex) + pol.x) and (pol.polygon[1].y == (vxy.y * pol.scaley) + pol.y):

    Even that still has a chance to cause this problem again, although this time I'll know where to look. Maybe tomorrow I'll think of a better solution, maybe a flag variable somewhere.

    #programming #gamedev #raylib #vectorgraphics #nim #naylib
  35. 🕹️ Title: openjack
    🦊️ Idea: A libre game of Blackjack against the house
    🏡️ -
    🐣️ github.com/dannyheskett/openja
    🔖 #LinuxGaming #CardGame #BlackJack #Raylib
    📦️ #Libre #Bin
    📕️ lebottinlinux.vps.a-lec.org/NW

    🥁️ Update: release-7/8
    ⚗️ Signific. vers. 🦍️
    📌️ Changes: github.com/dannyheskett/openja
    🦣️ From: 🛜️ github.com/dannyheskett/openja

  36. Finally got some time to program again.

    One of the things I did today was separate some of the stuff that is working properly into separate files that are included, decluttering the main file.

    Also put the z-index ordering to use, 2 function calls that return the entire list of polygons, then orders it and, finally, draws them.
    At first, it wasn't working, which was weird because the logic was fine. Then I figured the reason: I wasn't calling the function that returned the whole list of polygons, only the one for drawing 🤦‍♂️

    Anyway, call the function, it enters an infinite recursive function call loop. Welp, I forgot a little detail to properly go through a polygon's children. With that fixed, everything finally worked!

    One detail that I suspect is raylib's fault is that, at 60FPS or less, there's a small delay in movement for one of the children polygons. When I uncap the framerate, the delay isn't visible.

    The compiled executable is currently taking 41.5MB of RAM, which is more than the 36.8MB of the nim r main.nim. My guess is due to lack of optimization flags, though everything is still smooth enough to run even on 20yo hardware, I suppose.

    It's also funny how long it's taking me to implement something that's ready out of the box in pretty much every ready engine, like Godot or Unity. Not to worry, I'm not in a hurry. #programming #raylib #gamedev #vectorgraphics
Share on Mastodon

Enter the server where you have an account.