create account

Improvements on Hive Arena - 2 by firedream

View this thread on: hive.blogpeakd.comecency.com
· @firedream ·
$0.78
Improvements on Hive Arena - 2
***STEMGeek's First Hackathon Countdown to deadline : 9 days***

At the second day, I realized that I totally messed up with variables and functions.
What a mess of unused, unnecessary variables and self repeating functions that would have done in a much proper way.
Damn amateur me!
https://media.giphy.com/media/Q9aBxHn9fTqKs/giphy.gif

I have deleted the repeating functions and rearranged all my variables in a system, the code is now much proper.

Good, but even the visualization is not important for the moment I really didn't like to see the static, Google found pictures as my characters.

I decided to go "less amateur" and searched for some good visuals that I can use, even ready to pay.

I have found the life-saver site https://craftpix.net/ and they have very cute character assets that are free to use.
Great guys!

Now I have my characters at 3 states :

|Idle|Attack|Dead|
|-|-|-|
|![](https://files.peakd.com/file/peakd-hive/firedream/JWyDNPOq-wair_idle.gif)|![](https://files.peakd.com/file/peakd-hive/firedream/cGR8px2M-war_attack.gif)|![](https://files.peakd.com/file/peakd-hive/firedream/ejRVQUCM-war_dead.gif)|


With these implemeted and tidy code, I continue.

![image.png](https://files.peakd.com/file/peakd-hive/firedream/PeoUPZvO-image.png)
I believe I will have something fun to play at the end.

FD.

👍  , , , , , , ,
properties (23)
authorfiredream
permlinkimprovements-on-hive-arena-2
categorytechnology
json_metadata{"links":["https://craftpix.net/"],"image":["https://media.giphy.com/media/Q9aBxHn9fTqKs/giphy.gif","https://files.peakd.com/file/peakd-hive/firedream/JWyDNPOq-wair_idle.gif","https://files.peakd.com/file/peakd-hive/firedream/cGR8px2M-war_attack.gif","https://files.peakd.com/file/peakd-hive/firedream/ejRVQUCM-war_dead.gif","https://files.peakd.com/file/peakd-hive/firedream/PeoUPZvO-image.png"],"tags":["technology"],"app":"esteem/2.2.6-surfer","format":"markdown+html","community":"esteem.app"}
created2020-05-07 11:48:21
last_update2020-05-07 11:48:21
depth0
children2
last_payout2020-05-14 11:48:21
cashout_time1969-12-31 23:59:59
total_payout_value0.382 HBD
curator_payout_value0.393 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,333
author_reputation11,232,881,853,116
root_title"Improvements on Hive Arena - 2"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,237,837
net_rshares1,939,352,755,199
author_curate_reward""
vote details (8)
@patrickulrich ·
Good find on the animations! This competition is getting exciting!
properties (22)
authorpatrickulrich
permlinkre-firedream-q9ymv6
categorytechnology
json_metadata{"tags":["technology"],"app":"peakd/2020.04.5"}
created2020-05-07 12:04:18
last_update2020-05-07 12:04:18
depth1
children1
last_payout2020-05-14 12:04:18
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_length66
author_reputation92,185,416,218,701
root_title"Improvements on Hive Arena - 2"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,238,061
net_rshares0
@firedream ·
Thanks, it is much fun to work on it now!
properties (22)
authorfiredream
permlinkre-patrickulrich-202057t151847615z
categorytechnology
json_metadata{"tags":["technology"],"app":"esteem/2.2.6-surfer","format":"markdown+html","community":"esteem.app"}
created2020-05-07 12:18:48
last_update2020-05-07 12:18:48
depth2
children0
last_payout2020-05-14 12:18:48
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_length41
author_reputation11,232,881,853,116
root_title"Improvements on Hive Arena - 2"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,238,218
net_rshares0