@raptor85@mastodon.gamedev.place avatar

raptor85

@raptor85@mastodon.gamedev.place

Just making the games I want to, linux/gentoo enthusiast, addicted to C++.

I block stupid people, life isn't long enough to talk to a brick wall.

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

passthejoe, to random
@passthejoe@ruby.social avatar

World Exclusive: We tested the first 2TB microSD card and no, it's not a fake — AGI's card defies laws of physics with record-breaking storage capacity on pinkie-size surface area | TechRadar https://www.techradar.com/pro/world-exclusive-we-tested-the-first-2tb-microsd-card-and-no-its-not-a-fake-agis-card-defies-laws-of-physics-with-record-breaking-storage-capacity-on-pinkie-size-surface-area

raptor85,
@raptor85@mastodon.gamedev.place avatar

@passthejoe falling 12% short on size off the initial format is somewhat concerning, i wonder how it fares with write cycles. (I've had so many cheaper "high capacity" cards essentially start losing sectors after the first write....and no I don't mean just the amazon knockoff chips using smaller bits of memory in a ring buffer)

At that initial degradation it's barely bigger than the sandisk 1.5tb cards.

raptor85, to gamedev
@raptor85@mastodon.gamedev.place avatar

Totally sane and normal video options here, yep.

darkgriffin, to random
@darkgriffin@mastodon.gamedev.place avatar

I have this tile from my artist. Is there a way for to use this like an auto tile? It has all the edges and corners, but is meant to be a "smart bordered tile" without caring about anything else.

In my 2 hours of reading/poking I couldn't figure out the workflow. Lots of older documentation says I need rules.txt or terrain. Rules example show like, replace. And I can't for the life of me figure out how terrain layers now work. My artist uses in case that helps.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@darkgriffin yes, you basically create a tmx file with the combinations you want to use and add that to the list (that's all rules.txt is, a list of tmx files to use as "rules"), and it will auto-create layers based on that ruleset. For instance with your tiles in the tmx file for the rules you'd create an input layer showing all the possible combinations of blank space and the plain green tile and the "replacement" layers you want for that, then in the real file you'd just paint the green tile.

raptor85, (edited )
@raptor85@mastodon.gamedev.place avatar

@darkgriffin current docs are here https://doc.mapeditor.org/en/stable/manual/automapping/ , it's pretty easy to setup and saves a lot of time. Since your example is simpler though and is mostly a single tile replacement terrains might be an easier option to set up. (though terrains is far less powerful) https://doc.mapeditor.org/en/stable/manual/terrain/

pixel, to linux
@pixel@urusai.social avatar

hey and people on the fediverse, I'd appreciate some help --

I installed polonium recently and wasn't super happy with some of its functionality so I reverted to just using kde as is, but now i'm having some weird behavior where clicking on a hyperlink in discord won't focus firefox to display the link I just clicked on. Is there any way to easily flush old kwin script settings that might be interfering still? I'm not sure where that would live and I'd appreciate help because I really don't want to re-install manjaro but that's the best I got right now lol

raptor85,
@raptor85@mastodon.gamedev.place avatar

@pixel System Settings > Window Management > KWin scripts

If you installed from a system repo i'd file a bug too, while some package managers don't track config files and "user scripts" (not sure if manjaro's does or not), this should definitely have been managed by the package manager when uninstalling.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@pixel not sure, I don't use much in plasma, only really testing it on my rpi5. I forgot manjaro was arch though, you should be able to just run pacreport or pacman -Ql polonium (assuming you used pacman to install it) to list all the files that package updated.

PixelBandits, to retrogaming
@PixelBandits@nerdculture.de avatar

I know. Look. I know. But I still think Sonic Spinball absolutely slaps. My real question is why do we think people DIDN'T like it as much?

#RetroGaming #VideoGames #Gaming #RetroGames

raptor85,
@raptor85@mastodon.gamedev.place avatar

@PixelBandits I don't know about favorite but it's up there for me (my favorite is Sonic CD). It is one of the few sonic games I own an original copy of for the actual genesis though. I would imagine a lot of people get stuck on the second zone, the machine is way more unforgiving with instant death zones, especially if you don't know where to go.

aarbrk, to Help Spanish
@aarbrk@mstdn.mx avatar

Hi #oss folks, I need #help with a possible #malware infection in #Firefox on #Linux. After accidentally visiting a spammy website I am getting suspicious and short-lived #popup windows with a grey border in the corner of the screen. Their text seems to always starts with (A). The first one was ostensibly about Norton, this one McAfee. Tough to verify any fix since they only appear once in a while; I did get a photo of one:

Please advise me!

raptor85,
@raptor85@mastodon.gamedev.place avatar

@aarbrk That's a web push notification, you would have gotten a popup that a website wanted you to allow notifications, on clicking yes on that it installs a service worker that fetches push notifications from that site whenever they publish one. in about:preferences#privacy click notifications and delete it. I would suspect it's being fed by some retail/shopping site you visited, but i'd be curious to know who's using push notifications for ads...

sos, to cpp
@sos@mastodon.gamedev.place avatar

Just looked up how to do callbacks in C++ and YOU CAN'T (unless you write a bunch of templates and wrappers yourself).

When you pass a pointer to non-static member function, yopu need to handle the class pointer yourself. This is like the simplest thing, why can't C++ have that?

Love how the ISO standard website just tells you "Don't". What a joke.

#cpp #programming

raptor85,
@raptor85@mastodon.gamedev.place avatar

@sos well, you CAN if doing it yourself or with more c++ aware api's (inherit signal type then pass a pointer to the object, not function, to the caller), or by using a static member function to dispatch the commands, but yes, you can't just pass a raw pointer to a member function to C functions, as they won't have any reference to the parent object 1/2

raptor85,
@raptor85@mastodon.gamedev.place avatar

@sos In c++ member functions use __thiscall, not __cdecl, which additionally pushed the address of "this" to ecx, without that address from the stack member functions will not work. C has no concept of __thiscall and C style callbacks have no real ability to push that value into a register when calling the function.(nor any guarantee it will still be in that register by the time your code receives it), so to use C style callbacks (again, C++ style callbacks DO work) you need an intermediate.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@sos you can, you can use static member functions within a class, these can be dispatched from C functions, then in the Xorg/whatever event dispatcher you need to include a pointer to the object itself as data. In C++ the "right" way to do this is with signals like Qt does though.

Moosader, to random
@Moosader@mastodon.gamedev.place avatar

I have a digital camera and mp3 player now because this at S22 Flip doesn't have an audio jack. Also it doesn't recognize the SD cards I put in (maybe because I bought this phone used).

So I'm becoming very 2006.

Anyway let me download media so I can watch or listen to it offline.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@Moosader as of a few weeks ago I also use the S22 flip, mine i haven't had issue with SD cards though, I just formatted it and it works fine (I use these guys, same ones I use in all my pi's) https://www.microcenter.com/product/668929/128GB_High_Endurance_microSDXC_Class_10_-_UHS-I_Flash_Memory_Card_with_Adapter

for the headphone jack, I have a little USB-C/TRS adapter that works great.

I did do a full custom build and rooting on mine though, who knows what all that stock junk that comes on the phone does to compatibility :/ (It was downright insane how crammed it was)

Moosader, to ComputerScience
@Moosader@mastodon.gamedev.place avatar

Since I'm working on my summer course notes/"book": what is something you wish programmers knew/did?

raptor85,
@raptor85@mastodon.gamedev.place avatar

@Moosader stack/heap differentiation and memory allocation in general. I'm tired of things that complexity-wise would run on a C64 bringing my modern r9 with 128 gigs of ram to it's knees O_x

saint11, to random
@saint11@mastodon.gamedev.place avatar

I've always wondered why top-down games make house interiors bigger than their exteriors. So, I tried making everything to scale...

Now I know why—it's SO much harder than I expected! (But I still think it's worth it!)

video/mp4

raptor85,
@raptor85@mastodon.gamedev.place avatar

@saint11 it's also historically both a memory and transversal thing, having huge buildings you can freely enter takes up a lot more map space/vram than smaller buildings, and transitioning inside smaller buildings let you transition tilesets since you no longer needed to draw the outside. Especially for RPGs it also expands the amount of time you're "just walking" without really anything to do by having towns so much bigger, as classic towns were mostly shops/inns/etc.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@saint11 that said dragon quest always did buildings like this, though their solution to the memory/size issue was that the building interiors themselves they made absolutely tiny, normally just a few tiles and a shopkeeper, no real interior decor. Memory definitely isn't an issue now but it's important to be respectful to a players time, if a walkback through town to the shop/inn takes forever that gets annoying fast, so bigger towns you gotta pair with a way to navigate them faster imho

OffTheBooks, to gamedev
@OffTheBooks@mastodon.gamedev.place avatar

Really enjoying having its moment in the spotlight. What a great showcase of how putting passion into an project can capture the attention and interest of so many people.

For such a well-trodden genre, it’s proving there is a lot of fresh ground to cover, and indies seem to be able to do that even better than big industry players.

Makes me excited to put more energy into my own projects as well!

raptor85,
@raptor85@mastodon.gamedev.place avatar

