We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [content-generation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
132 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. ...
0
votes
1answer
359 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 ...
0
votes
3answers
74 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 ...
18
votes
1answer
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 ...
0
votes
1answer
492 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 ...
4
votes
3answers
678 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 ...
4
votes
0answers
87 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 ...
6
votes
1answer
10k views

Using .svg in unity(2D)

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 ...
-1
votes
1answer
47 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. ...
5
votes
1answer
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 ...
3
votes
4answers
413 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 ...
41
votes
9answers
14k 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 ...
2
votes
1answer
143 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 ...
1
vote
2answers
506 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 ...
5
votes
3answers
1k 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 ...
3
votes
1answer
727 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 ...
2
votes
2answers
1k 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 ...
17
votes
5answers
37k 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 ...
5
votes
1answer
212 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 ...
4
votes
1answer
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 ...
12
votes
3answers
15k 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....
30
votes
4answers
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 ...
6
votes
5answers
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)...
1
vote
3answers
469 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 ...
3
votes
2answers
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 ...
2
votes
1answer
382 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 ...
1
vote
1answer
992 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 ...
2
votes
1answer
7k 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 ...
36
votes
9answers
10k 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 ...