create account

Learning unity devlog - Day 01 by loler555

View this thread on: hive.blogpeakd.comecency.com
· @loler555 ·
$0.72
Learning unity devlog - Day 01
About me
---
Hello everyone! First of all, let me introduce myself. My name is Samuel, but my online nick is 2lol555 (Steem does not allow for numbers at the start of usernames :/ ) 
I am a starting indie developer with around 1 and a half years of experience of programming in unity. I started in August of 2017, but I haven't been very active in pursuing learning to code since then. 
I have created some projects for fun, but none of them used too complicated backend scripts. I am starting my journey of becoming a better developer today!
Ok. Now that's out of the way...

Day 1 - BFS Pathfinding
---
BFS pathfinding (or in other words Breadth-first search) is probably one of the most simple pathfinding algorithms out there. It consists of a grid of nodes (Waypoints) connected to one another. The algorithm just systematically searches through them, adding them into sort of an index, to find the shortest route (Based on city block measurements). To get a better explanation you can check out this awesome [Article by Red Blob Games](https://www.redblobgames.com/pathfinding/a-star/introduction.html)
As I mentioned before, I have some basic understanding and orientation around the Unity engine, so tackling this algorithm was not too hard but definitely a challenge. I created a grid system inside of unity, and rigged up the code necessary to index and trace paths on the tiles. The major challenge was choosing the data types of variables I needed to use. I settled on storing the tiles inside a Dictionary data structure and using lists for organizing the sifting through tiles, as you can add to the end and take things from the start without worry or crazy loops.
Thanks for taking the time to read my blog post. If you like what I do, I would appreciate an upvote. Thanks again, and see you (hopefully) tomorrow.

Portfolio
---
[Google Play store profile](https://play.google.com/store/apps/developer?id=WAPPS+Studios)
[Github page](https://github.com/2lol555)
๐Ÿ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 211 others
properties (23)
authorloler555
permlinklearning-unity-devlog-day-01
categorygamedev
json_metadata{"tags":["gamedev","game","games","blog","steem"],"links":["https://www.redblobgames.com/pathfinding/a-star/introduction.html","https://play.google.com/store/apps/developer?id=WAPPS+Studios","https://github.com/2lol555"],"app":"steemit/0.1","format":"markdown"}
created2019-02-25 07:02:33
last_update2019-02-25 07:02:33
depth0
children2
last_payout2019-03-04 07:02:33
cashout_time1969-12-31 23:59:59
total_payout_value0.582 HBD
curator_payout_value0.139 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,976
author_reputation5,449,445,993,461
root_title"Learning unity devlog - Day 01"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,360,011
net_rshares1,266,664,712,940
author_curate_reward""
vote details (275)
@partiko ·
Hello @loler555! This is a friendly reminder that a Partiko user has just followed you! Congratulations!

To get realtime push notification on your phone about new followers in the future, download and login Partiko using the link below. You will also get 3000 Partiko Points for free, and Partiko Points can be converted into Steem token!

https://partiko.app/referral/partiko
properties (22)
authorpartiko
permlinkpartiko-re-loler555-learning-unity-devlog-day-01-20190225t070933499z
categorygamedev
json_metadata{"app":"partiko"}
created2019-02-25 07:09:33
last_update2019-02-25 07:09:33
depth1
children0
last_payout2019-03-04 07:09:33
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_length377
author_reputation39,207,160,334,751
root_title"Learning unity devlog - Day 01"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,360,220
net_rshares0
@partiko ·
Hello @loler555! This is a friendly reminder that you have 3000 Partiko Points unclaimed in your Partiko account!

Partiko is a fast and beautiful mobile app for Steem, and itโ€™s the most popular Steem mobile app out there! Download Partiko using the link below and login using SteemConnect to claim your 3000 Partiko points! You can easily convert them into Steem token!

https://partiko.app/referral/partiko

![](https://d1vof77qrk4l5q.cloudfront.net/statics/partiko-poster-best-steem-app-for-your-phone.jpg)
properties (22)
authorpartiko
permlinkpartiko-re-loler555-learning-unity-devlog-day-01-20190226t095727138z
categorygamedev
json_metadata{"app":"partiko"}
created2019-02-26 09:57:27
last_update2019-02-26 09:57:27
depth1
children0
last_payout2019-03-05 09:57: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_length509
author_reputation39,207,160,334,751
root_title"Learning unity devlog - Day 01"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id80,426,725
net_rshares0