@OffTheBooks it does right what a lot of others miss, instead of new items just being effectively a key to open locks somewhere else you actually have to use their mechanics, sometimes in combination, to solve clever puzzles, while also opening up faster transversal through the areas. Wayyyy too many metroidvanias have a bunch of items that have single/specific uses and might as well have just been red key/blue key/etc.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@OffTheBooks I do have to say as well though, even as a game I consider flat out amazing, it would have had a hard time spreading by word of mouth alone, lots of great games never really make it outside of dev/indie communities in any big way. A HUGE portion of it's success is that it was published and talked about by a popular youtuber.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@OffTheBooks I really liked that a lot of the puzzles required use of multiple items and often had multiple solutions.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@OffTheBooks Bigmode is Dunkey's company he started, so a built in audience of near 8 million viewers definitely helps get a game noticed. Nothing wrong with that obviously, I applaud it, the whole idea of setting up the publisher was literally to help good, smaller games succeed as he saw great games constantly flying under the radar.

pux0r3, to random
@pux0r3@mastodon.gamedev.place avatar

When I first started making games, I used Klik&Play. This let me just drag/drop clipart into a scene and randomly start adding behaviors. So easy in fact that I used to sit at the computer with a friend and just make a game to then play vs. each other.

Part of me wonders why game engines aren’t that easy anymore, and another part of me just wonders if my mind has been broken enough by real software dev that I’m not willing to just make garbage spaghetti code that won’t last beyond the day.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@pux0r3 thats one thing i like about short game jams like ludum dare, the looming end date forces choices and not over-engineering things, and anything cool that comes out of it I can always rip out and re-purpose later. I ALWAYS end up working those weekends though so I tend to not even get the 48 hours, most LDs I get 8-10 hours tops :/ It's rough but kinda exhilarating tossing together a simple game in a few hours like that

terry, to random
@terry@mastodon.gamedev.place avatar

Ok, thanks all! After my current project wraps up I think I'm going to backup my windows laptop and try single booting Linux Mint for a while, with a virtual machine for making Windows builds of things.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@terry could also use the mingw64 toolchain for making windows builds, that's what I do and just set my ide to execute it using WINE. linux/gcc is a great environment for cross development to practically anything, you can have multiple profiles/configs installed side by side and use environment files to configure more fine-grained variations.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@terry oh definitely, i even use it to compile sega genesis roms, lol. Once you figure out how to setup cross compiler toolchains it becomes pretty easy. gcc is designed for it so it's honestly pretty easy, even easier on gentoo because we have a tool called "crossdev" that completely automates it.

ifixcoinops, to random
@ifixcoinops@retro.social avatar

Ooooh should Pinball Dad stick his toe in the Linux Discourse

I've been on it since 2010, I guess I should maybe?

How about I stick my whole entire foot in, maybe if I poison it with my footstink then it'll die down a bit

raptor85,
@raptor85@mastodon.gamedev.place avatar

@ifixcoinops why choose when you can have them all :) The benefit of them being a component that's installed and not just built in is that you can change them whenever you want, or even have multiple installed at the same time and swap at the login screen, and since there's a common spec for desktop they all use the same application files to build their menus, etc.

grumpygamer, to random
@grumpygamer@mastodon.gamedev.place avatar

Real or The Onion headline: "Bankrupt Red Lobster Runs All-You-Can-Grab Copper Wiring Promotion"

raptor85,
@raptor85@mastodon.gamedev.place avatar

@elrohir @grumpygamer scummy when you can essentially pre-sell all the assets of the company then just put it in bankruptcy liquidation with no cost to yourself, keeping the profits from the sales and writing off the "losses" on taxes....it should be illegal as it's essentially just tax fraud with extra steps but the controlling forces who wrote these laws specifically wrote them to allow this, since it's how THEY make money...

YoSoyFreeman, to random
@YoSoyFreeman@mastodon.gamedev.place avatar

Linux video. Person ask ChatGPT to generate a zinity window. It waits for a minute. Sees the output. 3 lines of code, 1 of which is installing zinity. Says "This is awful. We are going with it"

I'm genuinely confused.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@YoSoyFreeman chatgpt's model is awful, models trained specifically for code like salesforce and codellama actually do an extremely good job though, but only on the languages each model is trained on (a C++/python trained model like codellama is not going to be able to give you very meaningful javascript/etc). The IDE plugins are actually pretty useful, being able to highlight and suggest refactor, asking it to find possible memory leaks, showing an example of an algorithm, etc.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • InstantRegret
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • modclub
  • Youngstown
  • ngwrru68w68
  • slotface
  • osvaldo12
  • kavyap
  • DreamBathrooms
  • Leos
  • thenastyranch
  • everett
  • cubers
  • cisconetworking
  • normalnudes
  • Durango
  • anitta
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • megavids
  • lostlight
  • All magazines