Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide a new version v4.3.dev6.official [89850d553] #16

Open
catafest opened this issue May 11, 2024 · 2 comments
Open

provide a new version v4.3.dev6.official [89850d553] #16

catafest opened this issue May 11, 2024 · 2 comments

Comments

@catafest
Copy link

catafest commented May 11, 2024

I follow your project I try to update to new Godot version v4.3.dev6.official [89850d553]
But I cannot because I don't know the old Godot.
Can you provide a new version of this project?
See these changes:
in inputmap.gd

func load_input_map(filename = "user://inputmap.json"):
	#var load_file = File.new()

	#if load_file.open(filename, File.READ) == OK:
	var load_file = FileAccess.open(filename, FileAccess.READ)
	if load_file:
		var as_text = load_file.get_as_text()
...
	#var save_file = File.new()
	#if save_file.open(filename, File.WRITE) == OK:
		#var as_json = JSON.new().stringify(data)
		#
		#save_file.store_line(as_json)
		#save_file.close()

MultiAlongPath.gd

@export var path: NodePath = "": set = set_path

Startup.gd

	if $Fullscreen.pressed:
		# set it as full screen
		#get_window().mode = Window.MODE_EXCLUSIVE_FULLSCREEN if (true) else Window.MODE_WINDOWED
		get_window()#.mode #= Window.MODE_EXCLUSIVE_FULLSCREEN #if (true) else Window.MODE_WINDOWED
	else:

The next error was on :

		t.basis = Basis(r).rotated(Vector3.UP, randf_range(0.0, 2.0 * PI))

Any idea?

@BastiaanOlij
Copy link
Owner

I did a big push converting it to 4.x on stream a while back, you find the version in the godot4.x branch here: https://github.com/BastiaanOlij/vehicle-demo/tree/godot4.x

That probably still needs a bit of work bringing it up to 4.3 but should be a lot less work than starting with the master branch. It probably has the changes you are looking for in there already.

@catafest
Copy link
Author

I disable blend import
start with some missing messages and this error: Invalid assignment of property or key 'unresizable' with value of type 'bool' on a base object of type 'null instance'.
maybe I will fix it - need some time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants