101
17
submitted 2 years ago by deaf_fish@lemm.ee to c/gamedev

I just found out that Battle Bit Remastered exists and it supports 254 simultaneous players per game.

I am wondering how that is even possible. Does anyone know of any details on how they achieved it? Are there any resources for making a networking engine capable of supporting that many players?

102
12
submitted 2 years ago by eggman@feddit.de to c/gamedev

I've been going through a course on udemy and learning unreal engine first time ever consistently for the past month, but haven't finished a game just yet, and I don't think I care enough to put any effort on anything other than gamedev. It has been my passion since like 6 years, that's why I left my old job as an Ops engineer; should I continue and work on different projects simultaneously (opengl and unreal) or just stick to one. FYI, I'm not employed atm and would hope to work on gamedev professionally. I appreciate any advice to build my portfolio or any keypoints to get better at gamedev.

tl;dr would learning unreal and opengl simultaneously benefit me to get hired in a gamdev studio or should i stick to unreal and finish some games first?

103
7
submitted 2 years ago by cityboundforest@beehaw.org to c/gamedev

So I'm currently working with Bevy to make a game with a style similar to that of Octopath Traveler. I'm using the bevy_sprite3d crate to render sprites in the 3D space. I'm currently working on writing the code for the battle scene of my JRPG. However, whenever I try to load multiple sprites into the scene, it gives me the following error:

error[B0002]: ResMut<bevy_asset::assets::Assets<bevy_sprite::texture_atlas::TextureAtlas>> in system load_sprites conflicts with a previous ResMut<bevy_asset::assets::Assets<bevy_sprite::texture_atlas::TextureAtlas>> access. Consider removing the duplicate access.

relevant system code

fn load_sprites(mut commands: Commands, asset_server: Res<AssetServer>, sprites_in_scene: Res<SpritesInScene>, mut texture_atlases: ResMut<Assets<TextureAtlas>>, mut sprite_params: Sprite3dParams) {
    // Load first player sprite
    commands.spawn(AtlasSprite3d {
        atlas: texture_atlases.add(get_texture_atlas(&asset_server, sprites_in_scene.player_sprite1 /* u32 */, (37, 38), 19)),

        pixels_per_metre: 32.,
        partial_alpha: true,
        unlit: true,

        ..default()
    }.bundle(&mut sprite_params))
    .insert(AnimationTimer(Timer::from_seconds(3. / 60., TimerMode::Repeating)))
    .insert(Transform::from_xyz(-5., 0., 0.));

    // Load second player sprite if it exists
    if let Some(id) = sprites_in_scene.player_sprite2 {
        commands.spawn(AtlasSprite3d {
            atlas: texture_atlases.add(get_texture_atlas(&asset_server, id, (1, 1), 1)),

            pixels_per_metre: 32.,
            partial_alpha: true,
            unlit: true,

            ..default()
        }.bundle(&mut sprite_params))
        .insert(AnimationTimer(Timer::from_seconds(3. / 60., TimerMode::Repeating)))
        .insert(Transform::from_xyz(-2.5, 0., 0.));
    }

    // Load first enemy sprite
    commands.spawn(AtlasSprite3d {
        atlas: texture_atlases.add(get_texture_atlas(&asset_server, sprites_in_scene.enemy_sprite1 /* u32 */, (42, 42), 21)),

        pixels_per_metre: 32.,
        partial_alpha: true,
        unlit: true,

        ..default()
    }.bundle(&mut sprite_params))
    .insert(AnimationTimer(Timer::from_seconds(3. / 60., TimerMode::Repeating)))
    .insert(Transform::from_xyz(5., 0., 0.));

    // Load second enemy sprite if it exists
    if let Some(id) = sprites_in_scene.enemy_sprite2 {
        commands.spawn(AtlasSprite3d {
            atlas: texture_atlases.add(get_texture_atlas(&asset_server, id, (1, 1), 1)),

            pixels_per_metre: 32.,
            partial_alpha: true,
            unlit: true,

            ..default()
        }.bundle(&mut sprite_params))
        .insert(AnimationTimer(Timer::from_seconds(3. / 60., TimerMode::Repeating)))
        .insert(Transform::from_xyz(2.5, 0., 0.));
    }
}

// The signature for get_texture_atlas:
fn get_texture_atlas(asset_server: &Res<AssetServer>, id: u32, tile_size: (u32, u32), row_num: usize) -> TextureAtlas

Am I doing this wrong? Is there a better way to load multiple texture atlases for the different entities in my battle scene? Thanks in advance!

104
13
submitted 2 years ago by TeaHands@lemmy.world to c/gamedev

Since it's Throwback Thursday and all (and since I'm waiting on a driver install and need something to do for about three minutes), I thought it might be fun to look back at our first ever games!

For me, other than working my way through the old Brackey's tutorial to make an endless ball-rolling game, the first one I ever made and completed was Good Luck With The Lamps, a very basic pixel art platformer where you're just a normal regular bear trying to turn all his lamps off and go to bed.

But the lamps have other ideas! spooky hand wave

This was for the "My First Game Jam" Summer 2020 edition which lasted about two weeks, if it'd been any less there's no way we could have finished. I say "we" because this was actually a joint effort between me and my SO, who afterwards vowed never to work with me again lol.

