CREEPING IN THE GROUND LIKE A SOLDIER

If you have played Half-Life you know that the avatar needs sometime to creep.

In the demo try to go through the yellow passage. There are a collision...

We only need to change the avatarheight pressing the "c" key.

Changing the code:

etc.etc.

on control me
  avatarheight = 29 -- normal height
  if keypressed("c") then   
    avatarheight = 9 -- creeping 
    end if
    
    if keypressed(126) then   
      acc = 0.025
    else
     etc.etc.


PREVIOUS NEXT
T. CONTENTS HOMEPAGE