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,

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
Starting with Angular 5
LVL 13
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

I am designing the game Othello or Reversegram as it is known in some places. I'm almost done coding the game save for tallying up the final score and tweaking the AI to make more intelligent moves (currently only doing random moves). However, I am encountering certain bugs that appear. While the CPU and I keep flipping the pieces, there will come some point where I either cannot make a move even though it is certainly legal to do so. As well as the fact that when I play certain moves usually around the edges, it sometimes won't flip the opposing pieces even though I just made a legal move. If I can get some help understanding where I should be making my edits--I think the error might be in the "findLegal" function. Thank you for your help!

Note: I recreated the board with W on 6b, and B on 7b and 8a and could make the legal move of W on 8b so vertical moves are generally accepted and work up until a certain point which I'm confused about. In addition, I originally set up the board in the picture with random pieces throughout to accelerate the game and also to test out the various issues I had (so please ignore the random W on 4h).
othello.py
Screen-Shot-2018-12-18-at-10.52.37-P.png
0
How to assemble 3d models( individual 3d components) in unity or any game engine, programmatically, with out structural positions.
0
I am trying to fix my memory leak in Lua.
To test, I am creating 100,000 images on screen and recording them.
Then I remove them from the display. This works.
The problem is that the memory used never reduces back to that before the creation.
Here is my code:

local _storeContents = {}
local function OnDebugTest( event )
    for i = 1, 100000, 1 do
        img = display.newImage( "planet1.png", math.random()*400, math.random()*400-200 )
        _group:insert(img)
        table.insert(_storeContents,img)
    end

    for a,b in pairs(_storeContents) do
        display.remove(b)
    end

    _storeContents = {}
end

I am using gcinfo() to get the memory usage.
What do I need to do to fix the memory leak?
0
Hi all,
I need help for texturing my robot model.
my robot model has colored materials on it. However to use it in Unity as hologram model I need to convert its materials to one jpg texture file (I think you are familiar what I meant)
How can I convert (bake) my materials to one texture file using maya or silo or something...
Thank you

I meant this file type
https://i.pinimg.com/originals/d3/87/3b/d3873bc48632cea842b1c6724c767d09.jpg
0
Hi,
I am making a Doodle Jump game in c++ using sfml,
I started building the umlaut and decided to go with a STRATEGY pattern. I don't really know if this is the right choice.
I basically got to a point where I don't know how to continue,
please if someone could take a look at my UML and tell me what they think it will be greatly appreciated.



0
I'm using Android Studio and I would like to be able to pickup am image from the gallery, resize it and make it fit inside a rounded square (of about 300x300px) by maintening the correct aspect ratio. At the moment, I'm able to resize it and display it as a circle with this code:

FixBitmap = MediaStore.Images.Media.getBitmap(getContentResolver(), uri);
                bitmap_to_save = scaleBitmapAndKeepRation(FixBitmap, 320, 320);

                RoundedBitmapDrawable roundDrawable = RoundedBitmapDrawableFactory.create(getResources(), bitmap_to_save);
                roundDrawable.setCircular(true);
                p_avatar.setImageDrawable(roundDrawable);

Open in new window


However, I would like to know if it is possible to make the bitmap look like my attached image. Moreover, it would be important for me to resize the image without losing the original aspect ratio.

avatar-circle.png
It is not exactly a well square rounded figure, so I'm not sure that it is possible to do it in Android.

I hope you can help me, thanks!

EDIT: I'm using Picasso library for the moment, and it seems to work. Anyway, I would like to keep always the same picture size (300x300 px) and the aspect ratio. How can I do it?
0
what is the best server equipped to host a full fledged teenpatti game with unlimited userbase.
please advice with configs. I am new to this
0
game wouldn't work
0
Dear experts,

I've encountered a strange problem when doing depth-fail stencil shadows. The back cap seems to be interfering with the stencils causing them to marked as lit rather than shadowed.

I'm using a 2-way stencil btw. I'd just like to ask for some first-glance indications. I'm not asking to be spoonfed with a solution.
stencil_buffer_shadow_error.png
0
HTML5 and CSS3 Fundamentals
LVL 13
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

Hello,

I need a collision function for a random number of 3D objects (TCube) in a Viewport.

Only one of TCube object is moving at a time (by mouse move) and i need to collide (and stop) when another 3D object standing in his way.

I try a lot of ideeas but with small result.
0
How do I code to make a space like universe for my games map?
0
Do you have the source code for Metro Board Game in Prolog. Here is the description : http://www.bluering.nl/sieuwert/games/metro/  Thank you.
0
Hi,

I just got back into 3Dmax , I am trying to import a .OBJ figurine that I scan into 3DS max , the import work, but none of the png follow, I suppose I have to import it manually but failed so far to succeed, I check on Google and uTube nothing on the mapping part.

If someone could put me in the right direction it be greatly appreciated, i save my obj with UV texture ON .

cheers,

Alan
0
I'm creating a slideshow on a MMORPG game and it is asking what codes, platforms, and purposes. But, i don't know what the codes and platforms are.
0
plz  help  me  i have lenovo B570e with intel   graphics  how  can i  resolve  it
 plzz  help
0
In a Windows 10, 64bit gaming computer (i7, 24gb ram, Geforce GTX770), GTA V is crashing ONLY when I have a Saitek R440 Wheel plugged in, even in safe mode, in USB 2 and 3 ports.
________
Grand Theft Auto V has stopped working
Faulting application name: GTA5.exe, version: 1.0.350.1, time stamp: 0x5540c256
Faulting module name: pid.dll, version: 10.0.10586.0, time stamp: 0x5632d86f
Exception code: 0xc0000005
Fault offset: 0x00000000000024f2
Faulting process id: 0x438c
Faulting application start time: 0x01d1c5eae54d8e65
Faulting application path: U:\Games\Grand Theft Auto V\GTA5.exe
Faulting module path: C:\Windows\System32\pid.dll
Report Id: d1e89d26-6ab8-4161-a7a0-75875bb80781
Faulting package full name:
Faulting package-relative application ID:
_______________

The wheel works with other games like Dirt Rally (altho I can't get the Force Feedback to work yet). I installed the drivers sw that came with the wheel, but the Saitek Profiler software says "you must plug in a supported saitek programmable controller before you continue" even when its plugged in.  Same issue with legacy software I found online for this device.  They don't detect it, altho windows 10 does, and other games do.
0
I am creating a dodgeball game. What are some good graphics software that could be used to help create the characters of the game?
0
I have a scene with a camera that I want to look down on a floor that has objects on it. I'm having trouble setting the position of the camera so that I can see the floor from above.

I have:

camera->setPosition(vec3(20.0f, 1.5f, 0.0f));

I would like to be able to zoom out more.
1
Microsoft Azure 2017
LVL 13
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

how get missed game rar files i missed my resident evil racion city game ile i am searching there is 71 file in that no.1 file missed
0
I'm in the early early stages of build a hardware product that needs to run games. Lets just say that all I have is the hardware device, which is like a 3D screen. I need advice on how to architect the software side of things.

I'd like to somehow use an existing gaming IDE, so I don't need to create my own. Maybe the Unity Engine. Then I need to consider things like what's needed to have the games playable on Linux, how to have it communicate w/ the device's inputs, and how to rasterize the game visuals to the device's screen.

I'm a n00b and I know this is a big project. Even just a broad description of the software stack, or what to research would be greatly appreciated.
0
I'm creating a product that displays 3D images, kinda like a 3D television. I'd like developers to use the Unity Game Engine to develop apps/games for this device. I'm totally new to this stuff and wonder if that's even possible. Can I somehow get my platform to be supported by Unity? If not, would someone suggest a better approach?

The reason I want to do this: I have a 3D hardware product, and I need an IDE to develop apps for it. It looks like Unity would be a good choice because there are already millions of developers, and it's an established development platform. Again, I'm new to this, so any advice would be most appreciated.
0
who can i test my PS 4 game on my own PS 4
and if this isn't possible how can i test the game on PS 4 machine before i publish it ?
0
Hi,
I was wondering if anyone has successfully implemented multiple gaming console's on a network with NAT/PAT with full multiplayer gaming functionality? In particular using enterprise grade firewalls or routers.

I was thinking someone in the university education space may have done this (student dorm networks).

Thanks for the help!
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).

Top Experts In
Game Programming
<
Monthly
>