integrate my project in godot with a web wordpress

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By aljuarismi

Hello community, I want to integrate my project in godot with a web app developed in wordpress. I need to pass parameters from wordpress to godot.
Do you know any way to implement this?

:bust_in_silhouette: Reply From: sash-rc

The easiest (and probably much reliable) what comes to mind is to get parameters from your WP with HTTPRequest at Godot side.

Hi,
I load a game in Url with params (like: www.mysite.com/game/25).

How I can get the Url string or only params in GDScript?

aljuarismi | 2021-06-30 23:57

No matter how you load your game. GDScript part example provided in the link (documentation). On a webserver side (WP) you have to provide an URL (like API) which will respond with text or json containing your parameters.

sash-rc | 2021-07-01 10:56