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.

thefreepenguinalt , in The Mirror - A Godot fork meant to rival Roblox/UEFN just went open source
@thefreepenguinalt@lemmygrad.ml avatar

BASED!!!

  1. Is it intended for making online multiplayer games?

  2. Will such games be integrated into a platform?

  3. If said platform exists, will the mods try not to be prudish with what gets published?

popcar2 OP ,
  1. Yes

  2. It seems like they have a platform/launcher with user-created content in it. They get 10% marketplace fee but since it's fully open source you can probably publish your game outside of their platform.

Mickey , in Implemented automatic door opening

Looking awesome! This makes me want to install Sims again honestly. Loved those games. Are you planning on going in that life sim genre?

Shatur OP ,
@Shatur@lemmy.ml avatar

Thanks! I also love The Sims series.

Yes. My current plan is to create a minimal game loop first: basic building mode, simple AI and limited character customization. And then extend, improve and experiment with mechanics.

The game will also have optional multiplayer, similar to this mod for the Sims 4. I'm the author of relatively popular networking library for the game engine I use :)

Mickey ,

Ah that’s cool! I look forward to seeing your updates then! Have you seen the other spin off games like Paralives and Life by You? It might be interesting to see what kinds of stuff they’re lifting from sims and where they are expanding/changing things.

GammaGames , in Screenshot Saturday!
@GammaGames@beehaw.org avatar

I added a help section to my pomodoro timer! Unfortunately it only has lorem ipsum
https://beehaw.org/pictrs/image/58611bdf-2e1c-47a6-ab9d-407bd03c3cbe.webp

Kissaki , in When you screw up a little with math

A door into another dimension?

mac , in Managing enemy spawn large world
@mac@programming.dev avatar

I dont know how larger games do it but it mostly depends on what kinds of enemies and what genre of game youre doing.

If you have a lot of enemies that will be spawned and despawned and they are mostly the same you can do an object pool where instead of destroying the object it gets hidden and added to the back of the pool for another enemy to spawn in as in the future by showing it and moving it to the correct spot

In terms of when to spawn it usually (assuming youre doing most genres) you can just spawn it right outside the view of the player when they hit a trigger. In games I usually make enemies are spawned on a timer since it tends to be more arcade like and in that case you usually just spawn them outside the range of the player in a random location around a radius after X amount of time has passed

Can give more specific things if I know the genre

Also downvote is likely someone from the all feed

NocturnalMorning OP ,

It's an rpg/soulslike, so I wouldn't likely be spawning randomly all the time. But I do like the idea of spawning in a small radius outside the player view, and the pool idea is good. That could really help with keeping resources down. Only issue I could see with that is distinguishing which pool actors to choose the activate again. I'll have to think about that a little bit since enemies will be different.

brisk , (edited )

It doesn't directly answer you but what you're thinking about is the sort of thing addressed by a book I'm a big fan of, Data Oriented Design. It's addressed briefly in the online version here https://dataorienteddesign.com/dodbook/node6.html#SECTION00620000000000000000

saintshenanigans , in Any way I can split my Android screen to make it work for VR

Google cardboard, maybe?

UnbrokenTaco , in Any way I can split my Android screen to make it work for VR

You can split your screen in Unity by adding a second camera and setting the rectangle for each.
You will obviously want to position the 2 cameras the correct distance apart for vr.

There are plenty of search results "unity split screen" if you want more detailed info. Eg: https://discussions.unity.com/t/how-to-make-a-split-screen-2-cameras-rendering-at-same-time/307

Also, have you tried Unity's open xr package?
I've read that you can use Google daydream as a PC vr headset if the daydream packages aren't working for you
https://www.xda-developers.com/vridge-2-2-google-daydream-steamvr/

Redkey ,

VRidge works great for me, I recommend it, but it presents to software as a standard SteamVR headset, so I don't know if that addresses OP's problem. Also, it's a paid product if you want to use it for more than a few minutes at a time.

paultimate14 , in Can I connect PS2 Controller to my Android Wirelessly

"Wireless" is going to be the challenge. The Dual shock 2 needs power somehow. Theoretically there could be some sort of device that could accept the PS2 controller port and have either a battery or plug in to external power, then send the Bluetooth signal, but I don't know that any such hardware exists.

There are wireless PS2 controllers from 3rd parties. There are also adapters to convert the PS2 controller port to USB. I got a couple of them on AliExpress for a few dollars each, and they work well. I have not used them on Android, but Linux interpreted them as Dualshock 3's (the listing advertised it as allowing you to use PS1/2 controllers on PS3's that are not backwards compatible).

So you could take a wireless 3rd party controller, then the adapter to convert to a PS4 controller signal. You'd need a USB hub to get that into your phone, and depending on what You're trying to do from there you might need an app to interpret that signal before getting to its final application. Alternatively, you could use a Mayflash USB adapter to convert from a PS3 signal to something else your phone would recognize.

If you just use a Dualshock 3 that cuts out a lot of hardware and allows you to use a 1st party controller. You can also get new fake ones on the Internet pretty cheaply that aren't all that terrible (usually the downside is a lack of sixaxis functionality). From there a Mayflash adapter or an app should be able to convert that. Some apps might even be able to accept it without any conversion. I've used DS3's on my NVIDIA Shield with Steam Link, for example.

The best experience would probably be to just get a more modern controller like a Dualsense or some 3rd party controller. I do wish a company like Retrobit or 8Bitdo would make a modern version of the Dualshock 1-3, similar to what's been done with Genesis, Saturn, and other controllers. Maybe one day.

pearsaltchocolatebar , in Can I connect PS2 Controller to my Android Wirelessly

To make this work you'll have to start playing around with firmware writing. I know people have done similar projects using a pi pico to handle the translation, but I don't know if they did it with a ps2 controller.

My recommendation is to just buy a Bluetooth controller with a ps2 layout.

Feyter , in Can I connect PS2 Controller to my Android Wirelessly

Dude... Your talking about mixing ancient technology with space age hardware. What comes next? Watching VHS on the switch?

Good luck getting your setup to work. The drivers for PS5 are completely open sourced by Sony so I think it would make your life much easier by investing in a new controller 😅

WinterBear , in What game development engines or frameworks are you currently using, and what do you like about them?
@WinterBear@lemmy.world avatar

I am enjoying Solar2D! Lua based engine for desktop and mobile, working on a virtual pet game. So easy to get something working quickly

superduperenigma , in David Stark extracted over 400 images of hills, trees, mountains, towns and cities from a 17th century map

This is neat! Thanks for sharing!

blazera , in EDIT: Fake screenshot about some facts from the Palworld development, very loosely based on a really interesting blog post from the dev that's linked in the post body.
@blazera@kbin.social avatar

Is this a dev? Theyre sayin a lot of "they" and not "we"

canis_majoris ,
@canis_majoris@lemmy.ca avatar

They're translating from an interview that was being given in Japanese.

porgamrer , in Should You Use Object Pooling?

Honestly this is usually bad advice nowadays, for a bunch of reasons:

  1. Modern allocators do the same thing as object pooling internally, usually faster. They rarely interact with the OS.

  2. A GC will do things like zero old memory on another thread, unlike a custom clearing function in a scripting language.

  3. Object pooling breaks the generational hypothesis that most modern garbage collectors are designed around; it can actually make performance much worse. Most GCs love short-lived objects.

  4. Object pools increase code complexity and are very error prone; when you add a new field you have to remember to clear it in the pool.

  5. If you are in a non-GC language you probably want something "data-oriented" like a slotmap, not a pool of object allocations.

Having said all that, it still all depends on the language/VM you're targeting. The guy in the video clearly benchmarked his use case.

JakenVeina ,

The guy in the video clearly benchmarked his use case.

This is the real answer in almost any scenario. Don't optimize without hard evidence.

TheLongPrice , in When Random Numbers Are Too Random: Low Discrepancy Sequences

This is cool! Is it your blog?

mac OP ,
@mac@programming.dev avatar

Nah not mine, just one I found and thought was pretty cool. Added the source to my rss reader and probably gonna post more from them in the future

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