User Tools

Site Tools


start:wiki:engines:godot4:faq:web:download

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

start:wiki:engines:godot4:faq:web:download [2024/05/24 15:34] – created rufusstart: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+"/"+filename+".png")     var err = img.save_png(path+"/"+filename+".png")
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

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki