0
votes
1answer
20 views

Scrolling effect after touch

i'm making map for a game and need to make scrolling of map, so the main thing what i need is to calculate speed and move layer after player remove finger from screen. I make it my own, but i think ...
0
votes
0answers
27 views

LibGDX - How to move Actor with fingers Code?

I am completely new to Game Development. I See all these Questions and Answers and Codes and I have no clue what to do with them. I need some Guidance. My Plan: I want my Actor to move up and down, ...
0
votes
0answers
23 views

GLSL 150 (or upper) per pixel lighting base code

I'm looking for a working example of smooth per pixel shading for one directional light I've seen this example http://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/lighting.php but its old GLSL ...
-5
votes
1answer
63 views

Slot machine effect on c++ [closed]

Am making some slot machine game in c++ and sfml for fun. Wanna have an idea to make the REEL effect wheen spin button is pressed.
-1
votes
1answer
29 views

Is lighting different from Immediate mode rendering to VBOs?

I recently got a textured cube to render as a VBO, and I've noticed some strange things as I have been trying to incorporate lighting. Firstly, there is no difference if I comment out any lines ...
-1
votes
0answers
24 views

How do gamezer handle multiple types of games [closed]

gamezer.com is a game website which allows users to play multiple online turn-by-turn games. Does anyone know how did they implement their gaming system? Specifically, do they use a common platform ...
0
votes
0answers
14 views

Empty regions in power diagrams? [closed]

Sometimes there is empty regions in power diagram. It looks like some regions are smaller compared to the normal Voronoi diagram? How is this possible and how is this useful?
4
votes
2answers
57 views

Problem with texture's quality in Unity

. After setting a texture to GameObject, it looks bad. Some pixels can be seen and colors are distorted. The image itself is in good quality but after importing it to Unity, it looks ugly. ...
2
votes
0answers
28 views

How to raycast against a physx cloth mesh?

I'm using the PhysX 3.3 SDK in a application and mostly everything is working fine. However, I'm trying to develop a feature that would allow users to click on various actors in the scene and modify ...
0
votes
0answers
19 views

How do I update a static mesh in Unreal 4 during movement?

I would like to use UE4 for rendering of a huge world. During the runtime, I would like to load a mesh from a custom source and adopt the mesh in the game. Could someone give me a hint how to do this ...
-3
votes
1answer
58 views

Rotate camera with mouse? [closed]

Once again, using tutorial 10 at NeHe. I want the code if (keys[VK_RIGHT]) // Is The Right Arrow Being Pressed? { yrot -= 1.5f; // Rotate The ...
1
vote
1answer
109 views

Game development for high-school with C++ and OpenGL [closed]

I've been teaching high-school students (12th grade) game programming in the last 2 years. The way I did this till now, was first to give them "half made" classes (for Point, Polygon, etc.) and ...
1
vote
1answer
66 views

Does scaling affect performance in OpenGL? [closed]

I've never been able to understand the best practice in this context. I usually want to ship my game with as minimum size as possible. So whereever possible, I try to use scaling of my graphics. Let's ...
0
votes
1answer
40 views

Deferred Lighting - How to map to the generated texture?

I'm trying to implement deferred lighting and I have done the first and second pass but I'm stuck on the third as I don't know how to map from the current pixel being drawn to the generated texture ...
0
votes
2answers
72 views

Draw a never-ending line in XNA

I am drawing a line in XNA which I want to never end. I also have a tool that moves forward in X-direction and a camera which is centered at this tool. However, when I reach the end of the viewport ...
0
votes
0answers
36 views

How to pick materials in a minecraft-like world? [closed]

In a minecraft-like world, generated with different noise functions, what ways are there to select a material? Material = Blocktype / Texture / Color / Appearance / ... Okay, I could do something ...
0
votes
2answers
57 views

SFML: Monster following player on a straight line

I've searched for this and found a few topics , usually they used a function normalize and using simple vector subtracting which is ok , but how should I do it in sfml ? Instead of using: Movement = ...
2
votes
0answers
60 views

How to implement simple shadows on XNA?

UPDATE: See photos below the description I try desperately to implement shadows on my XNA games. My game is a style of games like Voxel (minecraft). The problem is that I do not find support / ...
-3
votes
0answers
28 views

Selecting interstitial advertisement companies for android

I'm developing an android game using the libgdx framework, and have reach a notorious doubt, what's a good way to place advertisement into my app. My first choice are interstitial advertisements, ...
0
votes
0answers
19 views

build Bullet Physics for multiple architectures in Visual Studio [migrated]

I am building a Windows OpenGL application with bullet physics support. My development environment setup is : OS : Windows 7 SP1 64 bit IDE ; Visual Studio 2010 SP1 BulletPhysics - bullet-2.82-r2704 ...
0
votes
1answer
37 views

When to scale bitmaps in android game

I've just started developing my first game with android using SurfaceView. I scale my bitmaps to support different screen sizes. But I don't know it's better to do the scaling when loading the bitmaps ...
-2
votes
0answers
45 views

Do I need to create a company to publish Android games? [closed]

For sure, the top-developers in GooglePlay (GP) are registered/copyrighted in some way. If I made up a cool name for a company, and will have its logo on splashscreens in my games: Do I need to ...
0
votes
1answer
41 views

“Game Property Values” for online game on Database or somewhere else?

I'm working on a online game but, what would be the best way to store values like damage,movespeed,turnrate, and so on.. ? My answer would be, to store them in a Database, so they can easily be ...
0
votes
1answer
53 views

NiftyGUI - Text isn't rendering

I am trying to create a gui with nifty on top of lwjgl. I've already had some problems during the Nifty setup, however now Nifty is set up and running correctly but for text rendering. Here is my xml ...
0
votes
0answers
32 views

Sporadic collision detection between prefab and target?

I'm trying to get a enemy prefab to track a static target. The "enemy" is spawned into the playing area and using A* Pathfinding, tracks down the target by name. The prefab is destroyed upon collision ...
0
votes
0answers
15 views

Animating colors in a Direct2D Linear or Radial GradientBrush

Is it possible to change colors in a Direct2D brush once created? For example, if I create a LinearGradientBrush can I interpolate the value of the color in one GradientStop to a target color over ...
1
vote
1answer
86 views

Data structures for territories in a 2D map

I am diving into game development with a 2D game. The game will display a territorial map (borders, capitals, etc.). What is a common data structure to use for storing and manipulating the data in ...
0
votes
1answer
52 views

How do I architect around Object Pools?

Example I have an "Enemy" class, and 5 types of enemy subclasses. These enemies will be spawn often, so I want to use an object pool. However, this means I can no longer use an object pool for ...
0
votes
4answers
81 views

Accurate sprite rotation with mouse movement

I am using the current mouse position to aim the player sprite, but I am not getting the best results. It will often by off by a noticeable amount, or even a complete ~180 off if I go from one side, ...
-1
votes
0answers
23 views

Modeling languages and methods for games [closed]

I am a beginner for game developing. I have been asked to develop a game with analysis and design report. Is there any UML, SSADM, OOSADM like modeling language or method to model the games.
3
votes
1answer
93 views

How do I get the number of online players in a Minecraft server from outside the client?

I know that the Minecraft client can query the server for number of players and maximum players, even when the server properties has enable-query set to false, but how do I do this outside of the ...
1
vote
1answer
31 views

How do I use _com_ptr_t with RenderTargetView and DepthStencilView?

I have successfully used _com_ptr_t with the ID3D11Device and IDXGISwapChain but when applying the same reasoning to the RenderTargetView and DepthStencilView, the function ...
0
votes
0answers
37 views

Best Way to Create Your Own Game Props? [closed]

I'm a indie-game programmer by profession, so I'm very poor with 3d modelling stuff. I'm using mixamo's fuse for character creation and animate them. But is there any replacement to FUSE for creating ...
-1
votes
1answer
19 views

Model/Animation format with light/well documented SDK [closed]

I was writing a converter from FBX to my model format. So I export my mesh, bones and animations to FBX and convert it to my custom format. The problem is that imo the FBX SDK is very heavy and not ...
5
votes
1answer
174 views

How can glass breaking effect from Smash Hit be achieved? [duplicate]

I saw Smash Hit the other day and was amazed by the physics of the game, specially the shattered glass effect: I've read other posts about this subject but I still feel that they don't share enough ...
-1
votes
0answers
45 views

Creating a Steam Trade Bot [closed]

I want to create a Steam bot that will automatically accept incoming trade offers, as long as there are no items that the bot has to offer. Later, I will make it better with certain items that the bot ...
0
votes
2answers
51 views

Why can't I load an image with a relative path in SDL2 on Linux?

When loading a texture in SDL2 the general procedure is this: SDL_Texture* texture = IMG_LoadTexture(renderer, "resources/images/image.png); However this doesn't work and I have to supply the WHOLE ...
0
votes
1answer
22 views

Rendering a mesh in image viewport

I have a mesh made of nearly half to a one million vertices. I also have some 6-DoF camera poses around this mesh. At these poses I'd like to find out which of the 3D points of this mesh get projected ...
0
votes
1answer
35 views

How can I create a button with an image in libGDX?

I am new to LibGDX. I am trying to develop a game for Android (so it will support different screen sizes), but I don't know how to put a button with an image. I tried ImageButton but I can't resize ...
2
votes
4answers
167 views

Designing a scriptable questing system

I'm currently working on a scriptable questing system. As for scripting, I will probably use JavaScript, but I'd appreciate some help with the design of the system. My first attempt essentially ...
0
votes
0answers
18 views

Cannot draw around the screen after zooming out with LibGDX projection coordinate

I've just started developing game in android using LibGDX. I've follow some samples and now my simple game can draw path when user move their finger around the screen. now problems appear when i add ...
0
votes
1answer
32 views

Algorithm for texture blending modification

Im currently writing a terrain editor for my game (for the record: no commercial intentions) and after having implemented the terrain morphing to my liking im now working on the texturing of said ...
0
votes
0answers
49 views

Unreal 4 or Unity 5 for realtime scene generation? [closed]

I am totally new to the game development stuff. Basically I work on 3D reconstruction from cameras and would like to render the results in Unreal 4 or Unity 5. The data is initially stored in a sparse ...
16
votes
3answers
3k views

Is there any harm in having the main game loop run uncontrolled?

I was wondering if there is any possible harm when my game loop runs as fast as the system allows? I currently have a loop, that, by measuring passed time in nanoseconds, runs the game logic and ...
-2
votes
0answers
48 views

Distributed game development and security of source code [closed]

I think this question has already been asked many times, but I can't find any of them. I have a game project (I'm using Marmalade),and a few trusted developers, but I want to invite more. For adding ...
-2
votes
1answer
59 views

How to make healthbar decrease in unity [duplicate]

I want to build a health bar which show's the energy of the player.I have two buttons "PLAY" and "IDLE" to show the animation.when I click on the "PLAY" button the character start running along with ...
0
votes
0answers
21 views

Javascript manage concurrency regarding variable/function access/call

Do i need to manage concurrency regarding variable/function access/call? A real life example: With Construct 2 game engine,using the Websocket Plugin: While i'm processing the current received ...
12
votes
7answers
3k views

How can I let new players effectively compete with long-time players?

When new players join my strategy game, they have 3 days of protection from other players attacking them, but that's not enough time to catch up to players who have been playing for longer. How can I ...
0
votes
0answers
21 views

setRotation in touchDrag

I have a problem, have Actors that represent game pieces. What I'm trying to do is make it so the player can click-and-drag the tile to move it around one fixed position in the screen and rotate. I ...
0
votes
2answers
35 views

Play animation when click on each player with in maincamera unity3d

I have 3 gameobjects player1, player2, player3, and attached script "playerscript" in to these game objects. In the main camera i have added another script called" testscript". When i click on a ...

15 30 50 per page