Skip to content

u/nvec

In this archive from Nov 2017 to Oct 2026

0
posts
120
comments
0
media
760
score

Be warned that "collision detection" is not the absolute basics, it's a lot of fairly complex maths and optimization wrapped into a nicely packaged result.

Scratch the surface and you're talking vector and linear algebra, matrix manipulation, octtrees, spatial hashing, and a lot of work to make it work quickly and not explode. It's the type of work a computer science undergrad with an interest in maths could do as their final project.

If you can get a copy of it then I recommend "Real-Time Collision Detection" by Christer Ericson, it taught me enough about the algorithms to be able to write a collision detection system, and enough about the maths to understand the algorithms.

1 points

My friend thinks this should be treated as self promotion, they say unless it's treated the same then people will just promote their game as though it's a friend saying it.

In all honesty though this isn't really the place to be for boosting or promoting any type of game, it's for discussion of game development- not games which have been developed.

If there's something interesting from the development worth discussion, such an interesting technique, tool, or insight into marketing (although I wish that was somewhere else too) then that's relevant- but new and interesting games are things more relevant to game players than game developers and should really be in the player-focused subs.

5 points

Some of the most important decisions you'll need to make about the project are at the start when you're deciding the architecture of the core systems.

Launching straight into your dream project means that the person making these decisions knows nothing about coding or how to plan a technical project. You end up with a massively broken system you're needing to continually rework to even get something usable, and it takes many times as much time and effort to get something you're happy with than if it were planned properly from the start.

This is a type of technical debt, something any experienced developer has learned to hate, and when this happens to a personal project it's soul destroying and you're likely to just give up.

The idea that "Well, I'll just completely rewrite the core systems when I know a better way" is a common one here but it's rarely done successfully. It's more fun to move onto something new, and the difficulty of plugging an entirely rethought better system in place of the old one is challenging unless you already know (and use) techniques like modular design, dependency management, regression testing and refactoring. In fixing one thing you break another and the pieces just don't work together, it's like trying to upgrade a kid's soap box car piece-by-piece so it can compete in a cross-country rally.

If instead you learn the basics with a few smaller throw away projects then you're able to approach those initial decisions with a lot more knowledge of what works and what doesn't, and development will be both faster and better.

You're also able to learn faster in these projects as you don't have to be as careful or polish the result, if (for example) you do the often recommended Pong as an early project you'll be learning the basics of the IDE, language, sprite system, input system, collision handling, audio and how to structure a game. You don't need to spend the time making a production-ready Pong for release so being looser is fine.

If you're approaching this with the thoughts that you're doing this as a hobby and the aim is to enjoy your time and never release it then do what seems fun, there's no wrong answer there. If you're trying to write something which is worth other people's time to play then learn the basics before you start on your masterpiece.

2 points

This isn't something for a free summer starting from nothing, this is the type of thing you'd do if you had decades and were starting from postgraduate knowledge of both maths and coding, knowing physics engines inside and out. There's a reason there's only a handful of really top-end physics engines, there are no super simple steps towards this just a lot of very complex ones.

Honestly though if you've been interested in game development for a long time and haven't had the time to use the high-quality free resources out there then you have a choice.

