Computer programming is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs.
2
votes
1answer
109 views
Rotating a 3rd person camera toward a target
I have a 3rd person camera that doesn't look directly at the player but somewhere in front of him.
When the user enter shooting mode, I want the camera to turn around the player to face the target.
...
0
votes
1answer
55 views
unity3d - how to do pixel perfect movement with
How would you be able to move sprites move pixel by pixel in unity3d? I've tried the following things.
I tried:
int x = (int) transform.position.x;
I tried:
int x = ...
0
votes
1answer
16 views
How do I update individual sprites within a spritegroup in pygame?
I have a for loop that takes values from a text file, and then creates and adds a bunch of sprites to a group platformlist_list. The for loop will continue until every line of the text file is read.
...
2
votes
0answers
163 views
NegaScout with Zobrist Transposition Tables in Chess
I'm trying to put Transposition tables into my alpha beta scout. I do see an incremental speed boost I think toward mid or late game, however, even with a table size of 1-2GB, its may or may not be ...
2
votes
0answers
465 views
Per fragment lighting with OpenGL 4.x tessellated model
I'm experienced with OpenGL 3+. I'm dabbling with tessellation shaders and have now got to a point where I have a nicely tessellated teapot/plane demo (quick look here)
As can be seen from the ...
1
vote
0answers
17 views
Subscriber with many publishers: unsubscribing
I hope this isn't too general, so I apologize in advance if so. I am creating a console text adventure game. I essentially have many monsters, one per room at the moment. I also have a God ...
1
vote
0answers
129 views
How do I make a Minecraft recipe that costs XP?
I want to program a Minecraft client-mod or server-plugin that adds a recipe for making a Bottle o' Enchanting with the following ingredients:
1 glass bottle + 1 lvl of experience → 1 Bottle o' ...
1
vote
0answers
215 views
How do I combine multiple squares into one Tetris block?
I am learning Phaser by making a simple game—Tetris. I'm having difficulties:
Can I use simple rectangles as tetrominoes or they should be sprites? I don't know how make the figure's block ...
1
vote
0answers
122 views
How to perform game object smoothing in multiplayer games
We're developing an infrastructure to support multiplayer games for our game engine.
In simple terms, each client (player) engine sends some pieces of data regarding the relevant game objects at a ...
0
votes
0answers
27 views
Implement Special Effects triggered at certain moments in game
In my turn based RPG/Puzzle game I planned to have different Special effects, which enemies, weapons and armory can have.
So for example an enemy can have a "poison" effect, which has a certain ...
0
votes
0answers
13 views
Creating VR Headset Video
So I have a video stream of known resolution and I have a VR headset via HDMI at a known resolution.
Is there an existing library to create the slight fisheye and side-by-side layout for these ...
0
votes
0answers
64 views
Gravity around a sphere with rotation? (Blitz 3D)
I've been making this space/moon type FPS game with Blitz 3D and I can't seem to get gravity working perfectly. Right now, it works, however when I go farther on the moon, I see that my character is ...