November 23, 2024, 09:55:11 PMLatest Member: MichaelAlede
BoutCheetah » Forum » Other » Off Topic » My final coding project :)

My final coding project :)

Started by Thornz, December 12, 2013, 05:07:49 AM

Previous topic - Next topic

Thornz

December 12, 2013, 05:07:49 AM Last Edit: December 12, 2013, 05:14:33 AM by Thornz
Week 8 of my coding class. I coded a version of the game "Asteroids" for the final project. Let me know if there are any glitches! And be sure to check out the dubstep soundtrack button 8)  (It doesn't always play for some reason)

As before, this code will NOT work in Internet Explorer, so sorry about that :/

And also, I believe the particular sound files I chose are only compatible with Chrome and Safari, but the game itself is still playable on Firefox if you don't like Chrome.

Cheers!

http://www.codeskulptor.org/#user26_222WS4rlIF_3.py

Ps: if you play the dubstep soundtrack, wait for the drop 8)

IGN: FM Thornz [Lv 270]
Quote from: cyc0828He destroy my guild
Not pants

Allie

I would fail you for incompatibility issues.
When I went to coding classes, especially web design classes, incompatibility with any browser or operating system got me a nice zero.

Thornz

Quote from: Allie on December 12, 2013, 08:41:20 AM
I would fail you for incompatibility issues.
When I went to coding classes, especially web design classes, incompatibility with any browser or operating system got me a nice zero.
It's just how the class program is designed. Not my fault. The instructors recommend that students use chrome as it is the most versatile. No one audio type is compatible with all browsers, so the instructors try and help us do the best we can with what they give us. And also, it's their program (which we have to use) which doesn't work with IE.

IGN: FM Thornz [Lv 270]
Quote from: cyc0828He destroy my guild
Not pants

Allie

your class sucks. i had a really harsh teacher that we all loved.
gave us the program, told us what we had to do, and got a zero if we didn't do it.
i wouldnt have given it up for a class like yours, ever. directly teaching that incompatibility issues are okay is terrible.

Iridion

Quote from: Allie on December 12, 2013, 09:39:22 AM
your class sucks. i had a really harsh teacher that we all loved.
gave us the program, told us what we had to do, and got a zero if we didn't do it.
i wouldnt have given it up for a class like yours, ever. directly teaching that incompatibility issues are okay is terrible.
y u mad


Quote from: Madproxyes because Iri & Kp can change the rules!
thats how we roll maddie

nourr993

nice fire rate
btw i stole that song hehe
Server   :High   / Low
Name   :Morocco   / Morocco
Level   :221   / 160

Quote from: Dewo on September 20, 2012, 03:11:35 PM
Worst Thread Maker: nourr993

Xx Itz Ian

In 8 weeks of coding i was able to make full 3d games in unity.

Idk if you work with an engine but i recommend using Visual studio with Unity if you code in c#
League of Legends:
http://euw.op.gg/summoner/userName=ianv
http://euw.op.gg/summoner/userName=smurf+leblanc
http://euw.op.gg/summoner/userName=qqdz


▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬
  Xx ItZ Ian
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬

Thornz

December 12, 2013, 02:20:06 PM #7 Last Edit: December 12, 2013, 02:31:38 PM by Thornz
Quote from: Allie on December 12, 2013, 09:39:22 AM
your class sucks. i had a really harsh teacher that we all loved.
gave us the program, told us what we had to do, and got a zero if we didn't do it.
i wouldnt have given it up for a class like yours, ever. directly teaching that incompatibility issues are okay is terrible.

U mad bro? 8)  instead of just telling how much I suck, MAYBE you could tell me what I could  hangs to make it better? Doesn't really seem very helpful for you just to tell me how bad my code is and then not even tell me why. If you're not going to help, you could at least be a BIT nicer. okthx

Anyways, this is my first time coding something this complex, and I'm not planning on coding for anything more than a hobby, as I was only doing this class to meet my computer science prereqs. And yeah, my class prolly sucks, cause I'm taking it online and I don't have any prior coding experience. Lol

I'm learning python, btw, which is greatly limited compared to something like C#

And as far as I know, it's the browsers' faults for being incompatible with specific audio types. If you're curious, you can check the chart on this webpage:

https://developer.mozilla.org/en-US/docs/HTML/Supported_media_formats

IGN: FM Thornz [Lv 270]
Quote from: cyc0828He destroy my guild
Not pants

Allie

its unwise to assume someones mad when they're giving indirect criticism to someone whose not you.
::)

Iridion



Quote from: Madproxyes because Iri & Kp can change the rules!
thats how we roll maddie

qolderman

IGN: Caustic



^thanks cooky <3
Quote from: Cooky on August 03, 2014, 12:05:07 AM
whats wrong with eating a sock

qolderman

Quote from: Allie on December 12, 2013, 09:39:22 AM
your class sucks. i had a really harsh teacher that we all loved.
gave us the program, told us what we had to do, and got a zero if we didn't do it.
i wouldnt have given it up for a class like yours, ever. directly teaching that incompatibility issues are okay is terrible.
Everyone is different.  ::)
IGN: Caustic



^thanks cooky <3
Quote from: Cooky on August 03, 2014, 12:05:07 AM
whats wrong with eating a sock

Xx Itz Ian

A few questions

Why did you set a max range on the bullets?
Did you set a relative speed because it was part of the assignment or do you have another reason?
Is this your art or placeholders/internet sprites?
League of Legends:
http://euw.op.gg/summoner/userName=ianv
http://euw.op.gg/summoner/userName=smurf+leblanc
http://euw.op.gg/summoner/userName=qqdz


▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬
  Xx ItZ Ian
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬

Thornz

December 12, 2013, 05:24:13 PM #13 Last Edit: December 12, 2013, 05:30:41 PM by Thornz
Quote from: Xx Itz Ian on December 12, 2013, 04:35:28 PM
A few questions

Why did you set a max range on the bullets?
Did you set a relative speed because it was part of the assignment or do you have another reason?
Is this your art or placeholders/internet sprites?
Setting a lifespan for the bullets was part of the grading rubric, so unless I wanted points taken off, I had to implement that. Although I prolly would have done that anyway, because otherwise you could fill the entire screen up with bullets and they'd just instantly kill any rocks that spawned XD

Relative speed was TECHNICALLY not required, but it was in a round-about way. The previous assignment was just to get the ship working, and for that I was required to add friction (even though it's in space, lol), which essentially also caps your speed. And since I used the same ship I had coded the week before, I kept the friction. I like it better that way, anyway.

No, the art was provided. The instructors purchased the rights to the artwork. I only had to figure out how to get everything working with each other :)

All the sounds were provided as well, except for the dubstep. I found that myself. My mon wa like, "is it really worth risking that you might get points off for including a pirated song?", to which I replied, "Mom, it's the difference between making a game that's good, and making a game that's awesome to the MAX..."  8)

Good questions, thanks :)

IGN: FM Thornz [Lv 270]
Quote from: cyc0828He destroy my guild
Not pants

Iridion

Quote from: Thornz on December 12, 2013, 05:24:13 PM"Mom, it's the difference between making a game that's good, and making a game that's awesome to the MAX..."  8)
looool


Quote from: Madproxyes because Iri & Kp can change the rules!
thats how we roll maddie

Copyright © ZylonGaming 2009 - 2024
-Terms of Use-