Things learned:

  • If you're doing pixel art the pixels should probably all be the same size
  • Unity's tilemap system
  • Basic 2d animations
  • How to make a cut scene
  • I hate making platformers!

Ok, your turn!

105
12
submitted 2 years ago by smolgumball@lemmy.world to c/gamedev
106
28
submitted 2 years ago by Ategon@programming.dev to c/gamedev

A game jam for the fediverse community from July 14th to July 23rd! Anyone is welcome to join and all of the main communication about the jam will be taking place within the fediverse

Open sourcing games you make for it is recommended so people in the community can learn from what you did. Youll also be able to show off your game around the fediverse communities while the jams running and after it ends

More information can be found in the linked jam page as well as the button to hit to sign up

Hope you enjoy! :)

Team finder thread

107
26
Fediverse Game Jam (programming.dev)
submitted 2 years ago by Ategon@programming.dev to c/gamedev

cross-posted from: https://programming.dev/post/30886

Hello everyone! The idea of a game jam got thrown out in one of the threads in the godot community and I wanted to throw out the question here to gauge how many people would be interested in having one run!

If so, some things that would need to be determined are when to run it and for how long should it running for. In addition there was the idea of having it be about making tutorial projects to show off what game engines can do and how to do things in them (referring to Godot but can be generalized to all of them). Or we can instead just run a standard game jam and possibly have that as an optional diversifier if people want

For those who don't know what a game jam is its an event where you make a game in a small period of time (2 days, 3 days, 2 weeks, etc. depending on the jam)

Feel free to comment below to give some input on how the jam should be run if you're interested or upvote to show interest in the idea! If enough people are ill set up a jam page

108
41
submitted 2 years ago by raffomania@lemmy.world to c/gamedev

Hey folks, I thought I'd share this game I recently finished. It's intended to be an example project for people learning godot.

Source on Github, and it's on the play store too.

109
10
submitted 2 years ago by Ategon@programming.dev to c/gamedev
110
16
deleted (suppo.fi)
submitted 2 years ago* (last edited 2 years ago) by Skelectus@suppo.fi to c/gamedev

As I looked at documentation, I had the thought of using lemmy as a news/update feed. I made a quick godot project that can fetch a community feed and open posts.

111
10
submitted 2 years ago by QueenOfSquiggles@lemmy.one to c/gamedev

I posted this on my CalcKey earlier but I wanted to make a proper Lemmy post as well to give more to this community.

You can find the original post here.

Feel free to ask questions here, on YouTube, or on my CalcKey account post!

112
10
submitted 2 years ago by hodgepodgehomonculus to c/gamedev

Stemming from late night college days my old standby used to be the TRON Legacy soundtrack, but recently stumbled onto this great Donkey Kong Country 2 Arrangement

113
10
submitted 2 years ago by Magusbear@lemmy.ml to c/gamedev

If you work alone did you ever think about working together with others and if so why aren't you doing so now?

114
15
submitted 2 years ago by TeaHands@lemmy.world to c/gamedev

Ok so I watch a lot of devlog videos, and talk to a lot of wannabe devs on Discord (definitely not using "wannabe" as an insult there, it applies to me too!) and there's this concept of a dream game that keeps coming up.

I've been playing video games since the 1980s and yeah, there are always improvements I'd love to one day see in every genre I play. But this idea of having a specific dream game is just entirely foreign to me. There are way too many possibilities to have just one dream!

My first attempt at a real game, I quickly found out it was going to be way too big and way too far above my current skill level. So I just...dropped it. Yeah I might go back one day, it would make for a cool game, but beyond that I'm not super attached.

So basically my question is, how common is this attitude among game devs? Do you all have a specific dream "one day" game in the back of your mind? Or maybe you're already working on it? Or are you like me and you just enjoy making games in general?

115
12
submitted 2 years ago by TeaHands@lemmy.world to c/gamedev

Hi, so, not really sure what rules if any @NoxiousPluK@lemmy.blahaj.zone has in mind for this community. But just delete this thread if it's against them, no worries.

With that out of the way, I thought it might be fun for us all to share a bit about our current project(s), along with anywhere people can find devlogs or demos or whatever else.

Sounds like a typical self-promo thread? Maybe. And maybe that's not allowed. But I have no horse in this race, my only "game" is currently a very janky prototype and my devlog channel exists only in my mind.

I can't get enough of other people's devlogs and love to discover new interesting sounding projects, so here we are lol.

Wotcha making?

116
22
submitted 2 years ago by NoxiousPluK to c/gamedev

Hi all,

I've decided to start a GameDev community as I didn't see any on this instance or others.

What's your relation with game development?

I'll start; I'm a hobby game developer at most, mainly having experience with MonoGame (based on XNA) but I switched to C# + SDL2 (using SDL2-CS). Currently writing my own semi-engineless game (I don't want to say that I'm building my own engine, but I do have some reusability for my own sake) while figuring out SDL2 and always looking for best practices.

I tried Unity, GoDot, Unreal Engine and more over the years, but as someone with a background in software development the freedom of the code-first approach always works better for me.

Welcome!

117
8
submitted 2 years ago by NoxiousPluK to c/gamedev

GameDev

3973 readers
1 users here now

A community about game development.

Rules:

More rules might follow if they become necessary; general rule is don't be a pain in the butt. Have fun! ♥

GameDev Telegram chat.

founded 2 years ago
MODERATORS