Through the Living Shadow he/him Posted February 9 Posted February 9 (edited) Guys I had a wonderful idea. WE MAKE A GAME code It would be a command line dungeon crawler And we would design Save, Map, Combat, etc. We would either divvy up the different things or take coding shifts Sign up here (This is so that a coding project can be better time optimized) Consider that you'll need to handle file read/write/parse Edited February 9 by SpiritOfWrath 1
CoderDrag0n8 He/They Posted February 9 Posted February 9 2 minutes ago, SpiritOfWrath said: Guys I had a wonderful idea. WE MAKE A GAME code It would be a command line dungeon crawler And we would design Save, Map, Combat, etc. We would either divvy up the different things or take coding shifts Sign up here (This is so that a coding project can be better time optimized) What coding language? Pixel Art? What by what if pixel art?
Through the Living Shadow he/him Posted February 9 Author Posted February 9 1 minute ago, CoderDrag0n8 said: What coding language? Pixel Art? What by what if pixel art? This would all be decided in planning, yk? It would prolly be easiest to use an OOL, but i rly like python. Pixel art is possible, there are a few ways to print images to the terminal.
IcedOutPenguin He/Him Posted February 9 Posted February 9 (edited) 1 minute ago, SpiritOfWrath said: python Thats the only thing I can code anyways Edited February 9 by IcedOutPenguin 1
Through the Living Shadow he/him Posted February 9 Author Posted February 9 Just now, IcedOutPenguin said: Thats the only think I can code anyways Cool, yeah. Seems it would be easiest.
IcedOutPenguin He/Him Posted February 9 Posted February 9 Just now, SpiritOfWrath said: Cool, yeah. Seems it would be easiest. I'm still learning, but I can write a mean if script
CoderDrag0n8 He/They Posted February 9 Posted February 9 Just now, IcedOutPenguin said: I'm still learning, but I can write a mean if script LMAO everything is just more complicated IF statements and VARiables I can do Javascript and Python, although I would prefer a game engine. I can learn syntax pretty fast.
Through the Living Shadow he/him Posted February 9 Author Posted February 9 (edited) 1 minute ago, IcedOutPenguin said: I'm still learning, but I can write a mean if script lol It's not too complicated (as long as you aren't getting into the saving mechanics and inventory parsing), but you would need to get familiar with input and print statements. So like Learn how to type input() and print("hey") @CoderDrag0n8 Game engines are harder to share! (over a forum) [imo] Edited February 9 by SpiritOfWrath
IcedOutPenguin He/Him Posted February 9 Posted February 9 Just now, SpiritOfWrath said: It's not too complicated (as long as you aren't getting into the saving mechanics and inventory parsing), but you would need to get familiar with input and print statements. Those are easy, I learned those very first. Then came if scripts, which it turns out, are the most important in making an adventure game
CoderDrag0n8 He/They Posted February 9 Posted February 9 2 minutes ago, SpiritOfWrath said: lol It's not too complicated (as long as you aren't getting into the saving mechanics and inventory parsing), but you would need to get familiar with input and print statements. So like Learn how to type input() and print("hey") @CoderDrag0n8 Game engines are harder to share! (over a forum) [imo] They are, but they are more intuitive for making games And theres a bunch, im sure we could find one that works. 1 minute ago, IcedOutPenguin said: Those are easy, I learned those very first. Then came if scripts, which it turns out, are the most important in making an adventure game Yeah, print() and input() are basically the most important to learn they let you do more complicated algorithims, even without libraries, funcitions, and lists, which (in my opinion) make python truly shine.
IcedOutPenguin He/Him Posted February 9 Posted February 9 I'd tell my freind about this, but he'd insist to code it in rust... and he'd do it all in less than an hour.
Through the Living Shadow he/him Posted February 9 Author Posted February 9 (edited) 18 minutes ago, IcedOutPenguin said: Those are easy, I learned those very first. Then came if scripts, which it turns out, are the most important in making an adventure game Okay All else you need (and prolly more important if you want it to make more advanced systems) are lists and for statements explanation if you need it: Spoiler listvar = [item0, item1, item2, item3, item4, item5] # Each of those are variables, in reality they can be any data you want. Even like, different types. print(listvar[4]) # This returns the value of item4 Then, for loops are where lists shine (Loopvar can not already exists) [that said, if you have two loops and give them the same variable, they're fine because they are each local to the loop] for loopvar in listvar: print(loopvar) So what that there will do is go through the list and print the value of every item in the list sequentially. What you gotta be careful about doing is changing the list while looping through it, not sure how it'd take that. loopvar assumes the value of the item. for loopvar in range(len(listvar)): # The range(...) is spagetti. What it would do is return a list from 0 to 4. print(i, i**2, i^(2)) # The ^ character is not an exponent, while the ** is Output: 0 0 2 1 1 3 2 4 0 3 9 1 4 16 6 Fun fact if you learn to use things like the bitwise XOR (^) correctly and lists correctly, you can write most things without writing ifs. not that you should, though Edited February 9 by SpiritOfWrath
CoderDrag0n8 He/They Posted February 9 Posted February 9 3 minutes ago, SpiritOfWrath said: Okay All else you need (and prolly more important if you want it to make more advanced systems) are lists and for statements listvar = [item0, item1, item2, item3, item4, item5] # Each of those are variables, in reality they can be any data you want. Even like, different types. print(listvar[4]) # This returns the value of item4 Then, for loops are where lists shine (Loopvar can not already exists) [that said, if you have two loops and give them the same variable, they're fine because they are each local to the loop] for loopvar in listvar: print(loopvar) So what that there will do is go through the list and print the value of every item in the list sequentially. What you gotta be careful about doing is changing the list while looping through it, not sure how it'd take that. loopvar assumes the value of the item. for loopvar in range(len(listvar)): # The range(...) is spagetti. What it would do is return a list from 0 to 4. print(i, i**2, i^(2)) # The ^ character is not an exponent, while the ** is Output: 0 0 2 1 1 3 2 4 0 3 9 1 4 16 6 normally people do for i in list: wait whats spagetti?
Through the Living Shadow he/him Posted February 9 Author Posted February 9 Just now, CoderDrag0n8 said: normally people do for i in list: wait whats spagetti? range(len(listvar)) isnt very readable. Better practice to have a value define that equals the length of the list that's the java gremlin that comes out every so often not the c gremlin, bc c is terrible and inevitably returns to spagetti no matter what yeah i (index) is usually the looping variable
CoderDrag0n8 He/They Posted February 9 Posted February 9 1 minute ago, SpiritOfWrath said: range(len(listvar)) isnt very readable. Better practice to have a value define that equals the length of the list that's the java gremlin that comes out every so often not the c gremlin, bc c is terrible and inevitably returns to spagetti no matter what yeah i (index) is usually the looping variable you mean like listValues = ["hi", "im bob", "hoi im tem", "undertale"] listIndexes = [0, 1, 2, 3] that? Thats what i usually do
Through the Living Shadow he/him Posted February 9 Author Posted February 9 Just now, CoderDrag0n8 said: you mean like listValues = ["hi", "im bob", "hoi im tem", "undertale"] listIndexes = [0, 1, 2, 3] that? Thats what i usually do ew ew ew ew ew ew ew ew ew ew why no you just made a dictionary minus all the good things about a dictionary i mean like list = [a, b, c, d, ..., z] lenoflist = 26
CoderDrag0n8 He/They Posted February 9 Posted February 9 1 minute ago, SpiritOfWrath said: ew ew ew ew ew ew ew ew ew ew why no you just made a dictionary minus all the good things about a dictionary i mean like list = [a, b, c, d, ..., z] lenoflist = 26 my javascript brain: wait cant you just do list.length? my python brain: WAIT NO THATS NOT HOW THAT WORKS
Through the Living Shadow he/him Posted February 9 Author Posted February 9 (edited) 1 minute ago, CoderDrag0n8 said: my javascript brain: wait cant you just do list.length? my python brain: WAIT NO THATS NOT HOW THAT WORKS len(list) works but you need to be readable you can't let the spagetti monster consume you! Edited February 9 by SpiritOfWrath
CoderDrag0n8 He/They Posted February 9 Posted February 9 2 minutes ago, SpiritOfWrath said: len(list) works but you need to be readable you can't let the spagetti monster consume you! .length is super readable hyper readable, even but len() is not whyyyyyyyyyyyyy python curse your good half the time for loops and confusing lack of built in functions that can also be really helpful if you dont have themmmmmmmmmmmmm
Through the Living Shadow he/him Posted February 9 Author Posted February 9 Just now, CoderDrag0n8 said: .length is super readable hyper readable, even but len() is not whyyyyyyyyyyyyy python curse your good half the time for loops and confusing lack of built in functions that can also be really helpful if you dont have themmmmmmmmmmmmm No but explicitly saying the expected length is better
CoderDrag0n8 He/They Posted February 9 Posted February 9 (edited) 4 minutes ago, SpiritOfWrath said: No but explicitly saying the expected length is better Python is both better and worse than Javascript at the same time its loops are helpful until they arent and i like {} more than : Edited February 9 by CoderDrag0n8 1
Usseewa ✾ She♡Her ✾ Posted February 9 Posted February 9 23 minutes ago, SpiritOfWrath said: Fun fact if you learn to use things like the bitwise XOR (^) correctly and lists correctly, you can write most things without writing ifs. not that you should, though That type of thing is precisely what I love. I don't use bitwise XOR tho. I should. Anyway I didn't read all the comments but sure, sounds fun. Will it just be one of those classic text-based adventures? Like Zork or whatever?
KaladinsSenseOfHumourSpren He/Him Posted February 9 Posted February 9 Sign me up! I can JS, Python, and pixel art 3 hours ago, SpiritOfWrath said: This would all be decided in planning, yk? It would prolly be easiest to use an OOL, but i rly like python. Pixel art is possible, there are a few ways to print images to the terminal. Python is slow though And hard to draw stuff in 3 hours ago, CoderDrag0n8 said: LMAO everything is just more complicated IF statements and VARiables I can do Javascript and Python, although I would prefer a game engine. I can learn syntax pretty fast. I can't get a game engine 2 hours ago, CoderDrag0n8 said: They are, but they are more intuitive for making games And theres a bunch, im sure we could find one that works. Yeah, print() and input() are basically the most important to learn they let you do more complicated algorithims, even without libraries, funcitions, and lists, which (in my opinion) make python truly shine. I would not be allowed to download any game engine 2 hours ago, SpiritOfWrath said: range(len(listvar)) isnt very readable. Better practice to have a value define that equals the length of the list that's the java gremlin that comes out every so often not the c gremlin, bc c is terrible and inevitably returns to spagetti no matter what yeah i (index) is usually the looping variable Folks you know ya'll can use zip() It's even more unreadable, but it's the best Python's got And I don't think JS has it
Through the Living Shadow he/him Posted February 9 Author Posted February 9 6 hours ago, KaladinsSenseOfHumourSpren said: Sign me up! I can JS, Python, and pixel art Python is slow though And hard to draw stuff in I can't get a game engine I would not be allowed to download any game engine Folks you know ya'll can use zip() It's even more unreadable, but it's the best Python's got And I don't think JS has it To draw stuff, we’d prolly import pre-drawn jpgs or smt python is slow but that doesn’t matter unless we make a really beefy game
Usseewa ✾ She♡Her ✾ Posted February 9 Posted February 9 (edited) Am I signed up too? I can a bunch of stufF and some stuff incnat Edited February 9 by Usseewa
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now