Noob learns to code in 3 months

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Noob learns to code in 3 months

Post by chili » August 23rd, 2017, 1:27 am

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 ;)
Chili

User avatar
Yumtard
Posts: 575
Joined: January 19th, 2017, 10:28 pm
Location: Idiot from northern Europe

Re: Noob learns to code in 3 months

Post by Yumtard » August 28th, 2017, 5:21 pm

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

User avatar
Yumtard
Posts: 575
Joined: January 19th, 2017, 10:28 pm
Location: Idiot from northern Europe

Re: Noob learns to code in 3 months

Post by Yumtard » August 29th, 2017, 2:51 pm

2nd homework assignment for the week. I'm def not an artist :D Still pleased with this tho

Image

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Noob learns to code in 3 months

Post by albinopapa » August 29th, 2017, 8:16 pm

Looks good, was that done in Maya?
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

User avatar
Yumtard
Posts: 575
Joined: January 19th, 2017, 10:28 pm
Location: Idiot from northern Europe

Re: Noob learns to code in 3 months

Post by Yumtard » August 30th, 2017, 11:42 am

Thankd :D Yeah maya

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Noob learns to code in 3 months

Post by chili » August 30th, 2017, 12:11 pm

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

User avatar
Yumtard
Posts: 575
Joined: January 19th, 2017, 10:28 pm
Location: Idiot from northern Europe

Re: Noob learns to code in 3 months

Post by Yumtard » August 31st, 2017, 9:13 am

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

User avatar
Yumtard
Posts: 575
Joined: January 19th, 2017, 10:28 pm
Location: Idiot from northern Europe

Re: Noob learns to code in 3 months

Post by Yumtard » August 31st, 2017, 6:51 pm

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)

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Noob learns to code in 3 months

Post by chili » September 3rd, 2017, 4:30 am

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

User avatar
Yumtard
Posts: 575
Joined: January 19th, 2017, 10:28 pm
Location: Idiot from northern Europe

Re: Noob learns to code in 3 months

Post by Yumtard » September 4th, 2017, 10:45 am

^ 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

Post Reply