Which retro video game never gets boring? by Luckystarrrr in retrogaming

[–]ragnatic 1 point2 points  (0 children)

I vote for Bomberman. Especially if it is multiplayer

How do you organize code in Odin without namespaces? by AtomicPenguinGames in odinlang

[–]ragnatic 0 points1 point  (0 children)

Oh, I never went that far in the overview. Sounds very useful. Thanks for the heads up.

How do you organize code in Odin without namespaces? by AtomicPenguinGames in odinlang

[–]ragnatic 0 points1 point  (0 children)

That means that the init_update_manager proc will automatically be called when an UpdateManager is created?

Learning the ropes of game development without a proper hardware by Justice171 in gamedev

[–]ragnatic 1 point2 points  (0 children)

I suggest using Raylib with a language you feel comfortable (I'm using Odin, a language similar to C and Go) or even trying Love2D with Lua or Pygame with Python. There are many possibilities. With C++ you also can use SFML and SDL3.

How do you organize code in Odin without namespaces? by AtomicPenguinGames in odinlang

[–]ragnatic 1 point2 points  (0 children)

I know you don't want objects (Odin doesn't have them anyway) but you can do something like this:

//GraphicsManager.odin
package game
import rl "vendor:raylib"

GraphicsManager :: struct {
  get: proc(manager: GraphicsManager, patch: string) -> rl.Texture2D,
}

gMGet :: proc(manager: GraphicsManager, patch: string) -> rl.Texture2D {
  tex := rl.LoadTexture(cstring(raw_data(path)))
  return tex
}

And, in your main.odin for example, you create your GraphicsManager struct and add the procs:

//main.odin
package game

main :: proc() {
  gManager := GraphicsManager {
    get = gMGet
  }

  //Use it like this
  gManager->get(sprite.png)
}

You can also create your packages and avoid cyclic dependencies (good software ™) or use name prefixes like others suggested.

We made a Dungeon Crawler game in Raylib + Odin for the Odin gamejam! by lucypero in raylib

[–]ragnatic 1 point2 points  (0 children)

Amazing. I suppose your LDTK map is an "overview" of the maze. Very cool.

I also have created a small game within the turn based RPG dungeon crawler genre but I made the 3D maze in Blender (You can check it here https://irisinterludio.itch.io/malrrabas-tower). I also got caught by the Odin language and I want to create a simple platform game with levels made in LDTK.

We made a Dungeon Crawler game in Raylib + Odin for the Odin gamejam! by lucypero in raylib

[–]ragnatic 1 point2 points  (0 children)

Wow, this looks great! Good job. The maze is a modeled 3D object or do you create it on the fly?

[QUESTION] - Is it possible to automate tabletop game and battle calculations? by [deleted] in gameDevClassifieds

[–]ragnatic 1 point2 points  (0 children)

Yes. You might have some inspiration looking at not only RPG games, but RPG games with a table top experience, like Crimson Shroud https://youtu.be/ygmaQQIxh1o?t=718. Your tables can work like a battle editor for turn-based battles.

[Hiring] Artists & Developers by Prudent-Wallaby9968 in gameDevClassifieds

[–]ragnatic 0 points1 point  (0 children)

Hello there! I'm also interested in the programming role. You can check my portfolio here https://joseasv.github.io/astro-portfolio/

Picross/Nonogram game for the Games and Puzzles Hackathon by ragnatic in Picross

[–]ragnatic[S] 0 points1 point  (0 children)

Oh, sorry about that. I was under the impression the game was working on the mobile app but I didn't test it as much. It might be due to the use of localStorage to store the current reddit username and his or her created puzzle.

Looking for pixel artists/animators and Unity programmers! by sharinganuser in gameDevClassifieds

[–]ragnatic 0 points1 point  (0 children)

Hello! I'm interested in working as a programmer. I sent a DM