drraccoon
  • Joined on 2020-02-11
drraccoon commented on pull request drraccoon/GD-Polo#9 2020-06-29 13:00:31 -04:00
Project reorganization

I just noticed last night the clever usage of getting OS name for the username default. Very clever!

I added a new "issue" for enchancing this by writing custom usernames to disk (ini file?) and reading it upon next open. drraccoon/GD-Polo#10

It would be nice to remember the last defined IP and ports too.

drraccoon opened issue drraccoon/GD-Polo#10 2020-06-29 12:59:40 -04:00
Write custom username to file
drraccoon commented on issue drraccoon/GD-Polo#8 2020-06-28 21:59:18 -04:00
Join, Return failed or successful

Currently, the game has a button "join game" connected to a signal, this triggers func join_game() which calls:

var host = NetworkedMultiplayerENet.new()
host.create_client(ip, port)
get_tree().set_network_peer(host)

Although, there is no checks (yet) to return if a server was found at that IP address and port. Implementation was attempted by doing:

var host = NetworkedMultiplayerENet.new()
	var joinresult = host.create_client(ip, port)
	if (joinresult==OK):
		get_tree().set_network_peer(host)
		print("Netplay - It worked! I should be connecting...")
	else:
		print("Netplay - I was unable to connect to the server.")

But host.create_client(ip, port) returns 0 when connecting to nothing, and when connecting to a known server... Its possible that returning a result off that call isnt the proper way to do this?

drraccoon closed issue drraccoon/GD-Polo#6 2020-06-28 21:55:33 -04:00
Create lobby dialog once session is hosted
drraccoon closed issue drraccoon/GD-Polo#7 2020-06-28 21:55:26 -04:00
Join Game using IP Field
drraccoon pushed to master at drraccoon/GD-Polo 2020-06-28 21:51:28 -04:00
f298ca909c Forward progress on joining sessions. Pre-game lobby created.
drraccoon pushed tag ttins to drraccoon/GD-Polo 2020-06-28 21:51:28 -04:00
drraccoon commented on issue drraccoon/GD-Polo#4 2020-06-28 20:22:10 -04:00
File naming conventions

I tend to use camelCase for files and directories

While that could work, for the sake of linux compatablity and Godots best practices document, for this project, im trying to keep all lowercase for files and directories.

drraccoon pushed to master at drraccoon/GD-Polo 2020-06-28 20:20:00 -04:00
f9a788d7db Merge pull request 'Project reorganization' (#9) from tonytins/PoloTins:project/reorganization into master
dbac16804c Project reorganization
Compare 2 commits »
drraccoon merged pull request drraccoon/GD-Polo#9 2020-06-28 20:20:00 -04:00
Project reorganization
drraccoon approved drraccoon/GD-Polo#9 2020-06-28 20:19:56 -04:00
Project reorganization
drraccoon renamed repository from Polo-Godot to drraccoon/GD-Polo 2020-06-26 21:20:52 -04:00
drraccoon opened issue drraccoon/GD-Polo#8 2020-06-26 21:10:18 -04:00
Join, Return failed or sucessful
drraccoon opened issue drraccoon/GD-Polo#7 2020-06-26 21:09:31 -04:00
Join Game using IP Field
drraccoon opened issue drraccoon/GD-Polo#6 2020-06-26 21:08:09 -04:00
Create lobby dialog once session is hosted
drraccoon opened issue drraccoon/GD-Polo#5 2020-06-26 19:14:04 -04:00
Jumpy font on labels
drraccoon commented on issue drraccoon/GD-Polo#3 2020-06-26 18:57:42 -04:00
File naming conventions

duplicate

drraccoon closed issue drraccoon/GD-Polo#3 2020-06-26 18:57:36 -04:00
File naming conventions
drraccoon opened issue drraccoon/GD-Polo#3 2020-06-26 18:56:08 -04:00
File naming conventions
drraccoon opened issue drraccoon/GD-Polo#4 2020-06-26 18:56:08 -04:00
File naming conventions