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

Hi
i) Many of you know that I am working on getting my phone game IDE setup working. I have my first potentially very good ideas to play with/test.
I received excellent advice to make the game in Java first to know exactly what I'm trying to do, so I'm ready. It's working in a Javax JFrame. (thanks a lot - got my mind right)
I have been studying Javascript, some iOS, a look at some c# pages, Xcode pages..

ii) I am not getting it done as quickly as I hoped..I have so many questions every minute, u know how it goes..
Do you think it could be a plan to ask a Freelancer to completely help set me up, maybe over the phone? Ability to make games on any, every device, browser? I prefer back and forth banter, not sporadic articles. too much waiting. I need some first downs.
How many languages, SDK's and devices are there to accommodate me in this situation, have to learn? What did the agar.io or slither.io dudes do? Javascript!? How did they cover everything, all devices!? iPhones need special features. What else?  J2ME is a bust, so I need a new angle. The agar.io dudes made an iPhone app! Also Android App? Windows phone?

iii) I have access to one of Godaddy's private professional servers. - got major repeat customer credits for an appealing price for 10 years in. I hope it will serve the potential max players well. non VPN (can be clogged) Can I expect this to serve my players as well as agar.io and slither.io  do?

Freelancer a plan?
Thanks
0
OWASP: Avoiding Hacker Tricks
LVL 13
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

Hi
I'm surprised this JFrame didn't work, an I wonder why. It doesn't draw any blue. What might I have done wrong?

import java.awt.Color;
import java.awt.Graphics;

import javax.swing.*;


public class Merrywin extends Thread{
	
	JFrame jFrame;

	public Merrywin() {
		
		
		
		start();
	}
		
		

		
		
		
	

	public void run() {

		System.out.println("Hi");
		jFrame = new JFrame();   
		jFrame.setBounds(10, 0, 1125, 2436);  
		jFrame.setVisible(true);
		
		Graphics G = jFrame.getGraphics();
		G.setColor(Color.BLUE);
		G.fillRect(0, 0, 1000, 2000);
			
				

	}
		
		
	public static void main(String[] args) {
		System.out.println("Maine");

			Merrywin m = new Merrywin();

	}

}

Open in new window

0
Hi
I think for my io game in javascript, it would help my game object layout if I knew if the game was being played on a phone or desktop.
What is the best way to do this?
Also. . . Clear the canvas for a game loop efficiently? Is Javascript rendering super-fast?
...and then place my game objects appropriately?

Thanks
0
Hi
If I am going to focus on phone / io games, I'd like to know about security issues like hacking, which is unavoidable w online games. I created a successful Authoritative Java RTS server. It could not be hacked. Slither.io has all game data local..  Are people messing around with slither, etc?

Surely, if they start my game from an io site - or on my business hosting private server, it is my official client code. - it is not their hack. Now they can hack my game variables, but can they simply make a map hack? Must I still have an authoritative server? I read that some games are just clients - update each other on all activity, no in-game server, just clients.

Is hacking something I ned to be vigilant about, yet?

Will it ever be?
Thanks
0
Hi
For a phone io game,
I'd like to be able to click/touch one part of a line, and move it.
If the HTML sends in the size of the game-window, does a phone luncher pass in its size?  obviously. Is there a minimum size?
Thanks.
Are touches simply like mouse clicks? No special module?
0
Hi

What do you think of me having in my game, a character with a sword, in a black cloth suit, just like Anakin on Mustafar, but he is called Pepe the Swindler? with a colorful sword?
How could Disney / LFilm kill me? I know them, they'd murder me. You can not copyright a story. How about a giant droid thing slightly similar to  general grievous? if I called him unpleasant robot.
There is fair use for situations like this, but does Disney / LF care?

Thanks
0
Hi.
I think my <script> learning curve would be most boosted right now, if I could see a .js /htm that allows a player to move a circle /square/dodecahedron / pterodactyl around the screen with a finger.

Also, I see some coders do their scripting inside html and <script> tags and others in .js
Is it inconsequential? or simply a preference.

Thanks
0
Hi,

I've been fine-tuning my javascript for a little while, and this page below has helped me most understand everything needed for gaming. . .
but, it doesnt do networking, which I'd like to discuss...
Is slither.io / wings.io an MMO, or computer enemies? They have what seems to be a score table with different names, but I question whether they are people or not, since there seem to be so many?
Is it datagrams over TCP?  Many connected servers all over the world?
Is a game like slither.io pure Javascript?

That Javascript game overview is . . .

here

Thanks
0
Hi
I'm going to start making Javascript games (thanks, ye legends who helped me before! - I have my server being written in Java)

For my game client on phone, etc in Javascript,
Is there a good page for me to see how a JS game is best laid out, handlers, data-structures, resource loading, game loop,  a road map? I may have
seen a YT for it, but can't re-find it.

Thanks
0
Hi,
if I make a Javascript game, most I see on my phone don't do sound.
Is that the norm? Avoiding sound? I couldn't see .wav or .mp3 in their code
One time ago my dad had game swirling sounds playing loud from his laptop, and the cats became very upset.

Thanks
0
PMI ACP® Project Management
LVL 13
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Hi  
I have Mac Cleanup Pro in my tray and it claims to have 1020 issues to resolve on my MacBook Pro, 7.7 Gb recoverable..
Is this a trustworthy app, or a Nigerian backdoor credit card sniffing program? 7.7 is nothing too concerning, but it makes me wonder..

What should I know?

Thanks
0
Hi
I'm trying to get javascript to run in Atom Editor,
bu there is no compile or run button / menu Item

I have the following packages installed... (83 !) of them.
script 3.18.1
script-runner 2.3.1

dozens of others to get this one working
Should there be a compile/run menu item / button?
Thanks
0
Hi

I've already angered some experts w legal questions :D - not - I know I shouldn't hope for such binding certainty w, basically, friends!
If I put in a game, a character, npc called Brad Pitt, I'd get in trouble, but how strict are they on similar names,

like, Bradd McPitt, or Ranakin Slywalker? How does a similar character look factor. Space Quest III had the Vader v Obi-Wan duel in their hangar, briefly. I'm sure Sierra got legal permission. I think I saw that if you make a character that is in all black, helmet and laser sword, that is a no-no. What about a dead ringer for an Alien? (xenomorph)
What should I know!?
Thanks
0
Hi,

So, I'm going to use Javascript for my game client. I can do the server in Java, thanks to local legends. I need a listener waiting for user directives on the game window and sending an activity packet for each frame.
It's going to be a platform style multiplayer.
I'm going to treat it like an RTS, UDP over TCP, for fast delivery of info in UDP packets over reliable TCP sends.
Does Javascript block for GameWindow activity? How is it queried?

What should I know? I got it done in Java be4 w Threads
Thanks
0
Hi
I'm curious..

I have made a few network game projects w help of sporadic legends on this site.

Now, a Python network game.

It seems Pygame can do adequate 2D gaming, side scroller / maze etc
How about a networking game client?
It looks like all the usual abilities are available.
I might make my server in Java, but my game clients in Python?

A plan?
Thanks
0
Hi
My last Disney question concerned their ruthlessness protecting their IP.
This one concerns how seriously they take criticism.
They sued an elderly couple in Florida for $1000,000 for using an image of Mickey on their kindergarten wall.

Obviously, if they were super sensitive about criticism, Youtube would be buried in lawsuits concerning fan mega-criticism of Star Wars.
Would they be as ruthless concerning an inconspicuous site criticizing their Star wars decisions and plans?
My dad said it's just free-speech and they cant do anything (no IP infringement) I won't use any images on the site.
Thanks
1
For one of my classes, I have to conduct a 20 min game/activity with the class that explains how blockchain works in an easy-to-understand way. Would be even better if it has to do with marketing, as that's the class I'm in. It can be as rudimentary or as advanced as we want.

Only idea I have right now is playing a giant game of rock paper scissors where everybody frantically runs around for 10 minutes and plays & wins as many games of rock paper scissors with classmates as they can. When each game is over, both opponents have to go to the notebook in the center of the room and put a tally mark next to who won. This shows that blockchain ensures accountability, everybody documents every "transaction" that is made, and that everybody has access to the public records at all times. (Rather than just everybody keeping track of their own score, which could induce cheating.)

Any ideas? I feel like this is a fun question to answer.
0
Hi

I like joining live chats about the state of star wars.

They are usually on Youtube by Geeks and Gamers.

Sometimes there are notifications on their website / YT page, but often I miss out.
How can I get alerts for new chats? / find them?

Thanks
0
Hi
We talked a little about my approach to teaching neighborhood kids and adults, even, how to code.
I think we decided against going all out on Python right away. Do you still agree? I'd like to hold off on Python for a pure newbie.
K-12 focuses on Java, so I think Java for them is obvious.
I also think so, because polymorphism and class design will be important for making tablet, phone apps, as they are seriously non-novice projects. - Java will make 4 an easy transition
I'm going to start them off on Java and when they are blatantly ready, switch to Python, or their preferred device.
I could do Java and Python side-by-side?
Any suggestions?
Thanks
I'll start early next year

My padowan coders will excel
0
Learn SQL Server Core 2016
LVL 13
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Hello,

How do you revert back to a previous version of Google Chrome?

Sometime yesterday I noticed a change in the appearance of Google Chrome, in that the address bar now has a light blue border as shown in the following screenshot:

2018-09-07a.png
My current version of Google Chrome:
2018-09-07b.png
However, sometime later I went to join some friends playing a game at a website called slither.io (where players compete as snakes of different colors and sizes). However, after beginning to play, I noticed that the game image was jiggling or shaking to the point that I had to turn it off. The frame of the window itself does not move but the entire image (background and players) trembles as you might expect a picture on the wall to tremble during an earthquake.

The shaking movement is accompanied by a significant lag. I have experienced lag issues in the past but they always manifest as a sudden freeze for 2-3 seconds followed by a catch-up burst to put everything into its real-time position.

Interestingly, the shaking and lag become much worse by going into a congested area (ie the more snakes in the field of view, the worse the movement), and is almost nonexistent if you are in the outskirts with no one else around.

I've searched Google quite a bit for a solution and have tried each of the following:

• Zoom in/out
• Restart Chrome
• Restart computer
• Empty the Chrome history
• Chrome > Show advanced settings > scroll down to…
0
Can the "Phaser" game dev JavaScript framework be demo-ed in JSFiddle?

My attempt to run the Phaser game framework inside JSFiddle


reference material:

What is Phaser? (Phaser website)

Phaser "Hello World" - attempting to run this in JSFiddle



-----------------------------
Screenshot of what I see when I run the example on my local Apache web server:

phaser on apache web server
Screenshot of what I see when I try to run the same demo in JSFiddle:

phaser hello world in jsfiddle
0
Hi

I am going to begin tutoring in the AP subjects that I took, 6 of them..

These days, do kids expect an actual book text? Will I look like a nimrod if I don't have a digital textbook?
I'm going to buy this book to get me fully back to speed. here
How can it be digital? Not all kids can afford tablets,right?
0
I am writing a game in Lua on the Corona platform. Currently it's pretty simple.
I am writing the memory usage to the screen every frame using gcinfo().
Why does my memory usage increase to 1.5MB then back down to 800Kb then repeats?
Is it normal?
0
Hi
I wrote a lot of music and am curious about the potential of spotify.

Do kids really listen to it as much as it seems?

Taylor Swift had an entanglement w them, but that was sorted out, concerning payment to artists.

Is this only for seemingly professionally managed artists? who can play gigs on a moment's notice?
Didn't some dude put a song he'd recorded at home on and it became huge? What happened to him?
Thanks
0
Hi
For a piece I'm writing, I need to explain aspects of open-source code to normal people.
I cant seem to find a list of well-known open source projects.
Most people don't know what Eclipse, Linux and such are.

Is there a way to explain it to non-Dev people, with examples they'd know?
Which movies have had dozens of writers! ?  

Thanks
0

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