Game Programming

Game programming is the software development of video games. Game programming requires substantial skill in software engineering as well as specialization in simulation, computer graphics, artificial intelligence, physics, audio programming, and input. Like other software, game development programs are generated from source code to the actual program by a compiler. Source code can be developed with almost any text editor, but most professional game programmers use a full integrated development environment (IDE).

Share tech news, updates, or what's on your mind.

Sign up to Post

I am working with my son learning javascript by following a book called '3D Game Programming for Kids'. It is an awesome book, explains thing nicely and we were doing great until we got to the following bit of code that we absolutely need to continue the book. It is supposed to add four trees to the screen but when I place this bit of code in the main code our original avatar does not even show up anymore so i know that the only problem was with this section of code with the tree not with the rest of it. I will show you this section of code (that I copied exactly from the book) and then then entire avatar code so far. Any help is very much appreciated as we are completely stuck and cannot move forward and I really need your help to help my son learn but I'm learning at the same time. Thanks! :)

This is the Tree code:

***********

makeTreeAt(500, 0);
makeTreeAt(-500, 0);
makeTreeAt(750, 0);
makeTreeAt(-750, 0);

function makeTreeAt(x, z) {
  var trunk = new THREE.Mesh(
    new THREE.Cylinder.Geometry(50, 50, 200),
    new THREE.MeshBasicMaterial({color: 0xA0522D})
    );
 
  var top = new THREE.Mesh(
    new THREE.SphereGeometry(150),
    new THREE.MeshBasicMaterial({color: 0x228B22})
    );
    top.position.y = 175;
    trunk.add(top);
   
    trunk.position.set(x, -75, z);
    scene.add(trunk);
}

**********************************************************


Here is the entire code for the avatar with the tree code added:

0
[Webinar] How Hackers Steal Your Credentials
LVL 9
[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Hi

In the Newsmag Wordpress demo page  here
it has a nice Newsmag header area

Can that exact header rectangle be a graphical banner I've made? or text only? I seem to remember it being text only.

Can this theme be a blog?
Thanks
0
Hi

I have done Adsense before on a blog, and broke the payment threshold just? once.

I think I once saw on their TOS that Adsense is only allowed through regular browsing.
This is a reasonable requirement, and my first blog was a discussion.

If on my new discussion, I want to do a serious prize contest, like $50 K, for a submitted audio track, am I allowed to say that only serious, well respected, active members on the site can submit tracks for peer-review via my permission? What might be the surrounding issues?
Thanks
0
Hi
If a Facebook post has 2 Thousand+ smiles, frowns and such, do all of them receive new comments?

Thanks
0
Hi
I'm doing a new website.

The last time I did a blog, I think some people found out my real name, and I was ticked off. Did they do a whois on my domain?
How do you do that? I have Godaddy.
How can I, in-fact, be completely anonymous? (totally, so the Kremlin can't even track me down) CIA, FBI, Vlad the impailer, or Garry Kasparov

Thanks
0
I want to be a Game play Programmer. to be GPP I need to study in a good university.Good universities want good $$$.i want start my career for some years or some time.which career is best that give me more $$$.
1.Java EE/Java Developer
2.Mobile App Developer
3.UI/UX Designer
4.Internet Advertiser
0
How do I code for a robot and soccer ball for my game?
0
When making games how do you find out how many programming codes you will need?
0
Hi

If my friend and I want to cover
Baby one more time,
Do a video,
How good can hair additions be?
If I look like attachment, can hair extensions approximate Britney in 'Baby one more time'
I live in Wilmington, NC, which is a film town, so I'm sure I can find people to do it if it's possible.
?
I need schoolgirl, Britney long flowing, or pigtails hair.

Thanks
securedownload.jpeg
0
Hi

In Starcraft 2, the better players can build a base at their natural expansion immediately, but when it's me, it expects Vespene gas.

How do I expand instantly without gas?

Thanks
0
Independent Software Vendors: We Want Your Opinion
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Hi
I am getting a Jupiter - 80 keyboard for my new band, but there are quite a few places to buy it from.
The one I have now has broken buttons, and is still under warranty.
I've sent for a mail-it-back-and-get-a-refund, but I have to buy a new one somewhere else.

I can find a new one for $2499 on
Full Compass
Is there a better option somewhere else?

Thanks
0
Hi

My new Jupiter-80 is okay, as a Synth keyboard.

I am used to my clavinova's perfect piano setting.
I can only get hints of my Jupiter's piano setting. It seems to always work in halves, upper and lower.
How do I make it ALL piano, no synth?

Thanks
0
Hi

I have ordered a Jupiter 80 keyboard for my band.

It seems very advanced.

Does anyone know if it can do chord recognition, and appropriate bass note addition? I may have missed it in the sheet.

Thanks
0
I'm learning Unity. I'm using Unity 5.5.
I created a new project.
I'm trying to create a new scene.

At the bottom left of my unity window there's a message that says "New Scene in play mode is not supported. Exit play mode and try again."

Anyone know, How to get out of play mode?
0
Hi

I've asked several dropbox questions.
But, not if dropbox is the only way to do large file upload and download (MRI image files (needs size of CD)
Is there a way to send it to my web-space, a directory, to wait there until needed?

Thanks
0
Can you please make this so that arrows come after him?
squaier--updated-
0
Well, I am having an older Samsung Phone Samsung Galaxy Trend Model No GTS7392. This Samsung phone runs on Jelly Bean operating system. The problem that I am facing with this phone is that Doodle Army 2 Mini Militia is not running on it. Initially, this gaming app was running smoothly. But after some time I was unable to play it on my phone. So I format as well as but nothing happen. So could you please help me with this problem.
0
Hi

I asked another music question, but not this. My other Q involved the poisonous influence of AGT, the Voice and American Idol on music.

Anyway, my question today is EDM - - the solution?

I became a man in the 90's a bit after the alternative wave.

If that has completely evaporated, I can't get a handle on today's perspective. I was in a band in college. sing, guitars, keyboards
All I see are the songs on the TV at the gym: Taylor Swift, Gaga, etc - and dance / trans online
As a musician with a lot of material to try and go public with, do I need to sell out? What to? Looking at MTV.com and all the non-music that is on their lists, must I just forget everything? Would a new type of, not copy of, but similar to: Radiohead, Queen or Pearl Jam be lost?

If EDM is the current thing, fine, I can change my songs to be bouncy beeps and swooshes, and whatever.
but I'm not dressing up like an F-ing rat made out of 2x4's, garden hoses, window netting and kitchen tupperware.

I know that the industry is struggling with CD's no longer in stores, and digital copying and swapping. But, is there any place for a self-managed, non-label artist. Should I focus on live performances? I understand that live is a crucial way to generate sales, digitally? I have a site that can print both CD's and LP's, but someone said not to print records until I am picking up serious momentum.

Thanks
0
a week ago solitaire  quit working. all i get is the circle that spins next to the arrow, the arrow stops spinning and solitaire won't start. i've run avast virus, wise registry mechanic, spy bot. i'm running windows 7.
0
Will your db performance match your db growth?
LVL 2
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Hi

Yes, the music industry is messed up somewhat, but

1) Millions of people are doing their own home-studio type work.

2) there is basically no exposure for most new music.

A previous question o mine had a point advised that the music industry is basically run by bankers, and nothing else, other than the moneymaking, exists - no question. For people like me, who like me, like Pearl Jam, Nirvana, others that are expressly non-commercially driven artists, I can only do this for my own personal pride, theoretically.
CD's being removed from stores is also a big downturn.

What do you think I can consider focusing on? They make their money touring, now?

I have written close to 80 songs, mostly non-Top-40, integrity-type art, but many, in fact,  that could definitely be top-40

It seems on soundcloud, all the music in their top 40 is hip-hop, even in the alternative top-40, it is exclusively rap.
Local bands here don't have rappers. Is that the current trajectory of popular music? Maroon 5 has no rap.
Are all major groups/artists corporate puppets? At Gold's Gym, the videos they play aren't all rap. It is never, almost never, rap.
Where are these corporate puppets gleaned from? Is there a corporate puppet academy? I know the Biebs was discovered on Youtube, and Taylor Swift in a cafe, Gaga by Akon.

I had assumed that I would still personally be in any band/music I did. I am almost 40. I don't look ancient. I have thought that maybe I could instead run a …
0
Hi

I'm about to buy this really good guitar synth package, called shreddage. - For my Logic Pro projects.

Can anyone comment on the reliability of the vendor site - impactsoundworks.com?
Is it in Nigeria?
I'm not giving my card to a shady website!

Must I choose  "shreddage 2-SRP standalone" in the dropdown? Why is there that drop-down? They are both SRP's
Is it because there is also an IBZ aspect?

Here


Thanks
0
What are programming codes and how do they work?
0
Hi

I am preparing to do some DAW digital audio workstation work.
A previous question concerned consideration for using 'Komplete' as a software instrument package inside Logic Pro...

When I went to the Geek squad at best buy to discuss installing a 1 TB drive on my macbook, the geek said it wouldn't be the best solution.
This didn't surprise me, because that was suggested here at Experts Exchange. So, I was pleased. He suggested a new machine might be a consideration, for newer, updated hardware, and a bigger HDD and faster chip. He said mine was getting old, it is.

I also acquired, not too long ago, a different Macbook for my RTS Java project. I wanted a decent secondary machine.

My Macbook for the RTS (which I have concluded because it achieved its point, thanks merete, Doug Pearson. etc)

...has, I didn't even know, a 500 GB hard drive!
But, I'm not sure what else the Geek might have feared concerning the secondary MacBook for digital audio.
I think he suggested the hardware? processor? was getting old on my main. My main machine is a "2.3 GHz Intel Core i7"
My thinking is that the new, secondary macbook has 500 GB, and that is great for digital audio (my audio, at least, I can add software instruments) It is newer than the one the Geek mocked, and is what he suggested. The new machine is a "2.4 GHz Intel Core i5" With 8 GB memory.
I'd prefer not to buy a new Macbook. Is my new one a good choice?
Also, if I bought Logic in the app-store, can I simply …
0
In one of my classes for school we have to come up with a business plan for a MMORPG that we are creating. One of the topics is programming. My game is two teams fighting against each other which includes interaction, guns, fighting, moving around, and a world that is a city with all the tall buildings destructed and on fire due to bombings. What kind of codes would be used to make this happen?
0
Hi
I'm considering doing tutor.com

Does anyone know what the most needed etc subjects are?

I can do anything computer-science or mathematics. I did 6 Advanced Placement high school classes, if that helps. -
Chemistry,  BC calculus, Physics, Biology, English, Music, top score, 5, in all
I love playing music and coding computer games.

Has anyone done tutor.com ? Is this used ubiquitously?

Thanks
1

Game Programming

Game programming is the software development of video games. Game programming requires substantial skill in software engineering as well as specialization in simulation, computer graphics, artificial intelligence, physics, audio programming, and input. Like other software, game development programs are generated from source code to the actual program by a compiler. Source code can be developed with almost any text editor, but most professional game programmers use a full integrated development environment (IDE).

Top Experts In
Game Programming
<
Monthly
>