-
Postów
3 093 -
Dołączył
-
Ostatnia wizyta
Typ zawartości
Profile
Forum
Wydarzenia
Treść opublikowana przez Marek.S
-
GML var text_; text_ = argument0 text_ = string_replace_all(text_,'a','!') text_ = string_replace_all(text_,'b','@') text_ = string_replace_all(text_,'c','$') text_ = string_replace_all(text_,'d','%') text_ = string_replace_all(text_,'e','^') text_ = string_replace_all(text_,'f','&') text_ = string_replace_all(text_,'g','*') text_ = string_replace_all(text_,'h','(') text_ = string_replace_all(text_,'i',')') text_ = string_replace_all(text_,'j','-') text_ = string_replace_all(text_,'k','_') text_ = string_replace_all(text_,'l','=') text_ = string_replace_all(text_,'m','+') text_ = string_replace_all(text_,'n','`') text_ = string_replace_all(text_,'o','[') text_ = string_replace_all(text_,'p',']') text_ = string_replace_all(text_,'r','{') text_ = string_replace_all(text_,'s','}') text_ = string_replace_all(text_,'t',';') text_ = string_replace_all(text_,'u',':') text_ = string_replace_all(text_,'w','\') text_ = string_replace_all(text_,'y','?') text_ = string_replace_all(text_,'z','<') text_ = string_replace_all(text_,'x','>') text_ = string_replace_all(text_,'v','/') return text_ // ***
-
string_replace nie zmienia ciągu, tylko zwraca nowy ze zmienionymi wartościami. Więc wypadało by go doc zegoś przypisać, hm? btw. string_replace zamienia tylko pierwszy znak ciągu, lepiej użyj: string_replace_all( .. ) GML (Code) var text_; text_ = argument0 text_ = string_replace_all(text_,'a','!') text_ = string_replace_all(text_,'b','@') text_ = string_replace_all(text_,'c','$') text_ = string_replace_all(text_,'d','%') text_ = string_replace_all(text_,'e','^') text_ = string_replace_all(text_,'f','&') text_ = string_replace_all(text_,'g','*') text_ = string_replace_all(text_,'h','(') text_ = string_replace_all(text_,'i',')') text_ = string_replace_all(text_,'j','-') text_ = string_replace_all(text_,'k','_') text_ = string_replace_all(text_,'l','=') text_ = string_replace_all(text_,'m','+') text_ = string_replace_all(text_,'n','`') text_ = string_replace_all(text_,'o','[') text_ = string_replace_all(text_,'p',']') text_ = string_replace_all(text_,'r','{') text_ = string_replace_all(text_,'s','}') text_ = string_replace_all(text_,'t',';') text_ = string_replace_all(text_,'u',':') text_ = string_replace_all(text_,'w','\') text_ = string_replace_all(text_,'y','?') text_ = string_replace_all(text_,'z','<') text_ = string_replace_all(text_,'x','>') text_ = string_replace_all(text_,'v','/') return text_ // ***
-
używając tych wszystkich funkcji w argumentach musisz podać identyfikator pliku zwrócony przez file_open... a nie jego nazwę. GML plik = file_text_open_write( 'cos.txt' ) file_text_write_string( plik , code ) file_text_close( plik ) file_ = file_text_open_read( 'cos.txt' ) tekst = file_text_read_string( file_ ) file_text_close( file_ )
-
Przykład
Marek.S odpowiedział(a) na kubal09 temat w Gotowe Skrypty, przykłady, dodatki, silniki 3D dla GM
https://gmclan.org/index.php?sciagnijplik=106 ? -
raczej nie. Większość funkcji z wykorzystaniem struktur danych wymaga pro. Nie możesz tego AVG wyłączyć?! :o przepisz siobie to na gm6
-
Żeby była jasność: https://gmclan.org/up1558_12_okno.html ;)
-
i tak on mało co działał..
-
http://www.dafont.com/ i http://www.webpc.pl/czcionki/
-
:o ale w skompilowanym exe na pewno będzie: https://gmclan.org/up1558_4_add_font.html
-
wytłumaczenie: https://gmclan.org/up1558_11_add_font.html
-
ta wtyczka zgrywa Ci pliki gry na dysk i tylko ją odpala. To wszystko. niedawno był taki temat, poszukaj tam ktoś się rozpisywał i wyjaśniał :P
-
Nazwa czcionki jest zupełnie inna niż nazwa pliku z czcionką. Najlepiej odszukaj sobie czcionkę w wordzie i skopiuj sobie jej nazwę. Jeśli dodasz czcionkę do gm metodą Font >> Add Font, to gm będzie ją czytał ze swojego skolpilowanego exe i nie ma znaczenia czy gracz ma ją wgraną w system czy nie...
-
niestety nie jest to możliwe.
-
o crackach se mogę gadać ile mi do łba wlezie, przecież nikomu nic nie oferuje... a i na pisanie nie na temat też się wypnę, bo przecież pomagam użytkownikowi z jego problemem w gm.
-
dzizas to wyłącz AVG.
-
GML //Jeśli czcionka jest w pliku z grą: nazwa_pliku = 'font.tff' file_copy( nazwa_pliku , 'C:\Windows\Fonts\' + nazwa_pliku ) E: nie mozesz sobie po prostu zrobić: Font >> Add Font?
-
żeby wczytać czcionkę pierw musisz ją zainstalować w windowsie. (robisz to ręcznie bądz kopiujesz plik przez gm - C:\windows\font\) następnie załadowanie czcionki do gm, wygląda to następująco: GML nazwa = 'nazwa_czcionki.ttf' //podajesz tu nazwę Twojego pliku czcioki rozmiar = 20 //rozmiar czcionki blod = true //pogrubienie (true - tak, false - nie) italic = true //kursywa (true - tak, false - nie) my_font = font_add( nazwa, rozmiar, bold, italic, 1, 255 ) a użycie tej czcionki to: GML draw_set_font( my_font ); draw_text( 0, 0, 'Hello World!' );
-
a.. wydało się. Wiemy kto rozsyła cracki :P to nie wirus, tylko pie.ony avast go tak wykrywa. Na czas używania gma wyłączaj ochronę dostępową :)
-
musisz: GML (Create) rysuj = false GML (Step) if (keyboard_check(vk_enter)) rysuj = !rysuj GML (Draw) if ( rysuj ) { vx=view_xview[0]; vy=view_yview[0]; draw_set_alpha(alpha/2); draw_set_color(c_white); draw_rectangle(vx+0,vy+224,vx+304,vy+304,faldrw); draw_set_color(c_black); draw_text(vx+0,vy+232,'To kłoda'); } rozumiesz?
-
GML (Przeadowanie) roznica = naboje - nabojemagaynek; naboje = nabojemagaynek; allnaboje -= roznica; E: Polecam się: https://gmclan.org/up1558_11_aerial_wars.html https://gmclan.org/up1558_11_auto_ladwanie_strzelanie.html https://gmclan.org/index.php?sciagnijplik=151
-
GML draw_set_alpha( napis_alpha/100 )? :3
-
nie dawaj im solid bo się zatną. Zrób patenta, przypisz go hero i potworkow i wstaw jego nazwę w kod :)
-
zapomniałem dodać przeczenia xD GML if ( not place_meeting( x + lengthdir_x( 5, direction ), y + lengthdir_y( 5, direction ) , all ) speed = 5 else speed = 0
-
spróbuj: GML if ( place_meeting( x + lengthdir_x( 5, direction ), y + lengthdir_y( 5, direction ) , all ) speed = 5 else speed = 0
-
w evencie end step.