Option 1- Start learning over the summer. Download an engine (I'd personally recommend Godot but do which you want), find a good free beginner tutorial to get you started, and then start to plan a simple game. I'd recommend an Angry Birds clone if physics is your thing.

Option 2- Forget it.

1 points

Actually realised I'd thought about this a lot more than I'd said so if it's useful here are some of the things which I think need to be answered about doors for the game to use them properly. How many of these can be answered in a plugin I don't know.

  • How are they triggered? Do they automatically open when the player is near? Does the player just 'push' the door by moving through? Does the player need to press an input and if so how is this routed to the door? Can they be opened from remote buttons? Timed events? How do we give feedback to the player if they're looking at a door which can be opened vs a door which is just scenery, or a door which is locked?
  • How do they open? Do they always open in the same direction or is it always 'open away from the player'? What if they're blocked by another player, and NPC, or an object? Do they automatically hold open or swing shut again?
  • How do they integrate with NPCs? Can NPCs open doors, and if so how do you integrate with the NPCs animation setup? How does a door appear on the navmesh when open or closed? Do doors block line of sight, if so what about glass doors? How do we stop NPCs walking through the door itself when it's opening?
  • Can doors be locked? If so how do you know if the player's carrying a key? Can they be barred so only open from one side? Can a player lock a door to block an NPC? Are keys spent when a door opens, and are keys per-door or generic?
  • How do they look and sound? Are they just simple static objects with an audio sound when they open? Can we animate a door handle, or even a Fallout-style complex animation for a sci-fi vault door? What about sounds if you try to open them when they're locked?
  • How are they saved? When I save a game how do I record if a door is open or closed, or locked? What if I'm using a custom save system?
  • What about other game systems? Can the player kick a door open? Set it on fire?
2 points

If you're only two weeks in then you're not a poser, and you're not really making a game.

You're a beginner and if you work from that mindset you're going to be a lot happier. Learn things, play about with simple projects, watch tutorials if they're actually helping. Enjoy the early stages of learning a new skill. You can dream about the games you'll eventually release but accept that at the moment you're not there yet so don't actually plan it.

If you're actually trying to make full game after two weeks then you're like someone who picked up a guitar two weeks back and are now deciding on the tracks on their debut breakthrough album. There may be a few protégées who could do it but for the rest of us there's a lot of hard work to do before being able to seriously think of that.

My personal recommendation if you're starting from scratch is don't learn gamedev to start with, learn the basics of programming first. In musical terms it's learning to play the basic chords before trying song-writing. Strong fundamentals.

I've not done it myself but I've heard good things about Harvard's free online CS50x course, which has online course material learning material leading towards an end project- with games being a fully acceptable example listed in the description. It looks to also have a good community of learners and teachers which is helpful in providing non-judgmental help. Don't rush it though, take the time to think about what you're learning, take notes, and experiment with using what you've covered.

When you've done this you should be in a much better position to start actually choosing a game engine. You'll know the basics of how programming languages and can look into choosing a game engine.

I've used a lot of engines, and taught Unity, Unreal and Godot to non-gamedevs (film makers, psychologists, camera operators, VFX specialists..) at previous jobs. My personal recommendation of the three to start with is Godot, it's fairly new but has the cleanest design of the three without all of the features which are now outdated or never finished, or carried over from legacy engines from decades ago.

It's also an arguable point but I'd recommend using the C# language with it- the examples in the docs cover both languages, you can get good non-gaming C# learning resources as it's a commonly used language, it's still useful if you hop over to Unity. The main reason though is that it's a lot more type-safe and strict than Gdscript which means while it's harder to get something which runs when it does run it's less likely to have hidden bugs. For a published game most of the time isn't writing code, it's debugging it and updating it, and there C# is strong.

0 points

Honestly as others have said it's not an easy or lucrative career to get into, the competition is exceptionally strong.

Your husband's wanted to do this since middle school but now he's competing against those who actually made the move and started down the path in middle school. They're the late teens/early twenties folks with ten years coding experience, they may have CompSci degrees to back up their self-learned skills too. They've learned multiple engines, been to game jams to build their networks, and may even have a few published small games in their portfolio. They've also learned their graphics and audio skills, or have made friends who do.

They're also hungry to break into the industry 'proper', they'll take near minimum wage for a job which requires deep technical skills which would earn large sums in other industries. They work overtime for free in many cases, leaving no time for many other outside pursuits or a family.

Best plan is to treat it as a hobby in the evenings, learn how to develop, and then think about if there's a small but unique game which he can build and may see success. Don't expect it though, wanting to be a gamedev is like wanting to be a rockstar a few decades back- lots of people buying the electric guitar with bundled guides, few people doing arena gigs. It's a dream, don't rely on it becoming a practicality.

2 points

Unreal's C++ is fairly different from standard, you've no STL (Custom collections, strings etc) and a lot of the memory management is handled by macros such as UPROPERTY() and the garbage collection which UObjects have by default.

That said the type of knowledge you have will still be very useful- you know what's going on behind the scenes, you understand what these macros are meant to be handling.

A common recommendation is the Stephen Ulibarri tutorials on Udemy, but only when they're on sale. The multiplayer C++ one is a good (if 'starting at fairly advanced') tutorial which covers a lot of what you need to know.

5 points

It was very similar to now. We had Google, we had forums and mailing lists, and many of today's game engines and programming languages already existed.

Honestly it was probably about as simple as it is now. There were less resources but engines were simpler, and there was less out of date or slapdash information online. Text resources were easier to find, video tutorials had started to come in.

Unity was fine. Unreal was scary with UE3 costing seven-figure sums to access and the free UDK being really unfriendly with it's custom scripting language until UE4 came and made everything much better.

We were still waiting for Godot as it wouldn't be released for years.

Flash was still with Macromedia and was great for producing online games. Mobile phone games hadn't yet finished their race to the bottom and there was still a lot of fun stuff which wasn't just a vehicle for adverts. Steam was a lot less 'busy' and we were just starting the age of indie darlings which would reasonably soon lead to games like Minecraft, Binding of Isaac and Fez.

We did have to walk uphill both ways to get to the keyboard, but it was truly the gold-tinted era of nostalgia.

3 points

No, I'd suggest that the first games you write should be simple enough that they don't need a GDD.

Write Pong in Godot, Space Invaders in Unity, a super-simple FPS in UE5. Try different art styles and tools- see if you like doing pixel art with Aseprite, or would you prefer to be doing low poly in Blender. Spend a few weeks or months learning about the different options and don't assume that just because you enjoy playing a particular genre it's what you're most going to enjoy working on.

Don't treat these as the dream game, or even consider releasing them, they're learning exercises doing the same things you're going to need to do when you're working on your actual game projects. They're not tutorials though, don't find a "How to code Pac Man" tutorial and instead do it yourself searching for answers to smaller questions as you go.

Jump into an ambitious project and you'll learn an important lesson about technical debt. Your first code will be terrible compared even to that you'll be doing even two months later and if that terrible code is the core of your dream project you're going to spend a lot of time going back and fixing your own basic mistakes- and you won't catch them all.

Spend some time with smaller projects, work up, take notes, and when you feel that you understand enough to start writing professional games write a short GDD for a simple game and work on that. Build up to the dream game.

2 points

Okay, just because it's on your main menu doesn't mean it has to be a WBP.

I'd be thinking of keeping your buttons and so forth as a standard WBP but having the background transparent and having the rain effect done behind it.

There are then a lot of different ways you could animate the image with the 'best' one probably be to use Niagara, Unreal's particle system. It's a bit of an initial learning curve for a basic effect but worth learning as you can then use it for a lot more, this tutorial covers setting up a basic sprite system which is the basis of what you'd need.

With this you then tweak it so the emitter is a wide 'box' above the top of the screen and their lifetime is a fixed value high enough that they're guaranteed to have fallen off the bottom of the screen. Have them all moving downwards with a little randomness for variety and you have the effect you're after.

With this being a full 3d effect in Niagara you can also throw in extra effects such as more random movement, camera rotations and zooms, shader effects, or having the sprites mapped to a 2d quad so they tumble as though they were playing cards.

2 points

The title really doesn't say much though.

You've not said what these clones are, and I don't think you'll find many people who know both Scratch and UE5 to a good enough level to be able to translate.

Tell us what you're looking for and what you're expecting to happen, use UE5 terms. If you're on about cloning images in WBP why can't you just copy paste them? If you're on about WBPs though then how does someone start as a WBP image?

2 points

That is not a 1-2 week project, that's nearer to a 6-12 month project at minimum.

Reverse engineering a game client to the point where you're able to implement the server is hard, it's basically the same as rebuilding half of the game without any of the documentation. Getting that to the point of playable needs a lot of in-depth knowledge about how the game played in the first place.

Packaging all of this and building it all into a simple plug-and-play system with login? It's a massive task.

1 points

I think it crosses a different line than you think- it crosses the line into producing unreliable and unmaintainable code.

The AI can convert from Python to C++, it may even produce something that works. It's likely to have bugs though, and it doesn't scale well in that it'll convert a small amount of code okay but it won't come up with a well coded large system.

If you know C++ then you're able to review their code and fix the problems as you go but if you don't then you're just going to be getting more and more problems building up and not knowing how to fix them, or the questions to ask to get the AI to do it for you.

I've found AI coding to be useful for two types of coding. The first is making me faster writing thing I could already do, providing boilerplate code or doing a code review of my work. The second is producing small 'one off' bits of simple utility code for my own use such as rescale an entire directory's worth of files- it doesn't matter if there're bugs, I'll be able to tell just by looking at the files and fix things.

If you're trying to get an AI to write things you're not capable of coding yourself you're asking it to write things you're not capable of reviewing and debugging. It's going to be painful.

1 points

I agree with the others here, that's not how things work.

If a team has the skills to build a game then they have the skills to design it, and for most teams ideas are the easiest and the most enjoyable part. Unless you're an established game designer there's no reason for them to hand over creative control to you and to share the money. They'll just do it themselves and get to see their own ideas become real.

I'm not certain if your mentor is just wrong, or if it is some type of scam, but I'd be careful here.

1 points

Not that much. GDScript doesn't enforce strict typing and so it doesn't need interfaces in the same way, you can do most of it with duck typing.

Instead of checking if the object the player's clicked on implements an IInteractable interface and calling the process() method if so you just directly check if the object has a processInteraction method and call it if it exists. The method's very existence is the interface.

Alternatively you could even just stick an implementsIInteractable variable directly into the interactable objects and check for that before you call process() if you really want to make it clear you're doing a C#-like interface.

It's not as typesafe or maintainable as the C# interface but the essential logic is much the same, and it's the situation with a lot of language features. C# has the guardrails up to make you define an entire interface instead of just manipulating variables arbitrarily in the object, but it's those guardrails which then also prevent you setting the implementsIInteractable variable and forgetting to also implement processInteraction().

Your code will look very different between the two languages, and someone familiar with only one will find the other very strange when you're using techniques like these, but the actual game logic and possibilities aren't that different.

1 points

It's faster to code in GDScript, but C# is faster to debug (due to both stronger typing and better toolset support, with something like Rider's inspections and StyleCop you're catching most common errors automatically), and will generally run complex code faster.

When you're working on small projects it's not too important but when you're working on large projects, or ones which require a lot of processing, you'll be spending a lot more of your time debugging and optimising.

It's not an architectural difference, it's all Godot nodes or services, it's just what the language is good for.

I use both. GD for sketching out ideas, testing techniques, and prototyping, and C# for anything that I'm going to have to maintain in a month.

8 points

Just because you stop subscribing to Illustrator doesn't mean you need to remove it from the resume, switching would instead just add Affinity to the list of skills that you have in addition to Illustrator which is a bonus.

As others have said when you get a contract they can either provide an Illustrator license, or pay extra for you to buy the license yourself for the contracted period.

There are also some teams looking to avoid the big budget subscriptions of Adobe, Maya and similar and there Affinity experience would be a plus.

1 points

I'm seeing a lot of story ideas but not any actual gameplay, from this I'm thinking (seriously) you may be better looking at writing this as a novel. T

Think player first. If you want to do this as a game you need to answer what is the player doing? How is it interesting and fun?

Look at Portal, a great game with a well respected story. The first thing they did (in Narbuncular Drop, the predecessor) was prototype the portal mechanics to make sure they worked, were fun, and allowed enough variety to support an entire game. Only much later did they start to layer on the storyline of GlaDOS and Aperture, adding a story to a game rather than adding a game to a story.

2 points

UE5 was essentially just the next iteration of UE4, they added Nanite and Lumen but the majority of the codebase and how it's used is identical. They just decided that the new features warranted a major version number increase.

It's not like when we went from UE3 to UE4 which was essentially a different product, gone were UnrealScript and Kismet and in came Blueprint and C++.

That said be careful when deciding not to go with UE5. Even if you're not using Lumen and Nanite you're throwing out over three years of engine development- both features and bug fixes. It also sounds like you're only learning the engine and you'd find it much easier to find tutorial content and get answers for a more recent version- few of us remember in depth the changes from a three year old version of a product which has frequent changees.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.