MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pj1hc7/from_a_youtube_video/
r/badcode • u/Jackiboi307 • Sep 06 '21
5 comments sorted by
3
This looks like a Godot's script... Even so...
3 u/DemonicValder Sep 07 '21 That's a regular python
That's a regular python
Level editor? What's that
5
Image Transcription: Code
def loadLevel(level): #yandere sim moment if level is 0: enemies.append(Enemy(320 - 31/2, 150 - 58)) enemies.append(Enemy(320 - 31/2, 150 - 58 + 100)) if level is 1: enemies.append(Enemy(320 - 31/2 + 150, 250 - 58)) enemies.append(Enemy(320 - 31/2 - 200, 150 - 58)) if level is 2: enemies.append(Enemy(320 - 31/2 - 100, 100 - 58)) enemies.append(Enemy(320 - 31/2 + 100, 100 - 58 + 150)) if level is 3: enemies.append(Enemy(320 - 31/2 - 100, 100 - 58)) enemies.append(Enemy(320 - 31/2 + 100, 100 - 58 + 150)) if level is 4: enemies.append(Enemy(320 - 31/2 - 250, 200 - 58)) enemies.append(Enemy(320 - 31/2 - 150, 300 - 58)) if level is 5: if level is 6: if level is 7: if level is 8: if level is 9:
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
0
[deleted] — view deleted comment
7 u/Jackiboi307 Sep 06 '21 rule 6 that's why i didn't specify. although i guess it's a youtuber with tens of thousands of subs and it really doesn't matter if it gets any attention here
7
rule 6 that's why i didn't specify. although i guess it's a youtuber with tens of thousands of subs and it really doesn't matter if it gets any attention here
3
u/RyanNerd shameless Sep 06 '21
This looks like a Godot's script... Even so...
3
u/[deleted] Sep 06 '21
Level editor? What's that
5
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Sep 06 '21 edited Sep 06 '21
Image Transcription: Code
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
0
u/[deleted] Sep 06 '21
[deleted] — view deleted comment