Keresés Kategóriák Kedvencek

Game Maker oktatás: Egyszerű FPS játék 1. rész

Készítette: hgfpax
2011. március 28. 22:51:04 - 12602 megtekintés
  • Ebben a videóban egy FPS (First Person Shooter) játék elkészítésében fogok segíteni.
  • Amire szükségünk van

    Game Maker
  • Címkék:

    game maker fps játék szoftver
.geri860. - 12 éve, 6 hónapja

Mikor lesz meg a második rész??ja és nekem a zt írja ki hogy:d3d_start()
d3d_set_hidden(true)
d3d_set_lighting(false)
d3d_set_culling(false)
texture_set_interpolation(false)
Ezek nem jók!!!!!!!!!!!!!!!!

hgfpax - 12 éve, 7 hónapja

S:

if (speed > -1) speed = min(-1,speed-0.4)

W:
var maxspeed;
if keyboard_check(vk_shift) maxspeed = 3 else maxspeed = 1.5;
if (speed < maxspeed) speed = min(maxspeed,speed+0.4);

hgfpax - 12 éve, 7 hónapja

End Step:

global.camx = x
global.camy = y
global.camsin = sin(direction*pi/180)
global.camcos = cos(direction*pi/180)

A:
var xy,yn;
xn = x - sin(direction*pi/180)
yn = y - cos(direction*pi/180)
x = xn; y = yn;

D:
var xn,yn;
xn = x + sin(direction*pi/180)
yn = y + cos(direction*pi/180)
x = xn; y = yn;

hgfpax - 12 éve, 7 hónapja

Step:

direction -= (display_mouse_get_x() -display_get_width()/2)/10
pitch += (display_mouse_get_y() -display_get_height()/2)/400
display_mouse_set(display_get_width()/2,display_get_height()/2)
pitch = max(min(pitch,89),-89)

hgfpax - 12 éve, 7 hónapja

Create:

d3d_start()
d3d_set_hidden(true)
d3d_set_lighting(false)
d3d_set_culling(false)
texture_set_interpolation(false)
friction = 0.2
z = 0
height = 8
pitch = 0
global.camx = x
global.camy = y
global.camsin = sin(direction*pi/180)
global.camcos = cos(direction*pi/180)