Skip to content

u/hjmb

In this archive from Sep 2022 to May 2023

2
posts
39
comments
1
media
106
score

Both Godot and Unity have dedicated subreddits, and I suspect have dedicated subreddits/threads for beginner questions. r/howdidtheycodeit has interesting example features from games. Three other places to look first:

The documentation. Learn how to read the docs for your target engine and language. It takes practice but they're similar across all languages and programs, so it's a skill worth learning and learning early.

The forums. Each engine has its own, and they have their own search features (as well as being visible to search engines). Few things you will ever write in software engineering (of any type) are truly original, even if the way you put the parts together is original. Someone, somewhere, will have had the same problem before and has probably had it answered in a forum.

Stack Overflow is a phenomenal resource of technical questions and answers. It will cover more low-level questions about whichever language you choose to work in (e.g. "What's a good algorithm for shuffling a list in place in C#").

1 points

I suspect Unity or Godot will be the best places to start, then (I haven't tried the new Godot version but what I've seen seems good).

As a final piece of advice: Start small. Do some tutorials. Make something boring that's been done before but where you can check your answers against what others have made. Learning how an engine works is as complicated as learning how a programming language works so get the feel of it down before trying something novel. Good luck!

1 points

In which case: Start with a 2D game with no verticality. Learn how to get everything to draw to the correct part of the screen, how to move characters, how to interact, all on a single layer.

Once you have one layer working then work out how to get multiple layers working - you will probably find that building the simple version helps you better understand the limitations of your engine, and give you insight into why those other games made the decisions they did.

1 points

This might end up giving you layers that look like they float above each other in a disconnected fashion, in which case I suggest adding sides to blocks next to gaps, the appearance of which is determined by their distance from the player.

Also you may find tall stacks of blocks higher than the player look weird from the transparency, so try making certain materials always opaque no matter their relative layer. You sacrifice some player awareness of the environment, but gain greater clarity in the information you do communicate.

1 points

Simple answer: Yes, you absolutely can have layers stacked on top of each other.

For example Dwarf Fortress has hundreds of layers, all from a top-down perspective.

The hard part is communicating clearly to the player:

  • Which layer are they on, and what else is on the layer
  • Which things are above or below the player, and how far away those things are

Dwarf fortress has an isometric top-down camera, and blue-shifts layers below the the player, making it clear how far below you they are. Layers above the player focus are ignored.

