プレイ日記
Kl'Dck Hul HissingToaster
I wish I could overload harder... Any way to test for an array?
1そうだね
プレイ済み
返信[1]
親投稿
Cris cmart592
Heh, only 3-5 people on this community can answer that.
1そうだね
プレイ済み
返信[2]
親投稿
Kl'Dck Hul HissingToaster
You never know! I'm pretty sure you can test for an array as something with length that is not a string. I've got more experiments to do to figure out the empty array :<
0そうだね
プレイ済み
返信[3]
親投稿
BBB agaaron
Hey Kl'Dck! I understand members, setters & getters now. More importantly I looked at the documentation & the two examples. It seems like in both the ball & fire demo the MODULEs were compiled... It seems the remaining MAIN file refers to those objects still, but it's moved into the DIST file, correct? I'm still trying to wrap my head around this. I would like to make a couple tools using OOP.
0そうだね
プレイ済み
返信[4]
親投稿
Kl'Dck Hul HissingToaster
@BBB Yep! The compiled file contains all the generated code for all the modules. You only need to do that when you want fewer files or are making something for others to program with (raycaster) You might even want to distribute an uncompiled game to get under the 4mb limit. (it has to load longer) (Any code you write outside modules but in an impor is also in the file and gets run at main)
0そうだね
プレイ済み
返信[5]
親投稿
Kl'Dck Hul HissingToaster
The ball demo shouldnt be compiled... when it is, you only import "DIST" I commented out the others in fire. (and maybe import "Lib")
0そうだね
プレイ済み
返信[6]
親投稿
BBB agaaron
Thanks for all the help! I'll dare try programming with Lowerdash now that I've kind of wrapped my head around it. I hope to write some kind of tool or game using it. Maybe I'll just start with a demo. You're planning for some kind of tutorial? I hope my questions at least helped for that.
0そうだね
プレイ済み