Jump to content

Recommended Posts

Posted (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 by SpiritOfWrath
Posted
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?

Posted
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.

Posted (edited)
1 minute ago, SpiritOfWrath said:

python

Thats the only thing I can code anyways

Edited by IcedOutPenguin
Posted
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.

Posted (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 by SpiritOfWrath
Posted
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

Posted
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.

Posted (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 by SpiritOfWrath
Posted
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?

 

Posted
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

Posted
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

Posted
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

Posted
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

Posted (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 by SpiritOfWrath
Posted
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

Posted
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

Posted (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 by CoderDrag0n8
Posted
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?

Posted

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

Posted
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

Posted (edited)

Am I signed up too?

I can a bunch of stufF

and some stuff incnat

Edited by Usseewa

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...