Aside on Dwarf Fortress: I think DF's presentation could be clearer - the blue-shift isn't strong enough for me and the lack of information on what is happening above the player is an issue (especially when your dwarves climb trees and you can't find them). Its presentation choices are constrained by a collection of factors that you will almost certainly not have, so I'm using it as an example rather than a model.

Other examples include the 2D Zelda games, which frequently have verticality in their dungeons (and to some extent in the otherworld). They use portals, such as when diving into deep water, but sometimes show multiple layers at once and use color-shift and parallax to make it clear when something is on a different layer. Zelda often doesn't display things on levels above the player (sometimes puzzles are built around this lack of information) but will use drop-shadows to communicate threats from above or the z-position of flying characters. The locations of important characters on layers below the player are communicated via evidence of digging, or bumps in the floor.

I suggest:

  • Scale the layers above the camera up, and make them transparent
  • Scale the layers below the camera down, and add a blue/grey filter
  • In both cases the scaling is centered on the player
  • As objects transition between layers smoothly (but quickly) adjust their scaling
  • Use drop-shadows, etc. to indicate the XY position of important objects above/below the player

This will hopefully provide enough of a parallax effect to communicate distance, helping players determine which layer they are on, while also giving them enough information about the world around them.

1 points

Out of the two: B, I find it less jarring

I still find it jarring though - I believe it's the way such a large part of the screen changes to transparent, and in such a dramatic fashion.

You may well have already tried these, but I would like to suggest:

  • Only those parts of a block visually near the player become transparent, in a (visual space) circle around the player
  • Rather than a sharp transition, blocks visually near the player smoothly go from opaque (when far from blocking the player) to transparent (when fully blocking the player)
  • Keep the blocks opaque, but outlines of important objects still show through (this way you don't have unhelpfully hidden enemies too)
6 points

I would say the left-most is the easiest. However to improve it I would make the weak point color be consistent between enemies, and only the weak points would be allowed to be that color. So in this case the fins would be changed to something other than the same color as the weak point.

I would also ensure the weak point stands out, which I feel the grey is unlikely to achieve, but that depends on the rest of your aesthetics. Also as someone earlier pointed out - grey can look little like added armour, not a weak point.

1 points

Why does the player need to drag in the last row if the second row was already shown to be correct? (I would assume it meant I did something wrong if it kept prompting me for an answer after I already submitting the correct answer.)

Is that a knife? Why is a knife an ingredient in your potion?

Are those choices of green and yellow clear for users with color vision deficiencies? Is there a setting to change indication-by-color to indication-by-icon?

And on a design note, unrelated to the presentation: Is there any situation where doing one of each type isn't the best choice for the first row?

1 points

Definitely A, but I understand why you would go for B.

I think my issue with B is that it makes the shadows the most eye-grabbing part, hut that's really unhelpful for interpreting a 3D scene from 2D data. I would suggest keeping shadows darker than lit objects, and make the lit objects bold colors.

You can find general rules of aesthetics in books on painting / drawing / etc. (shadows are darker, things further away are more blue, and so on). You don't have to follow them, but it's a good idea to follow them unless you have a particular aim in mind for breaking them.

26 points

Assuming the second is "new", then the new one. Information pertaining to separate things are in separate regions of the screen. Also health bars (rather than raw numbers) tend to be easier to quickly grasp.

For future questions please provide two screenshots as an album rather than a video; the transition made it very hard to assess the differences.

3 points

If you mean "the idea / themes of the project" then your friend's friend is probably just as capable of coming up with ideas as you are. Ideas are cheap.

If you mean "the implementation of the project" then it's copyright to you when you made it (you don't need to register it anywhere; anything you make of sufficient complexity is copyright to you, but it helps if you have an external host that can verify the date you made things). If they use copyright code / language without permission then that becomes a legal matter. I would be very surprised if they decided to do so; code / design examples and tutorials are freely available online, and are generally in a better state of usability, not to mention legality, than a work-in-progress project's are.

If you mean "a runnable version of the project" (such as a draft publication, or a beta executable) then that too is protected by copyright, and far easier to trace to this leak. There's nothing preventing them from sharing those files further onwards, but there are legal ramifications of doing so. If you're really concerned then make a specific version just for the purpose of sending to this one friend, and make a new version each time you share something, that way you can track which versions go where. It is unlikely to be worth the effort to do so, but if it gives you peace of mind then go for it. Try and do it in a way that doesn't risk damaging your relationship with your friend (since you can come across as untrusting when you do this). Personally I put a date and short description on things I share, just so when someone gives me feedback I know whether I have already implemented a change.

Please note that I am not a lawyer, and the jurisdiction you are in affects the applicability of this advice. For a recent ruling on a similar problem see the Ed Sheeran lawsuit on the song "Shape Of You". An artist had a similar idea (the chorus line) that was published before Sheeran's song, and argued that since Sheeran's manager had been sent that earlier song at some point it was likely that Sheeran had copied the earlier song. The verdict: Sheeran was unlikely to have actually heard the song (despite being "a friend of a friend") and the ideas were generic (rising pentatonic scales are common) and distinct (the tone and purpose of the choruses are very different) enough that Sheeran was perfectly capable of coming up with it himself.

1 points

It depends a lot on your course content, but the skills I would associate with an artificial intelligence engineer (designing, optimising, and deploying models; data science and statistics) are not the skills I would generally associate directly with game design. AI models in games are almost all hand-crafted rather than machine-learnt, but there's good reason to hope that will be expanded upon. Game AI has to run on consumer hardware faster than the game refresh rate, but hardware is getting better and better.

Some notable counter examples to this: Watch Dogs Legion used large Bayesian Networks to generate its NPCs, and there is a growing demand for ML solutions to upscaling and screen interpolation, often done at the graphics card manufacturer level not the game design team level. I recommend the AI and Games (target audience is the interested AI layperson / game designer) and the Game Dev Conference (more academic) YouTube channels for talks, interviews, and examples. Last I heard, which was a while ago, even the Total War grand strategy games were using the strategy "analyse all possible moves for three turns, then score that position via the outcome of a random game from there", which was considered innovative at the time and is significantly simpler than the models I would expect an AI engineer to study / design.

That said there are general skills you learn as part of AI Engineering that are useful as a game designer:

  • General software engineering
  • Optimisation
  • Parallel computing (shaders)
  • Data science (consumer analytics; more for game publishing than design)

Another, far smaller avenue, is the use of game design techniques for constructing synthetic datasets for machine learning models. Sadly I can't remember the name of the study, but I suspect Two Minute Papers covered it, where they used a game engine to generate data for autonomous vehicles.

2 points

That code is directly served as a website by github here (when you upload code you can choose to also make it host as an normal website.) So that's what it should look like when you do either of the following:

  • Download the code and open index.html in a web browser (may not work, depending on browser settings)
  • Download the code and start up a local web server (e.g. the http-server node package)

In both those cases only you will be able to see that webpage, which is good when you're making the game. Once you want other people to play it you need to upload it to a website. In web-hosting terms the game is "static" (no calculations are done by the server) and there are free static site hosting services (but they'll try and fill your page with ads) or you can just use github as that example code does.

1 points

Here's an example of exactly that. It uses python to generate the lists of words, then JavaScript for the actual game, so it can be hosted easily on a website.

I would suggest it's a good beginner's project if you write the list of words by hand. (Generating the list of words is also a good beginner's project, but really they're two different projects.) It should give you practice creating a simple interactive GUI, which is a very useful skill to have.

There are toolkits like Godot and Pygame that let you create games without any fees or royalties. For distributing the game I would suggest that student projects aren't good candidates for professional game marketplaces. If you're doing this to add games to your portfolio I suggest putting the relevant assets and executables on a site like GitHub, and then point employers etc to that if they ask to see it.

1 points

I have yet to see a project for it that comes even close to being legitimate (as in - using blockchain in a way that enhances the game), and in general they all seem to be either scams, or so close to scams that you can't tell the difference. I see no reason for this to change, and no indication that blockchain gaming is the future (nor any reason to want it to be the future).

2 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.