Skocz do zawartości

Amadeo

Użytkownicy
  • Postów

    77
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez Amadeo

  1. zastosujcie ten kod w evencie step, poprowadzcie bohatera i zobaczycie jak dziwnie skręca

     

     

    duzy edit :P:

     

    znalazlem chyba odpowiedz, ale jestem slaby w tego typu angielskim:

     

    Real-valued functions
    The following functions exist that deal with real numbers. 
    
    random(x) Returns a random real number between 0 and x. The number is always smaller than x.
    choose(val1,val2,val3,...) Returns one of the argements choosen randomly. The function can have up to 16 arguments.
    abs(x) Returns the absolute value of x.
    sign(x) Returns the sign of x (-1, 0 or 1).
    round(x) Returns x rounded to the nearest integer.
    floor(x) Returns the floor of x, that is, x rounded down to an integer.
    ceil(x) Returns the ceiling of x, that is, x rounded up to an integer.
    frac(x) Returns the fractional part of x, that is, the part behind the decimal dot.
    sqrt(x) Returns the square root of x. x must be non-negative.
    sqr(x) Returns x*x.
    power(x,n) Returns x to the power n.
    exp(x) Returns e to the power x.
    ln(x) Returns the natural logarithm of x.
    log2(x) Returns the log base 2 of x.
    log10(x) Returns the log base 10 of x.
    logn(n,x) Returns the log base n of x.
    sin(x) Returns the sine of x (x in radians).
    cos(x) Returns the cosine of x (x in radians).
    tan(x) Returns the tangent of x (x in radians).
    arcsin(x) Returns the inverse sine of x.
    arccos(x) Returns the inverse cosine of x.
    arctan(x) Returns the inverse tangent of x.
    arctan2(y,x) Calculates arctan(Y/X), and returns an angle in the correct quadrant.
    degtorad(x) Converts degrees to radians.
    radtodeg(x) Converts radians to degrees.
    min(val1,val2,val3,...) Returns the minimum of the values. The function can have up to 16 arguments. They must either be all real or all strings.
    max(val1,val2,val3,...) Returns the maximum of the values. The function can have up to 16 arguments. They must either be all real or all strings.
    mean(val1,val2,val3,...) Returns the average of the values. The function can have up to 16 arguments. They must all be real values.
    median(val1,val2,val3,...) Returns the median of the values, that is, the middle value. (When the number of arguments is even, the smaller of the two middle values is returned.) The function can have up to 16 arguments. They must all be real values.
    point_distance(x1,y1,x2,y2) Returns the distance between point (x1,y1) and point (x2,y2).
    point_direction(x1,y1,x2,y2) Returns the direction from point (x1,y1) toward point (x2,y2) in degrees.
    lengthdir_x(len,dir) Returns the horizontal x-component of the vector determined by the indicated length and direction.
    lengthdir_y(len,dir) Returns the vertical y-component of the vector determined by the indicated length and direction.
    is_real(x) Returns whether x is a real value (as opposed to a string).
    is_string(x) Returns whether x is a string (as opposed to a real value).

  2. kiedy szukałem fajnych kodów w gm, natknąłem się na kilka których nie znam. Napiszcie co znaczą.

    arccos(32);
    arcsin(64);
    arctan(96);
    arctan2(96,32);
    if (keyboard_check(vk_left))
    {
    hspeed = -4;
    }
    if (keyboard_check(vk_right))
    {
    hspeed = 4;
    }
    if (keyboard_check(vk_up))
    {
    vspeed = -4;
    }
    if (keyboard_check(vk_down))
    {
    vspeed = 4;
    }
    sqr(32);
    sqrt(32);
    sign(64);
    sin(32);
    degtorad(32);
    ds_list_create();
    frac(64);
    floor(96);
    log10(128);
    log2(96);
    ceil(16);
    mean(8,0,32,64);
    min(32,64,96,128);
    radtodeg(96);
    random(16);
    tan(32);

     

    oprócz ruchów :P np. if (keyboard...

  3. przepraszam gnysiu.

    No tak narazie to w sumie robie. Uczę się kody i jednocześnie sprawdzam funkcje. na przykład dzisiaj poznałem image_angle,image_alpha, cd_open_door. Uczę się. I chyba każdy wie, że z kodu zrobi lepszą gre. Takie przynajmniej jest moje zdanie. A ty dobre robisz gry? Czy zrobiłeś to samo co teraz napisałeś?

  4. Chcialem dac w BMP ale imageshack cos mi szfankowal... A paint jest najlepszy ;)

     

    Nie paint jest najlepszy.

    Najlepszy jest Paint.Net. Pobierz a zobaczysz że to coś w stylu Photoshop, prawie to samo w dodatku darmowe. Tylko jak masz NET.Frametwork 1.1 to pobierz sobie wersje 2.0 bo nie pójdzie instalka.

  5. moim zdaniem, na moje dzieło muszę poświęcić jeszcze wiele czasu. Nawet i około 1,5 miesiąca. Ale i tak się tym nie przejmuje. Być moze masz racje LittleFish. Moze nie mogę się śpieszyć.

    W moim PcManie widzę że jest sporo niedróbek. Spróbuję teraz naprawdę stworzyć super grę, mam nadzieje że nie będzie kleksa. Ale jeszcze sporo czasu. Grafiki muszę jeszcze dużo porobić! I w ogóle! Zobaczymy. I proszę jeszcze o kilka propozycji

  6. Jeśli mam być szczery, powiem dosadnie: jakoś nie interesuje mnie PcMan 2.0. Jedynka była słaba, a twoje statystyki nie wyglądają zachęcająco.

    no wiem ze byla slaba, ale moje teraz zadanie stworzyc dwojke ciekawą i dobrą.

    I zaproponujcie, co bym mógł dodać. Proszę

  7. dlugo juz pracuje nad najnowszym wydaniem PcMana, i dziś zwracam się do was z pytaniem.

    Nie bardzo wiem, co by zaciekawiło graczy, ale zrobiłbym wszystko by choć trochę PcMan 2 był ciekawy i oceny nie były mniejsze niż 3. Długo pracuje, patrze jakie ludzie robią gry. Jaka gra wam się podoba.

    Tutaj zaciekawie użytkowników:

     

    w nowym PcMan 2.0 będzie:

    8 rodzaji potworów

    25 leveli + 2 bonusowe

    całkowicie moja grafika

    muzyka podczas gry.

     

    Trochę będzie roboty i będzie zajmowało miejsca, lecz mam nadzieje że warto będzie.

    Teraz was poproszę:

    Zaproponujcie mi co bym mógł dać w moim PcManie. Co jeszcze mogę dodać. Chcę, aby moja gra była niezwykle dopracowana i ciekawa. Pomóżcie!

  8. marzipan zapisuje model do formatu .d3d i .mod.

    i nie trza żadnedo dll'a aby w grze umiescic model tego formatu.

    W create obiektu wstawiasz:
    
    nazwamodelu = d3d_model_create();
    d3d_model_load(nazwamodelu,"twojmodel.d3d");

     

    w draw wstawiasz:
    
    d3d_model_draw(nazwamodelu,x,y,z,textura);

    bardzo ci dziękuje, jestem ci wdzięczny.

    Ale jeżeli chodzi o teksture, wybieramy własną nazwę?

    Prosiłbym o przykład :)

     

    PS. cos dlugo konwertuje ten Marzipan hehe!

  9. denna nudna gra.

    Grafika:

    jestes the best on beznadziejna grafika

    Silnik Gry:

    jedyna rzecz ktora mi sie choc troche spodobala

    muza:

    bez komentarza

    grywalność:

    nudy

     

    =

    za to moge dac 1,5 gwiazdy, ale skoro tyle niema to 2, na zachete abys nastepnym razem sie postaral!\

    ale :) bądź

×
×
  • Dodaj nową pozycję...