start:wiki:engines:godot4:faq:web:download
Differences
This shows you the differences between two versions of the page.
| start:wiki:engines:godot4:faq:web:download [2024/05/24 15:34] – created rufus | start:wiki:engines:godot4:faq:web:download [2024/05/24 15:40] (current) – file extensions changed from php to gd rufus | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Скачиваем png картинку: | Скачиваем png картинку: | ||
| - | <file php downloadPng.php> | + | <file php downloadPng.gd> |
| func save_png(img : Image, path : String, filename : String): | func save_png(img : Image, path : String, filename : String): | ||
| var err = img.save_png(path+"/" | var err = img.save_png(path+"/" | ||
| Line 12: | Line 12: | ||
| Скачиваем как обычный двоичный файл: | Скачиваем как обычный двоичный файл: | ||
| - | <file php downloadFile.php> | + | <file php downloadFile.gd> |
| func download_file(path : String, filename : String): | func download_file(path : String, filename : String): | ||
| var f = File.new() | var f = File.new() | ||
start/wiki/engines/godot4/faq/web/download.txt · Last modified: 2024/05/24 15:40 by rufus
