Processing math: 100%
+ - 0:00:00
Notes for current slide
Notes for next slide

Creación de Videojuegos

Review

1 / 67

Pathfinding

2 / 67

Question

Find a path from Graz to Munich using Breadth-First Search

3 / 67

Question

Find a path from Graz to Munich using Breadth-First Search

Find a path from Graz to Munich using Depth-First Search, when the neighbors are ordered alphabetically.

4 / 67

Question

Find a path from Graz to Munich using Greedy Search with the following heuristic values:

Bregenz: 101, Bruck: 203, Eisenstadt: 400, Graz: 301, Klagenfurt: 202, Lienz: 201, Linz: 200, Salzburg: 100, Vienna: 300

Find a path from Graz to Munich using A*.

5 / 67

Movement

6 / 67

Question

What is a NavMesh?

7 / 67

Question

What is a steering behavior? What does it do to control a character?

8 / 67

Question

Say you have a guard that you want to walk back and forth between two points. How would you accomplish that using steering behaviors?

9 / 67

Question

What are the three components of flocking behaviors?

10 / 67

AI Behavior

11 / 67

Question

What is a decision tree?

12 / 67

Question

What is a behavior tree?

13 / 67

Question

Design a decision tree for a soccer forward (delantero).

14 / 67

Question

Design a decision tree for a soccer forward (delantero).

Design a behavior tree for a soccer forward (delantero).

15 / 67

Question

Imagine a game where you and an opponent alternate with choosing bits for a binary number, until the number has 3 digits. If the resulting number is prime, you get points equal to its value, otherwise you lose points equal to its value. Draw the game tree for this game. What is your best first move?

Example:

You pick 0, your opponent picks 1, then you pick 1. The number is 011 in binary, or 3 in decimal, so you get 3 points.

16 / 67

Advanced AI

17 / 67

Question

How does Monte Carlo Tree Search work?

18 / 67

Question

What is gradient descent?

19 / 67

Question

What is gradient descent?

Name one of its main limitations.

20 / 67

Procedural Content Generation

21 / 67

Question

Why would we want to generate content with code?

22 / 67

Question

Why would we want to generate content with code?

Name 5 things we can generate procedurally.

23 / 67

Question

Say you want to create a game where you explore an abandoned mine. How could you automatically generate such a mine?

24 / 67

Question

What are L-Systems?

25 / 67

Question

What are L-Systems?

What are they most commonly used for, and why?

26 / 67

Physics Simulation

27 / 67

Question

Say you have an object with 100kg, and apply a force of 10N to it. What acceleration will the object experience?

28 / 67

Question

Say you have an object with 100kg, and apply a force of 10N to it. What acceleration will the object experience?

If we apply this force for 5 seconds, how fast will the object be moving afterwards?

29 / 67

Question

Say you have an object with 100kg, and apply a force of 10N to it. What acceleration will the object experience?

If we apply this force for 5 seconds, how fast will the object be moving afterwards?

If the object starts at the origin (0,0,0), we apply the force for 5 seconds, where will the object be located after a total of 10 seconds? (Assume the physics simulation runs once per second)

30 / 67

Question

The coulomb model of friction states that the friction force is

FfμFn

Explain the terms in this equation.

31 / 67

Question

The coulomb model of friction states that the friction force is

FfμFn

Explain the terms in this equation.

Name a scenario in which the friction force can be less than the right hand side of the equation.

32 / 67

Question

What is drag?

33 / 67

Question

What is drag?

How does drag differ from dry friction?

34 / 67

Collision Detection

35 / 67

Question

When is the dot product of two vectors greater than, less than, and equal to zero, (given their relative directions)?

36 / 67

Question

Say we have 3 spheres, S1, S2, and S3, each with radius 3. S1 is located at (0,0,0), S2 is located at (0,-4,3), and S3 is located at (3,0,4). Which of these sphere intersect, if any?

37 / 67

Question

Let there be a sphere S1 at (8,4,2) with radius 5, and another sphere S2 with radius 1 at (0,0,0). S2 then starts moving in x-direction with 1m/s. At what time do the two spheres collide?

38 / 67

Question

Let there be a sphere S1 at (8,4,2) with radius 5, and another sphere S2 with radius 1 at (0,0,0). S2 then starts moving in x-direction with 1m/s. At what time do the two spheres collide?

You can take the position of S2 as (t,0,0), and find the (smaller) value for t for which the two spheres collide.

39 / 67

Question

Given a ray R starting at (1,0,0), in direction (1,0,0), where is the projection of the center of the sphere S1, which is located at (8,3,4), on that ray?

40 / 67

Question

Given a ray R starting at (1,0,0), in direction (1,0,0), where is the projection of the center of the sphere S1, which is located at (8,3,4), on that ray?

Assume the sphere has radius 4. Does the ray intersect the sphere?

41 / 67

Question

Given a ray R starting at (1,0,0), in direction (1,0,0), where is the projection of the center of the sphere S1, which is located at (8,3,4), on that ray?

Assume the sphere has radius 4. Does the ray intersect the sphere?

Assume the sphere has radius 6. Does the ray intersect the sphere?

42 / 67

Question

Given a plane going through the point (2,0,1) with normal (0,-0.71,-0.71), for each of these three points determine if it lies in front, behind or on the plane.

P1 = (2,2,2)

P2 = (0,0,0)

P3 = (3,3,-2)

43 / 67

Question

Given a plane going through the point (1,2,3) with normal (0.71,0,-0.71), determine where a ray starting at (0,0,3) in direction (1,0,0) intersects that plane.

Recall: t=(po)ndn

44 / 67

Question

What is the separating planes theorem?

45 / 67

Question

Given the axis aligned bounding boxes of two objects, what can you say about the collision between the two objects if:

  • The AABBs collide?

  • The AABBs don't collide?

46 / 67

Question

What is Lockstep networking? What are its main limitations?

47 / 67

Question

How does client-side prediction work? Why is it used?

48 / 67

Question

Describe lag-reduction in client-server games. What are its advantages and drawbacks?

49 / 67

Question

How can you detect cheating in games?

50 / 67

Player Analytics

51 / 67

Question

Say you develop a PVP game in which three teams of three players each compete for an objective. How would you rank these players?

52 / 67

Question

Say you develop a PVP game in which three teams of three players each compete for an objective. How would you rank these players?

How would you assign players to matches?

53 / 67

Question

Name 3 things you can do to keep players engaged longer with your game.

54 / 67

Question

From the data you collected about your players, most of them play the game during their lunch break, from noon to 2pm. How could you use this information?

55 / 67

Testing and Balancing

56 / 67

Question

Name 2 kinds of bugs that are specific to games.

57 / 67

Question

Name 2 kinds of bugs that are specific to games.

Name an example for each of these two kinds.

58 / 67

Question

What is monkey testing?

59 / 67

Question

In your game players can get a sword that should deal 100 damage on average according to your balancing. Which of these five options would you choose, and why?

  • A sword that always deals 100 damage

  • A sword that deals a random amount of damage between 75 and 125 (uniformly distributed)

  • A sword that deals a random amount of damage between 50 and 150, with a normal distribution centered at 100

  • A sword that deals 100 damage on the first hit, 80 on the second hit, and 120 on the third hit

  • A sword that deals between 80 and 100 damage at random (uniformly distributed), but if you deal less than 100 damage, you get 10 bonus damage on the next attack (stacking, until you deal 100 or more damage)

60 / 67

Games

61 / 67

Question

Name three examples for non-traditional games.

62 / 67

Question

Name three examples for non-traditional games.

Describe an idea for a non-traditional game.

63 / 67

Monetization and Publishing

64 / 67

Question

What is a "Whale" in the context of free-to-play games?

65 / 67

Question

What is a "Whale" in the context of free-to-play games?

What percentage of players can you expect to get money from in a free-to-play game?

66 / 67

Question

Name at least two different providers you could publish your game through.

67 / 67

Pathfinding

2 / 67
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow