All Questions
0
votes
0answers
20 views
Opengl Compute Shaders support?
I have a question about compute shaders.
My GPU is an AMD mobility Radeon 6490 which as the AMD website says supports OpenGL 4.1. However, when I check for my compatibility version via ...
0
votes
1answer
38 views
How to approach rendering in a 2D Sprite-based game?
Let's assume you have some classes like Player, Enemy, Map and Tile.
The first approach would be to let the things draw themself, e.g.:
void render(){
player.draw();
enemy.draw();
// etc.
}
...
0
votes
1answer
16 views
Using Appendbuffers in unity for terrain generation
Like many others I figured I would try and make the most of the monster processing power of the GPU but I'm having trouble getting the basics in place.
CPU code:
using UnityEngine;
using ...
0
votes
1answer
23 views
Where can I find animators to create 3D models and animations for characters in 2d isometric game?
I am currently working on a game project which is 2D isometric game. I need someone to create pretty animated characters for my game. As I see this - every character should be a 3D model with a number ...
0
votes
0answers
22 views
How to fix problem in serpentine case using Blinn/Loop algorithm
I'm trying to implement Blinn/Loop algorithm to render cubic bezier on shader. I calculate the curve type using code below (v0, v1, v2, v3 are cubic bezier segment):
CurveType ...
1
vote
0answers
9 views
Getting the physical screen dimensions / dpi / pixel density in Chrome on Android
Question
Is there a safe way to get the actually correct screen physical dimensions in Chrome, on Android? If necessary, old versions of Chrome and Android can be left out of scope.
Prior research
...
-1
votes
0answers
27 views
Camera orbiting with Quaternions ( rotate a position vector around another vector using quaternions)
I'm interested in finding a way to have a camera orbit objects using quaternions. I have already tried and implemented this using a simpler non-quaternion method , however it isn't the smoothest and ...
0
votes
0answers
26 views
player's skills' movement
My character has a skill, as this video demonstrates.
While I was suggested to separate the animation and the movement, I have changed the animation in place, and am trying to use code to move my ...
1
vote
1answer
37 views
Polygons vs sprites rendering performance in Unity for windows phone 8
I'm currently building a windows phone 8 game with unity, having 111 (no more no less) sprites being updated each frames. I have a strong overhead in the profiler (70% to 90% minimum) I tried the ...
0
votes
1answer
34 views
Calculate The Proper X and Y Coordinate
I have a class called Tile, the constructor takes an integer that represents the tile's
type. You can load a tileset ( via loadTileset() ) which initalizes the fields -
tileset
numOfTiles
tileWidth
...
1
vote
0answers
40 views
2D to 3D perlin noise, I'm not sure I get it
I've been using 2d perlin noise to generate height maps for a little isometric terrain experiment. The noise value is directly related to the z-layer a tile will appear in: Math.floor(noise * 10). ...
13
votes
2answers
1k views
How to predict movement correctly when a player is invisible?
I have a multiplayer game and I'm doing client-side prediction, but some players can drink a potion and become invisible...
The problem is that when they become invisible I don't share anything that ...
0
votes
1answer
39 views
Create texture the size of my mesh
I programmatically create a Mesh and want to generate a texture that patches coloured squares together so that the patchwork perfectly matches the vertices.
The mesh's dimensions are expressed in ...
0
votes
1answer
32 views
Moving rigidbody2d towards mouse click using AddForce
I cant get my rigidbody2d game object to move to where i click the mouse. The first click works. The object travels to the mouse click and stops. But the second time (or the third time) i click the ...
1
vote
1answer
38 views
Running two simultaneous animations on a model?
I am just looking for a broad answer to this question. I am more curious about the general information rather than the specific. Also, I tried to search for this, but I think it's hard to word it so ...