WWW.GAMEZ.RU


Гав!






Ой!Так, так, что у нас тут новенького?Ляляля ляляля ..
#Обсуждение игр. Выберите букву, на которую начинается игра >>

/   В Корень
  Добавить коды
  Игровой чат
  Игровые Новости
  Поиск в базе
  Основная база
  Обсуждение игр
  Скачать игры
  Что нового?
  Top100 Games
  Ваше мнение?
 
 
 
КосмоТанк.
КосмоТанк

Веселая ферма 3
Веселая ферма 3

Сокровища Монтесумы 3
Сокровища Монтесумы 3



Игра: Abuse (English language)
Тип документа : Hint Всего страниц : 44 Текущая : 9

For example, you might want to do a:
(if (> (ammo_total (current_weapon_type)) 0) to see if the player
can fire the weapon.
;;------------------------------------------------------------------------
Object Function: damage_fun
Usage: (damage_fun amount from hitx hity push_xvel push_yvel)
Returns: dunno
Causes the current object to take [amount] damage. I suppose this
entails subtracting [amount] from the object's hitpoints. It also
"moves" them with velocity [push], but I'm not sure if this is
added directly to the position or the velocity. [hit] is the location
that the damage occured, and I think [from] is the object that
damaged you, though I can't know for certain.
;;------------------------------------------------------------------------
Function: def_char
Usage: (def_char obj_class (sub_function)*)
Returns: nothing important
(def_char) is the function you use to create new types of objects.
Everything you see in the object window of the editor (and more)
has a def_char associated with it somewhere in the lisp code (unless
it's pre-compiled, but I don't think any are). [obj_class] is the
way you refer to the new object. There are several different
sub_functions that you have to call as parameters to the def_char
to fully define the object. They are described below:

Sub-function: vars
Usage: (vars [var]*)
The (vars) function creates a set of local variables visible
only inside this object. You can set these variables using
(setq) and you can get their values by just typing the token.
... Далее >>

Выберите страницу:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


(Все страницы)
Кто прислал: Ангел Свет (BFA) Когда: 26:10:1999 - стр. 9 -




Рейтинг@Mail.ru

Since 1998, Oleg Ilin ()
WWW.GAMEZ.RU 2024.04.19 00:43:42All Rights Reserved