[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

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

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
Bootstrap 4: Exploring New Features
LVL 12
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

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
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
PMI ACP® Project Management
LVL 12
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.

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
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
Build an E-Commerce Site with Angular 5
LVL 12
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

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
>