Questions tagged [content-generation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
83 views

Optimal Approach for Transmitting and Rendering Large Pixel Art Game Maps in Unity

I'm working on a pixel art game in Unity, and my backend (Which is actually written on Golang) has generated a massive dataset of tiles for a 1000 by 1000 world (it could be even more). I'm wondering ...
Resorter's user avatar
0 votes
1 answer
242 views

What is the hardest thing in game development process? [closed]

I am new to the game-dev area, although I have professional experience in programming and some other qualities like making graphics in Photoshop or 3D modelling. Currently I am learning one widely ...
GKozinski's user avatar
  • 133
1 vote
1 answer
149 views

How do I fix this Minecraft type game bug?

I'm making a building game similar to minecraft, except you can place other types of objects as well. I am right now building the functionality of placing cubes. I'm using unity. here's my code. ...
Millard's user avatar
  • 500
0 votes
1 answer
2k views

How to use grammars for procedural generation?

I am working on a system to procedural generate a house using this article. I am trying to understand how grammars work and are made I have found very little information on the topic online. From my ...
Robert Harbison's user avatar
0 votes
3 answers
86 views

Help generating clues in a treasure finding game

I am a high school student creating a small game in unity for fun and would greatly appreciate your opinions on this game mechanic. I have a treasure finding game that takes place in a randomly ...
Ben Goodchild's user avatar
18 votes
1 answer
4k views

Why is this Procedural Content Generation while that other isn't?

I'm reading the online Procedural Content Generation book and on chapter 1, page 2 there's one example of what PCG is and another of what PCG is not and I can't tell them apart. This is PCG according ...
Adocad's user avatar
  • 287
0 votes
1 answer
937 views

Creating a random lottery system

I would like the game to give all 16 characters (15 NPC + 1 player) a number: 1-16. This number stays the same no matter what and is unique only to that character so two characters cannot have the ...
Chris Soares's user avatar
4 votes
3 answers
910 views

How to make my Diamond-Square-algorithm less 'random'?

I'm currently writing a world generator for a Tilemap-Engine in C++. But there is a little problem concerning the Water to Land ratio. My DiamondSquare-class returns a field of random float-values ...
epep1234321's user avatar
4 votes
0 answers
100 views

2D character generation [duplicate]

I am creating a 2D game for mobile phones. It's in pixel style. Now I want the player to be able to create his own character based on givin items like: Hair, Eyes, Skin, Clothes, etc. (like in ...
Luftbaum's user avatar
  • 141
7 votes
1 answer
12k views

Using .svg in Unity

Creating resolution independent sprites is tough and memory consuming. How can .svg assets be used in Unity for any kind of 2D game? What are alternatives to .svg that can be used in Unity? Can ...
user75648's user avatar
  • 181
-1 votes
1 answer
51 views

What are the key ingredients for a good game-specific community website? [closed]

Feel free to use an example. I am thinking things like guides, tools that help a player make certain in-game choices, discussion boards, services that enhance player interaction, mods, blog/news, etc. ...
MetaGuru's user avatar
  • 263
5 votes
1 answer
1k views

Filling a room with random furniture

This is a rather complex question and I'm more hoping for general algorithms anyone might have heard of. I wish to generate randomly sized rooms. Each of these rooms has a type and a corresponding ...
PeeC's user avatar
  • 439
3 votes
4 answers
580 views

How should loot be distributed across dungeon levels?

I am making a dungeon crawler; as the player character adventures down through increasingly difficult floors of a dungeon, they collect more valuable treasure. What is a good algorithm to determine ...
Code Whisperer's user avatar
41 votes
9 answers
15k views

Why is it bad to hard-code content?

I know most games store dialogue text in files, but I've also seen a few text-based games actually program the content (map, choices, possible player commands, story text) into the game code. I can ...
user50286's user avatar
  • 509
2 votes
1 answer
184 views

How do I serialise a mesh to a text file?

I'm building a game engine in OpenTK (OpenGL for C#). Is it ossible to take a terrain mesh (in any format) and convert it into a text file (or a really small character-filled file, no more than a few ...
Gumptastic's user avatar
1 vote
2 answers
577 views

How do I scale a rectangle image while retaining its border thickness?

I want to create a programmatically scalable image like this: scales to . Both have a one pixel border. If I scaled from the first to the second in Paint.NET, there would be a two pixel horizontal ...
Kyranstar's user avatar
  • 334
5 votes
3 answers
2k views

Pathfinding Search for Path of Specific Length

I am creating a roguelike. This question applies to random map generation. First, I generate areas using a BSP algorithm, where I randomly divide the map into areas. Then, I generate a graph of the ...
Spinnernicholas's user avatar
3 votes
1 answer
815 views

Creating specular maps for textures

How does one usually go about this? Is this something that generally an artist has to do manually, or are there decent procedural methods (such as with normal mapping where one can look for gradients ...
TravisG's user avatar
  • 4,402
3 votes
2 answers
2k views

Tools to generate convex collision geometry

Does anyone know tools to generate convex collision geometry from given 3D model? For example, UDK's Static Mesh Editor can do this; Valve instead recommends to use smoothing in 3D editor. Desired ...
Alf's user avatar
  • 219
33 votes
5 answers
73k views

How can I generate Sudoku puzzles?

I'm trying to make a Sudoku puzzle generator. It's a lot harder than I expected and the more I get into it, the harder it gets! My current approach is to split the problem into 2 steps: Generate a ...
user223150's user avatar
5 votes
1 answer
237 views

How to create a reasonably sized urban area manually but efficiently

I have a game concept that only really works in an urban area that is of reasonable scale and diversity. In terms of what it should look like, think GTA, in terms of the size think more like a small ...
Overv's user avatar
  • 173
4 votes
1 answer
4k views

How is the terrain generated in Commandos and Commandos game clones/look-alikes?

The Commandos series of games and its similar western counterpart, Desperados, use a mix of 2D and 3D elements to achieve a very pleasing and immersive atmosphere. Apart from the concept that alone ...
teodron's user avatar
  • 3,291
13 votes
3 answers
19k views

Road / river generation on 2d grid map

This is a newbie question, but here it goes: My map is a 2d grid, and I want to generate roads and rivers. The route from the starting to ending point must not be the optimal route in number of tiles....
Markos Fragkakis's user avatar
30 votes
4 answers
2k views

Can I run into legal issues with random names?

I'm currently building a game whose NPC's are going to be assigned a random gender and a random name for the right gender. To do this I will be using a "database" of names (actually a text file with ...
Jonathan Pitre's user avatar
6 votes
5 answers
3k views

Finding inspiration / help for making up (weapon) names [closed]

I'm really bad with words, especially with English words. Currently I'm struggling to make a good weapon names for my game, it needs to display the weapon functionality (weak/strong/fast/ballistic etc)...
Rookie's user avatar
  • 239
1 vote
3 answers
803 views

What's the best way to generate an NPC's face using web technologies?

I'm in the process of creating a web app. I have many randomly-generated non-player characters in a database. I can pull a lot of information about them - their height, weight, down to eye color, hair ...
Vael Victus's user avatar
3 votes
2 answers
2k views

Creating a basic character skeleton from code

I'd like to have a procedural system that uses a string of data to create a 3d creature. The way I've thought to do this is to use the code to generate a simple creature skeleton (I'll get to the skin ...
user12092's user avatar
2 votes
1 answer
390 views

Are mobile devices a viable platform/market for "User-Generated Content"-based games?

I intend to do a lot of research into this, but I know this community has a knack for delivering hard-to-find gems of knowledge, so I figured I'd ask here first. Preamble (My Situation) I'm ...
Jordaan Mylonas's user avatar
1 vote
1 answer
1k views

Going from using XMLSerializer to using the XNA Content Pipeline

A well known limitation of using the XNA Content Pipeline is that it is not included in the XNA redistributable. So, if you want to create an editor for your game, the designer must download the whole ...
pek's user avatar
  • 2,787
6 votes
2 answers
12k views

How do I generate a torus mesh?

I'm trying to programmatically generate vertices and indices for a torus. I found this piece of code somewhere, and it looks like it works, but I'm not certain it is correct. With my little knowledge ...
ySgPjx's user avatar
  • 175
37 votes
9 answers
12k views

Procedural world generation oriented on gameplay features

In large procedural landscape games, the land seems dull, but that's probably because the real world is largely dull, with only limited places where the scenery is dramatic or tactical. Looking at ...
Richard Fabian's user avatar