Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

Game Development

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

slazer2au , in What is a collision?
ZILtoid1991 OP , in How does someone change the Alt-key behavior under Windows?

Found the solution, I have to put the following lines into the part that handles/intercepts the events related to the window itself:

case WM_SYSCHAR, WM_SYSDEADCHAR, WM_SYSKEYUP, WM_SYSKEYDOWN:
	return 0;

Otherwise all event that goes through this window goes to DefWindowProcW(); even if interrupted.

blazebra ,

If you’d have any user input, this would break it. Even if you emulate it using key codes later, localisation will be hard

ZILtoid1991 OP ,

I'll be letting though certain keypresses in the future, and will only be blocking the alt key from hanging my app and such. It also blocks the Alt+F4 key combination and co.

blazebra ,

The test of behaviour I tell is an input field, allowing to type letters of European languages like ü, ä, ą and so on. I’m quite disappointed when I can’t input something like „Łabądź” as a player name, but able to edit in memory or in save file.

Also I prefer to have Alt-F4 as an emergency exit

blazebra ,

One more thing I forgot to say. If default function of the alt key is to open menu, that it’s defined somewhere in your game, settings or the engine. If you try default loop in win32 api app with an empty window, alt key does nothing and you need actually bind it to change its behaviour to show menu. So I recommend to blame settings or an engine first before disabling events on so low level.

Also such way of disabling events would prevent you of porting your app to other OSes like Linux and macOS

YeetPics , in Did video game investment hit rock bottom, and is it ready to go back up?
@YeetPics@mander.xyz avatar

No, video games are a great investment and everyone loves venture capital in games.

Anyway, here's call of duty 87, we removed all the stuff you liked and added bugs back in. Money please.

aBundleOfFerrets , in Did video game investment hit rock bottom, and is it ready to go back up?

Video game investment hits rock bottom and excellent indie games gobble up the space, no loss keep the investment down please

goatbeard ,

The loss is job security for existing developers

Contingencyfork ,

From what I've been reading the past few years, job security for developers doesn't exist beyond the current game they're working on.

henfredemars ,

It’s slowly changing with the formation of unions.

Mmagnusson , in (android) Any good board game tutorial you could recommend?

Hi. I work at a conpany that makes digital card games.

Start by making the rules work. We generally use a callback implementation. We have a class that handles the game and enforces rules and dictates flow, classes that represent players, and then a rendering class.

The game will call relevant functions to prompt the players for an action, passing the game state with them. The players respond with what they want to do. The game calls the renderer to draw it out, and the renderer will then call the passed callback action. Repeat until the game is over.

When a human is involved then you just hook actions to buttons and pieces and clickable elements that the game catches and responds to if needed.

Really you can use any principle or design paradigm you want, but since you are making a "simple" turn based game just having it simple and well segmented is an easy way to keep a handle on it.

rclkrtrzckr OP ,

Thanks for this. I realise again how different this is from writing business applications...

Maddier1993 , in The GBA Game Jam 2024 is back after a 2 year hiatus!

Trying to figure out how to install butonic on my Endeavor VM. Looks like I might have to use the debs or rpms or build from source.

breadcodes , (edited ) in Screenshot Saturday!

Sorry for no screenshots, just wanted to share progress.

I entered my first game jam a couple days ago, engineless, and I'm making progress! I only have demo scenes currently, but actors (including a player), map rendering, scene states and contexts, etc are all working so far! Next up is collision!

I'm making an adventure game almost entirely inspired by a popular Nintendo franchise. Specifically ALttP.

I feel bad for ripping off a game idea, but there's not enough games that scratch that itch for me!

TheLongPrice ,

Sounds cool! What are you using instead of an engine?

breadcodes , (edited )

I'm doing the GBA Jam 2024, so it's for the Gameboy Advance. There is a manager library called Butano that's made the process easier, which could be an engine in a really loose definition.

Besides Butano, I'm just writing all the other things that engines like Unity/Unreal usually manage as part of the project. A 2D top down adventure game is a good first intro because there's not a lot that you need a dedicated engine for, and it's actually been a breeze compared to trying to make something in the Unity editor.

ClemaX , in (android) Any good board game tutorial you could recommend?
@ClemaX@lemm.ee avatar

You could start with a multiplayer server that handles the game logic, and a command line client that that can interact with it, create a game room and invite someone to it.
You can handle realtime communication with socket.io.
Once you have the client and some game rules, you can implement the client on a frontend using a canvas or game engine.
You could then add the bot opponents using simple random number generation and some basic strategies.

rclkrtrzckr OP ,

Are there patterns for rules and logic?

ClemaX ,
@ClemaX@lemm.ee avatar

I think the command pattern would be useful. The user requests to perform a command. The command implementation can define preconditions and actions that mutate your game state.

rclkrtrzckr OP , in (android) Any good board game tutorial you could recommend?

For those interested: https://dogapp.ch/ - not affiliated at all.

DumbAceDragon , in What's the best game engine for me?
@DumbAceDragon@sh.itjust.works avatar

I'd point you to godot but I'm pretty biased because I just really love godot.

I will say though that depending on the scope of the project you have planned, it might not be best to make your dream project your first one. Test the waters with a few really small games first, and then once you're comfortable and know your tools well enough do your big idea.

Penbrook OP ,

You're right. I looked at Godot and it seems really good.

Sunny , in What's the best game engine for me?
@Sunny@slrpnk.net avatar

Definitely Godot, if you want a quick overview of it and or an introduction course it's very much worth checking out Brackeys on YT. He is an excellent teacher.

steventrouble , in What's the best game engine for me?

[Thread, post or comment was deleted by the author]

  • Loading...
  • Kissaki ,
    gwheel , in GameMaker in 2024 Road Map

    I haven't used GM since studio, but support for other languages than GML is cool to see

    kakes ,

    I saw Javascript and thought "That would be pretty neat."

    Then I saw the potential for C# and thought "O.O".

    Not sure I'll ever actually go back to using GameMaker, but if I can use C# I'll at least be considering it.

    NocturnalMorning , in What's the best game engine for me?

    Godot is my goto engine for 2D and 2.5D stuff. It's fairly easy to pick up, it's free, and open source, and there's plenty or tutorials for it.

    It uses GDscript which is a python like language, so it's not too difficult to learn. That's usually my recommendation to newbies.

    But, I'd say try different things, and you'll figure out what you like personally. You may find something totally different suits your personal taste and interests best.

    Penbrook OP ,

    I think Godot is what I'll go for. Looking in to it, it seems like it'll be pretty forgiving.

    yonder ,

    I found that they had some nice starting tutorials in their documentation. I found they got me up and running.

    goatbeard , in What's the best game engine for me?

    You may like GDevelop

    Penbrook OP ,

    Can you tell me a little more about it? Maybe why it's better than other options?

    goatbeard ,

    I haven't used it but it is advertised as no code. Might be good if you don't know how to code

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • gamedev@programming.dev
  • incremental_games
  • meta
  • All magazines