create account

Game Development for Kids with Godot Engine - Draw Rectangle using GDScript by devpress

View this thread on: hive.blogpeakd.comecency.com
· @devpress ·
$16.44
Game Development for Kids with Godot Engine - Draw Rectangle using GDScript
In this post, we will take a look at How to Draw Rectangle using GDScript in Godot Engine.

In previous post of the series, I posted about the draw 2D Line using the GDScript. Previously I have managed to post about the screen size, clear screen and few other gdscript. I am sure you would find some of the previous tutorials interesting for the gdscript code. So today we see how to draw rectangle using the GDscript. 

By now I am sure you have now learned about how to make use of the godot engine by downloading the executable. You just have to run the executable and then create project to follow the rest of the tutorials in the series. I may cover C# version of the godot engine in near future too. 

In the below list of the table of contents, there are already 16 tutorials that I have covered and also you can go through them if you want. If this post is your first post in the tutorial series, I'd say that you should check out the table of contents for further set of the tutorials. 

---

![](https://images.hive.blog/DQmZq5G8gzFQ2ybjMAzBaTRgRFabgbsvSKRbdfKxZCS1wgT/gdart.png)

---

### Table of Contents of Godot Engine Tutorials

---

- [Godot Engine - Create New Project](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-create-new-project)
- [Godot Engine - Change Scene Background](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with)
- [Godot Engine - Add Image Background](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-add-image-background)
- [Godot Engine - Change Icon of Boot Splash Screen](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-change-icon-of-boot-splash)
-  [Godot Engine - Create GDScript](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-create-gdscript)
-  [Godot Engine - Create Function](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-create-function-in-gdscript)
- [Godot Engine - Create Dictionary](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-create-dictionary-in-gdscript)
- [Godot Engine -if-else statement](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-if-else-statement-in-gdscript)
- [Godot Engine -Parameterized Function](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-parameterized-function-in-gdscript)
- [Godot Engine - Loops](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-loops-in-gdscript)
- [Godot Engine - Get Screen Size](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-get-screen-size-using-gdscript)
- [Godot Engine - Draw Rectangle](https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-draw-2d-line-using-gdscript)

---
https://www.youtube.com/watch?v=0-rWZvQK8I4
---
The above tutorial covers how to draw the rectangle using GDScript. I have found out there are few other similar designs using the C# in next few weeks. I hope that you guys who want to learn more about godot engine with the C sharp scripting would find this useful. 

I also wanted to check out if the people here would want to see me posting the Unity development. I have not done much of the videos on Unity which I should be doing this year and the next but hopefully I get to cover most of the content. 

If you want to try out the similar game development tutorials using the gdevelop, you can follow this tutorial trail of [GDevelop Tutorials](https://www.youtube.com/playlist?list=PLUY1lsOTtPeJuokmVnFqyXTKdOpgI2VWz).

I hope the current tutorial was useful to you.

We will continue the further game development topic in next post.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 219 others
properties (23)
authordevpress
permlinkgame-development-for-kids-with-godot-engine-draw-rectangle-using-gdscript
categoryhive-122108
json_metadata{"tags":["archon","stem","programming","lern","cent","palnet","broadhive"],"image":["https://images.hive.blog/DQmZq5G8gzFQ2ybjMAzBaTRgRFabgbsvSKRbdfKxZCS1wgT/gdart.png","https://img.youtube.com/vi/0-rWZvQK8I4/0.jpg"],"links":["https://hive.blog/hive-122108/@devpress/game-development-for-kids-with-godot-engine-create-new-project"],"app":"hiveblog/0.1","format":"markdown"}
created2021-12-24 08:04:57
last_update2021-12-24 08:04:57
depth0
children2
last_payout2021-12-31 08:04:57
cashout_time1969-12-31 23:59:59
total_payout_value8.318 HBD
curator_payout_value8.125 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,787
author_reputation55,061,325,071,240
root_title"Game Development for Kids with Godot Engine - Draw Rectangle using GDScript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,819,385
net_rshares8,226,443,182,263
author_curate_reward""
vote details (283)
@hivebuzz ·
Dear @devpress,<br><br>The current HiveBuzz proposal will expire in a few days.<br><br>Do you mind supporting our proposal for 2022 so our team can continue its work next year?<br>You can do it on [Peakd](https://peakd.com/me/proposals/199), [ecency](https://ecency.com/proposals/199), [Hive.blog](https://wallet.hive.blog/proposals) or [using HiveSigner](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22199%22%5D&approve=true).<br>https://peakd.com/me/proposals/199<br><br>Thank you. We wish you a Happy New Year!
properties (22)
authorhivebuzz
permlinktxt-devpress-20211230t235941
categoryhive-122108
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2021-12-30 23:59:42
last_update2021-12-30 23:59:42
depth1
children0
last_payout2022-01-06 23:59:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length535
author_reputation369,385,430,327,553
root_title"Game Development for Kids with Godot Engine - Draw Rectangle using GDScript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id109,003,204
net_rshares0
@lokywolf2295 ·
Que bueno podrían hacerlo en español?
properties (22)
authorlokywolf2295
permlinkre-devpress-20211227t63825598z
categoryhive-122108
json_metadata{"tags":["hive-122108","archon","stem","programming","lern","cent","palnet","broadhive"],"app":"ecency/3.0.23-mobile","format":"markdown+html"}
created2021-12-27 09:38:27
last_update2021-12-27 09:38:27
depth1
children0
last_payout2022-01-03 09:38:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length37
author_reputation1,500,156,282,288
root_title"Game Development for Kids with Godot Engine - Draw Rectangle using GDScript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,893,955
net_rshares0