totsitlyred.com

Hoe om `n veg spel in spel Maker Maak

Game Maker is `n sagteware program versprei deur YoYo games wat jou toelaat om speletjies met min skep om geen programming ervaring. Gevorderde gebruikers kan komplekse speletjies met ingeboude script taal Game Maker se skep. Veg speletjies word beskou as `n komplekse spel te maak as hulle normaalweg 2D. Selfs met Game Maker, sal dit `n agtergrond in die maak van speletjies om een ​​te skep vereis.

  • Gaan na die webwerf "YoYo Games". Aflaai en installeer "Game Maker 8" op jou rekenaar. Herlaai die rekenaar indien nodig.

  • Blaai deur en lees al die tutoriale op die webwerf om te verstaan ​​hoe om speletjies met Game Maker 8 skep.

  • Stel `n basiese vegter spel te begin. Dit sal jou help om vertroud te wees met die eienskappe van Game Maker 8. kry Jy kan `n mens te skep deur die invoer van die volgende kode in die spel Maker 8 skep bladsy en klik op die "Begin" knoppie:

    self.maxhp = argument0;

    self.hp = argument0;

    self.rate = argument1;

    self.team = vals;

    self.root = 0;

    self.pari = 0;

    self.poison = 0;

    self.alarm [0] = 30;

    self.pointadd = argument2;

    self.targetset = vals;

    self.moving = vals;

    self.mvspd = argument3;

    self.mvspdorg = argument3;

    self.energy = 100;

    self.energyrec = argument4

    self.cooldown = 0;

    self.atkmode = 0;

    self.selected = vals;

    self.slow = 0;

    self.nearby = 0;

    self.nearby2 = 0;

    self.invisible = vals;

    self.attackvisi = true;

    self.automove = true;

    self.test = vals;

    self.virus = 0;

    self.inview = true;

  • Klik op die "Begin" knoppie weer en tik die volgende kode so goed:

    As self.root> 0

    {Self.root - = 1}

    As self.pari> 0

    {Self.pari - = 1}

    As self.slow> 0

    {Self.slow - = 1}

    As self.virus> 0

    {Self.virus - = 1}

    As self.slow> 1800

    {Self.slow = 1800}

    As self.root> 1800

    {Self.root = 1800}

    As self.pari> 1800



    {Self.pari = 1800}

    As self.cooldown> 0

    {Self.cooldown - = 1}

    As self.pari> 0

    As self.cooldown = 0

    self.cooldown = 1

    As self.energy < 100

    As self.cooldown = 0

    {Self.energy + = self.energyrec}

    As self.selected = true

    {Obj_select.x = x- obj_select.y = y}

    As self.hp < self.maxhp

    As self.cooldown = 0

    As self.poison = 0

    As self.virus < 5400

    {Self.hp + = self.maxhp / 1600}

    As self.energy> 100

    self.energy = 100

    As self.hp> self.maxhp

    self.hp = self.maxhp

    self.depth = -y / (room_height)

    As self.targetset = true

    As keyboard_check (vk_shift) = vals

    {Obj_follow.x = x- obj_follow.y = y}

    As self.poison> 0

    As ewekansige (90) < 1

    self.poison - = 1;

    As self.poison> 10

    As ewekansige (30) < 1

    self.poison - = 1;

    As self.slow> 0

    self.mvspd = ((self.mvspdorg) / 2);

    anders

    self.mvspd = self.mvspdorg;

    Druk "Enter" en kliek op "OK."

  • Skep `n basiese aanval met die volgende kode:

    self.tarid = -1;

    met (mob_parent)

    {Indien distance_to_object (ander) < 32*3 {if self.selected = true {if self.id != other.id

    {Other.tarid = self.id-}}}}

    As self.tarid! = -1

    {Met (self.tarid)

    {Self.hp - = 32 {indien self.pari < 120 {self.pari = 120-}} instance_create(x,y,dark_strike)-}

    self.energy - = 65- self.cooldown = 30-}

    Klik op "OK" en dan kliek "toets Game."

Deel op sosiale netwerke:

Verwante