evolving aesthetic maps for a real time strategy game

14
Evolving Aesthetic Maps for a Real-Time Strategy Game Raúl Lara-Cabrera, Carlos Cotta and Antonio J. Fernández-Leiva Dpto. Lenguajes y ciencias de la computación Universidad de Málaga

Upload: keldonspain

Post on 01-Jul-2015

114 views

Category:

Technology


0 download

DESCRIPTION

This study presents a procedural content generator method that have been able to generate aesthetic maps for a real-time strategy game. The maps has been characterized based on several of their properties in order to define a similarity function between scenarios. This function has guided a multi-objective evolution strategy during the process of generating and evolving scenarios that are similar to other aesthetic maps while being different to a set of non-aesthetic scenarios. The solutions have been checked using a support-vector machine classifier and a self-organizing map obtaining successful results (generated maps have been classified as aesthetic maps).

TRANSCRIPT

Page 1: Evolving aesthetic maps for a real time strategy game

Evolving Aesthetic

Maps for a Real-Time

Strategy Game

Raúl Lara-Cabrera, Carlos Cotta and Antonio J. Fernández-Leiva

Dpto. Lenguajes y ciencias de la computación

Universidad de Málaga

Page 2: Evolving aesthetic maps for a real time strategy game

Procedural Content

Generation (PCG)

Automated production of game content by pseudo-random

process

Maps and levels Weapons, ítems, … Music and effects

Page 3: Evolving aesthetic maps for a real time strategy game

Procedural Content

Generation (PCG)

Page 4: Evolving aesthetic maps for a real time strategy game

The game: Planet Wars

Page 5: Evolving aesthetic maps for a real time strategy game

Automatic map generator

EVOLUTIONARY ALGORITHM

Self-adaptive evolutionary

strategy (ES)

(µ+λ) generational scheme

with µ=10 y λ=100

Binary tournament selection

Individual’s evaluation is

based on game statistics

gathered by the

tournament system

TOURNAMENT SYSTEM

It executes games that take

place on generated maps

and gathers statistics

3 artificial players (bots)

ranked in the AI Challenge

Top 10 (Planet Wars)

Page 6: Evolving aesthetic maps for a real time strategy game

Evolutionary algorithm:

representation

Page 7: Evolving aesthetic maps for a real time strategy game

Evolutionary algorithm:

operators

Cut & splice recombination:

Gaussian mutation (for real-valued parameters) and

geometric mutation (for integer parameters):

Parents

Children

Page 8: Evolving aesthetic maps for a real time strategy game

Improving maps’ aesthetics

Although we get balanced and dynamic maps, they have

bad aesthetics

The idea: use an evaluation function that measures how

aesthetic a map is

Page 9: Evolving aesthetic maps for a real time strategy game

Measuring aesthetics

Page 10: Evolving aesthetic maps for a real time strategy game

Evaluation and results

Two sets of maps labeled by

an expert:

Aesthetic

Non-aesthetic

Evolutionary multi-objective

algorithm:

Minimize the euclidean

distance to the aesthetic

maps set

Maximize the euclidean

distance to the non-

aesthetic maps set

Page 11: Evolving aesthetic maps for a real time strategy game

Validation

SVM

Aesthetic/non-aesthetic

clasiffier

Training set: maps included

in aesthetic and non-

aesthetic sets

Every non-dominated

solution (4289) is classified

as: aesthetic

SELF-ORGANIZED NETWORK

Page 12: Evolving aesthetic maps for a real time strategy game

Some examples

Page 13: Evolving aesthetic maps for a real time strategy game

Conclusions

Initial approach towards the procedural aesthetic map

generation

We have defined a method of map characterization based on

several of its maps’ geometric and morphologic properties

Two set of maps (aesthetics and non-aesthetics) as a baseline

to compare generated maps with

Evolution strategy whose objectives are minimize and

maximize the distance of the generated maps to the aesthetic

and non-aesthetics maps of the baseline

The solutions have been tested with a SVM (solutions classified

as aesthetic) and a SOM (solutions share the same region as

aesthetic-maps)

Page 14: Evolving aesthetic maps for a real time strategy game

ANYSELFTIN2011-28627-C04-01(Spanish MICINN)

DNEMESISTIC-6083 (Junta deAndalucía)