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

Support Vector3 ($400 bounty) #330

Closed
manuq opened this issue Dec 6, 2024 · 6 comments
Closed

Support Vector3 ($400 bounty) #330

manuq opened this issue Dec 6, 2024 · 6 comments

Comments

@manuq
Copy link
Contributor

manuq commented Dec 6, 2024

What Happened

We'd like to have 3D game creation support in this plugin, of which supporting Vector3 is the first step.

What we need to do at least includes:

  • parameter_input.tscn needs to know how to show a Vector3 and allow x,y,z triple input.
  • Fix drag-drop of Vector3 setter properties from the inspector (drag a Vector3 from inspector to the block canvas while holding Ctrl). This currently fails, see console output below. (The getter blocks, i.e. without holding Ctrl, work OK!)
  • The internal code probably needs several other adaptations in order to support Vector3 in addition to Vector2

How to Reproduce

  1. Add a Node3D block.
  2. Add Block Coding to it.
  3. Select the parent Node3D block.
  4. Drag Position from the Inspector. Keep Ctrl pressed, and drop it in the Block Coding canvas.
  5. See output error.

Block Coding Plugin Version

v0.8.0

Godot Engine Version

v4.3

Operating System

Endless OS

Logs or command-line output

res://addons/block_code/code_generation/blocks_catalog.gd:283 - Out of bounds get index '9' (on base: 'Dictionary')
  res://addons/block_code/code_generation/blocks_catalog.gd:303 - Invalid assignment of property or key 'description' with value of type 'String' on a base object of type 'Nil'.
  res://addons/block_code/ui/block_canvas/block_canvas.gd:150 - Invalid assignment of property or key 'defaults' with value of type 'Dictionary' on a base object of type 'Nil'.

Anything else?

No response

@dsd
Copy link
Member

dsd commented Dec 13, 2024

/bounty $400

Copy link

algora-pbc bot commented Dec 13, 2024

💎 $400 bounty • Endless OS Foundation

Steps to solve:

  1. Start working: Comment /attempt #330 with your implementation plan
  2. Submit work: Create a pull request including /claim #330 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to endlessm/godot-block-coding!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @varshith257 Dec 13, 2024, 1:11:22 PM WIP
🟢 @urbit-pilled Dec 16, 2024, 11:19:01 PM #340

@dsd dsd changed the title Support Vector3 Support Vector3 ($400 bounty) Dec 13, 2024
@varshith257
Copy link

varshith257 commented Dec 13, 2024

/attempt #330

Algora profile Completed bounties Tech Active attempts Options
@varshith257 23 bounties from 10 projects
Scala, Rust,
TypeScript & more
Cancel attempt

@urbit-pilled
Copy link
Contributor

urbit-pilled commented Dec 16, 2024

/attempt #330

Algora profile Completed bounties Tech Active attempts Options
@urbit-pilled 9 bounties from 4 projects
Rust, JavaScript,
Python & more
Cancel attempt

Copy link

algora-pbc bot commented Dec 16, 2024

💡 @urbit-pilled submitted a pull request that claims the bounty. You can visit your bounty board to reward.

@manuq manuq closed this as completed in 5afe404 Dec 17, 2024
Copy link

algora-pbc bot commented Dec 17, 2024

🎉🎈 @urbit-pilled has been awarded $400! 🎈🎊

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

No branches or pull requests

4 participants