ejexter Well-known member Joined Feb 21, 2014 Messages 211 Reaction score 0 Oct 2, 2014 #1 I can load this from website?? :yesyes: Code: while 8B71: render 0@ = load_texture_from_file "http://domain.com"
I can load this from website?? :yesyes: Code: while 8B71: render 0@ = load_texture_from_file "http://domain.com"
K Kenpagi Active member Joined Jun 12, 2014 Messages 96 Reaction score 0 Oct 2, 2014 #2 Impossible! Upvote 0 Downvote
P pepeelpubero Well-known member Joined Jan 21, 2014 Messages 433 Reaction score 1 Oct 2, 2014 #3 Download it with: Code: 0D92: 1@ = download_query url 2@ local_file "testfile.html" //2@ = url with "http://" If you want, you can check if it's downloaded: Code: 0D93: download_query 1@ get_state_to 3@ //If 3@ == 0, then file downloaded, if 3@ == -1, then process not ended, other value containt errorcode Then draw it: Code: 0B71: render 2@ = load_texture_from_file 1@ 0B73: render draw_texture 1@ pos 2@ 3@ size 4@ 5@ rotation 6@ color 7@ Tell me if you want an example and i will try to do it. Upvote 0 Downvote
Download it with: Code: 0D92: 1@ = download_query url 2@ local_file "testfile.html" //2@ = url with "http://" If you want, you can check if it's downloaded: Code: 0D93: download_query 1@ get_state_to 3@ //If 3@ == 0, then file downloaded, if 3@ == -1, then process not ended, other value containt errorcode Then draw it: Code: 0B71: render 2@ = load_texture_from_file 1@ 0B73: render draw_texture 1@ pos 2@ 3@ size 4@ 5@ rotation 6@ color 7@ Tell me if you want an example and i will try to do it.