{"height":"190","published":"2022-01-17 05:00:00","title":"\u3010Godot\u3011\u30ea\u30bd\u30fc\u30b9\u30d1\u30b9(res://)\u3068\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u30d1\u30b9(user://)\u306e\u9055\u3044\u306b\u3064\u3044\u3066","provider_url":"https://hatena.blog","url":"https://2dgames.jp/entry/godot-data-path/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/4975506/175525561411343","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/syun77/","version":"1.0","type":"rich","author_name":"syun77","blog_title":"2dgames.jp","categories":["Godot"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2F2dgames.jp%2Fentry%2Fgodot-data-path%2F\" title=\"\u3010Godot\u3011\u30ea\u30bd\u30fc\u30b9\u30d1\u30b9(res://)\u3068\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u30d1\u30b9(user://)\u306e\u9055\u3044\u306b\u3064\u3044\u3066 - 2dgames.jp\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://2dgames.jp/","width":"100%","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30ea\u30bd\u30fc\u30b9\u30d1\u30b9(res://)\u3068\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u30d1\u30b9(user://)\u306e\u9055\u3044\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002 \u30ea\u30bd\u30fc\u30b9\u30d1\u30b9\u306b\u3064\u3044\u3066 \u30ea\u30bd\u30fc\u30b9\u30d1\u30b9\u3068\u306f\u300cres://\u300d\u3067\u59cb\u307e\u308b\u30d1\u30b9\u3067\u3059\u3002\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u7528\u9014\u3067\u4f7f\u7528\u3057\u307e\u3059\u3002 \u30b7\u30fc\u30f3\u3092 preload() \u3067\u8aad\u307f\u8fbc\u3080 \u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092 load() \u3067\u52d5\u7684\u306b\u30ed\u30fc\u30c9\u3059\u308b \u958b\u767a\u4e2d\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u4fdd\u5b58\u306a\u3069\u3001\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u3044\u5834\u6240\u306b\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306b\u4f7f\u3046 \u6700\u3082\u3088\u304f\u4f7f\u3046\u306e\u304c\u30b7\u30fc\u30f3\u306e\u8aad\u307f\u8fbc\u307f\u3067\u3059\u306d\u3002 extends Node2D # \u30b7\u30fc\u30f3\u306e\u8aad\u307f\u8fbc\u307f var enemy = preload(\"res://Godot.tscn\") \u30ab\u30fc\u30c9\u30b2\u30fc\u30e0\u306a\u3069\u3067\u30ab\u30fc\u30c9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u4efb\u610f\u2026"}