Page 51 of 68

Re: Noob learns to code in 3 months

Posted: August 23rd, 2017, 1:27 am
by chili
Oh shit, conglaturations bro!

I remember you saying in this thread that the reason you were quitting poker and taking up gamedev was because you were going to be a family man. Step 1 is done, now you just gotta do the other ;)

Re: Noob learns to code in 3 months

Posted: August 28th, 2017, 5:21 pm
by Yumtard
Thx guys ^^

Week 1 over. We did game design. No programming yet.
Today we started basic graphics course, learning about Maya. Made a beautiful creation as my first assignment. Will post it tomorrow when I'm back at my school computer.

Think next week programming will start. I'm gonna finally restart intermediate series tonight

Re: Noob learns to code in 3 months

Posted: August 29th, 2017, 2:51 pm
by Yumtard
2nd homework assignment for the week. I'm def not an artist :D Still pleased with this tho

Image

Re: Noob learns to code in 3 months

Posted: August 29th, 2017, 8:16 pm
by albinopapa
Looks good, was that done in Maya?

Re: Noob learns to code in 3 months

Posted: August 30th, 2017, 11:42 am
by Yumtard
Thankd :D Yeah maya

Re: Noob learns to code in 3 months

Posted: August 30th, 2017, 12:11 pm
by chili
Just seeing that is inspiring somehow. Even with a minimalist style you can still make interesting characters to at least test out a game idea. Look at the models in indie games like Rimworld; same idea.

Re: Noob learns to code in 3 months

Posted: August 31st, 2017, 9:13 am
by Yumtard
Yeah it's pretty cool!
Ofc when we begin our game projects, the graphics students will do all of this for us (except maybe placeholders)
But seems like in just a few days you could learn how to do your own models for simple projects

Re: Noob learns to code in 3 months

Posted: August 31st, 2017, 6:51 pm
by Yumtard
School is pretty intense so far.
I'm pretty sure the other programmers are all ahead of me in experience.
We've had an assignment every day so far and tomorrow we apparently have some sort of a written test.

Assignment today was to write a script for maya using python. Script would create a cube and move/rotate it. Then store the positions of all vertices in a list and dump it in a JSON file.
I found the assignment hard since I've never written a line in python before, but made it work somehow

Code: Select all

import maya.cmds as cmds
import json

cmds.polyCube(h=3, w=3, d=3, name="myCube")
cmds.rotate(20, 20, 20, "myCube")
cmds.move(90, 15, 55, "myCube")

numVerts=cmds.polyEvaluate(vertex=True)
Positions = []
output = {"vertices" : []}

for i in range(0, numVerts):
    curPos=cmds.pointPosition("myCube.vtx[{}]".format(i))
    Positions.append(curPos)
    output["vertices"].append({"vertex{}".format(i) : curPos})
    
filenames=cmds.fileDialog2(fileFilter='JSON files (*.json)', fileMode=0, dialogStyle=2)
if filenames:
    with open(filenames[0], 'w') as f:
        json.dump(output, f, indent=4)

Re: Noob learns to code in 3 months

Posted: September 3rd, 2017, 4:30 am
by chili
Python is pretty big these days, would be good to learn your way around it. I wonder what they're going to have you do when you start coding games...

Re: Noob learns to code in 3 months

Posted: September 4th, 2017, 10:45 am
by Yumtard
^ I will learn some python when I have time :)

we're starting a 2 week course now which will cover c++. Everything for these 2 weeks will be console applications. First day we quickly went over some basic stuff.
This is what these 2 weeks will cover:
functional procedural and object oriented programming
polymorphism and inheritance
memory allocation
control structures
algorithms
planning with UML
generic classes
storage structures
debugging