0
votes
0answers
30 views

How can I develop a simple Andoid game with basic 2D physics? [closed]

I have a 2D game idea, and do not know how should I start. It is a simple game, where I should be able to stack up a lot of objects in a heap affected by gravity. Which framework (I have heard of ...
-4
votes
0answers
44 views

What are the differences between the different anti-aliasing types? [closed]

Could some one explain to me the differences between the anti-aliasing types?
1
vote
1answer
43 views

Disney BRDF - where is metallic factor input into BRDF?

Burley states about metallic parameter: "This is a linear blend between two different models. ..." What are the two models? I can't see this described in the Frostbite or the Unreal papers either. ...
0
votes
0answers
37 views

Good idea to unlock lower difficulty maps when a higher difficulty map is beaten? [closed]

Imagine a game with different maps. Each map has 3 levels of difficulty, Easy, Medium and Hard. So an experienced player would play a new map on Hard, as the other 2 modes are way to easy for that ...
1
vote
0answers
46 views

How to rotate a sprite on touch/drag done on the screen wih Andengine?

when I look at the andengine examples I saw an example about rotate a sprite with joystick. Here is the code; final float y2 = (this.mPlaceOnScreenControlsAtDifferentVerticalLocations) ? 0 : y1; ...
1
vote
2answers
71 views

How to resolve combat of stacks of units to mitigate numerical advantage

I just started designing an strategy game where player's armies consist of stacks of units. For my design I was aiming to reproduce the following behaviour for a full combat of multiple turns (for ...
1
vote
1answer
32 views

Using a DirectX Vertex Shader to Modify the Vertex Data in VRAM?

I'm working on a GPU-side particle system in DirectX 11 where the vertex shader uses a vector field encoded into the color channels of a texture to modify the positions of the vertices before drawing ...
0
votes
0answers
37 views

I need a payment gateway for my game [closed]

I am a game dev. I am thinking to make a game with in app purchases. But receiving money feom google play isn’t available in my country. So i am searching for other ways. Please help me. I cant use ...
1
vote
1answer
39 views

SDL Memory leak with TTF_Font and surface

I am creating 2D game with SDL2, and I have a problem with my label class. Every time I construct new label I have a memory leak, and I don't know what I do wrong! For example, I want to refresh ...
1
vote
2answers
63 views

How can I make sure multiple player scripts all get the same amount of execution time per game tick?

I'm looking for a way to allow players to write code in a high level language, but I need to be able to keep all script instances synchronized in terms of script execution time per game tick so that ...
1
vote
1answer
134 views

How do games like Street Fighter compensate for bad frame rates?

I know fighting games like Street Fighter like to run and are capped to a standard 60 fps. All their combos, animations, chains, etc... are based on frames. So, how do they compensate for slowdowns ...
2
votes
2answers
89 views

Is there an existing algorithm to find suitable locations to place a town on a heightmap?

I've been experimenting with random generation of a "map" with the intention of building a basic sort of procedural map generator. Generating a reasonable heightmap using libnoise hasn't been that ...
0
votes
2answers
71 views

Prefab Instantiates into scene, but when I store a reference to the instance it's null

I am instantiating and parenting two objects - the first is a Unity primitive and the second is a prefab cube (literally nothing but a cube made into a prefab). The direct instantiation of the ...
1
vote
0answers
23 views

LibGDX: I need to get from SpriteBatch to Batch in order to draw a Touchpad

I have created a little game using LibGDX and it uses a SpriteBatch when it renders the game objects. Now I want to add a Touchpad to it, and the draw method of Touchpad takes a Batch as a parameter, ...
4
votes
2answers
115 views

How to find the optimum path, on a road, for a car?

For the moment I have an AI car, that follows points (let's call this Waypoints), that I built by myself. Of course, it's not optimal because of my poor human hand, and car knowledge. After this ...
1
vote
1answer
68 views

Why do I get an infinite loop created by a subtraction in Unity3D? [closed]

Does anyone have a solution to this ? When I do the subtraction , it makes a loop that does not stop. if ((lamp.activeSelf == true)&&(test == true)) { money = money - 50; /...
5
votes
2answers
139 views

Level of detail for the map of stars

I have a large list of points (millions) in 2d. Let's say it's a star map. Each star has a radius and position in space. I want to render this map at different level of details. From a single star to ...
2
votes
1answer
19 views

What is the difference between these graphics filters in Adventure Game Studio?

Adventure Game Studio supports following graphics filters: max nearest-neighbour filter and 2x-8x nearest-neighbour filter 2x-8x anti-aliasing filter What graphics filter offers the best image ...
1
vote
2answers
46 views

Unity2D - collide with objects while moving to a position

How do I get my character to collide with other objects while moving to a position? All I've managed to do is change the position, it only collides if the character is not moving, it's like he is ...
1
vote
2answers
51 views

OpenGL: Properly attach Texture

Problem: Been trying for hours to set a simple png of a cross hair as a texture (so I could later stick in the middle of the view like a normal cross hair), without luck. I'm coding in Java with ...
1
vote
1answer
14 views

PlayerCenteredScores in LeaderBoards

Games.Leaderboards.loadPlayerCenteredScores(mGoogleApiClient,leaderboardId, LeaderboardVariant.TIME_SPAN_ALL_TIME, LeaderboardVariant.COLLECTION_PUBLIC, 5).setResultCallback(new ResultCallback<...
0
votes
0answers
19 views

Toggle between function in unity [closed]

I want to toggle between function with the left mouse click. So basically, I want my the screen to start with displaying func1(func1 is activated), then when you press the left mouse buttonfunc1 gets ...
2
votes
0answers
16 views

Problem Rendering a Wireframe Cube and Grid with DirectX 11

I am trying to draw a 3D Wireframe (just the lines that connect each vertex) Cube and a 10x10 grid with D3D11. So far, this is my code //************************************************************ //...
1
vote
1answer
41 views

Unity 2D animation issue

I have this weird animation bug in Unity that I believe is how Unity handles the frame. I dont know how to show the image so I'll do my best to explain it. So I put a bunch of 2D sprites in a ...
0
votes
0answers
13 views

Chartboost ads not showing on some Android Devices [closed]

I had implemented chartboots ads in my Libgdx game. When I tested it, it worked properly and when I published the game it is working well on some devices, but it doesn't work on others. my friends ...
-1
votes
0answers
34 views

Best way to implement card effects for a TCG [closed]

So, I have been wondering for some time how people code different card effects for the various TCG card games that are available now. After thinking about how I would implement this, I came up with ...
0
votes
0answers
23 views

Triangle in Directx 11 [closed]

I recently got a triangle to work in directx 11 what exercises should I do to not forget how to do this and get a better understanding of rendering geometry?
0
votes
0answers
14 views

html inside bootstrap inside php [closed]

I'm trying to develop a script that will generate a popover with a form inside of it, with a submit button. Outside the php echo it works but not inside of it. Here is the code that works: <...
0
votes
0answers
13 views

RoBlox: Leaderboards Incramenting with a kill by gun

I'm New to Lua but I could not figure out how to detect that the bullet did the final blow and trace that back to the player and within script access the leaderboard script and add 1 to KO section of ...
1
vote
0answers
20 views

Linking 3D Models together in libgdx (skeletal)

I'm drawing a 3D stick figure for an Android app using Libgdx and its ModelBuilder's createCylinder() and createBox() methods. In the render method I animate it by applying translations and rotations ...
1
vote
0answers
22 views

Controllable color blending?

I'm relatively new to color blending in DirectX, and I'm hoping there is a relatively simple answer to this question. I am targeting Direct10.1. What I am trying to achieve is colour blending of two ...
1
vote
1answer
25 views

Image Not Loading Crafty.js

I am experimenting with Crafty.js, and I have called .image() on an entity, and the image is not loading. When I look through the web inspector, I can see that the cloud entity exists, and that the ...
2
votes
0answers
26 views

FillRecatangle set Opacity?

I have a game with "hud" which is drawn by fillrectangle. How would I fade these fillrectangles when the player is on the "hud"?
36
votes
3answers
10k views

Do games need installation these days?

I wonder why games need installation at all. I can understand that some software like a browser needs it so it can associate some file types with it and start an executable, or add the icon to the ...
1
vote
0answers
20 views

Allowing one sprite to move through another in Quintus

I have a Bumper class extended from Sprite: Q.Sprite.extend("Bumper", { init: function(p) { this._super(p, {gravity: 0}); this.add("2d, ... //etc. } I have an Enemy class that ...
-5
votes
1answer
57 views

What do you call the camera movement type in starcraft?

Yeah, that's it, I cannot figure it out for the life of me. What I'm curious about can be seen in this YouTube video (at 3:58).
-1
votes
0answers
44 views

Why does my code crash on sign-in with Google Play? [closed]

I just updated GooglePlayGames plugin for Unity. My code worked fine before I updated the plugin but now my game crashes on sign in. public class Signin : MonoBehaviour { void Start () {...
0
votes
1answer
80 views

Is 3d game development advantageous/possible in SDL2? [duplicate]

I think this is not appropriate, but as the given video in the link, the youtuber name Bisqwit creates his own 3d engine from scratch in C and SDL2. How much is this advantageous is real 3d game ...
0
votes
4answers
96 views

Difference Between LibGDX and LWGJL

I've been looking into developing a small game with Java, as I am fairly familiar with it and see game development as good opportunity to improve my knowledge. When I research different libraries and ...
5
votes
1answer
56 views

Best way to initialize values on 32-bit FP framebuffer in OpenGL

I have a framebuffer bound to 32-bit FP texture: glGenTextures(1, &texColor); glBindTexture(GL_TEXTURE_2D, texColor); glTexImage2D(GL_TEXTURE_2D, 0, GL_R32F, w, h, 0, GL_RGBA, GL_FLOAT, (GLvoid*)...
-3
votes
1answer
37 views

Repeating an anim at various positions in unity 2d

I never worked in unity 2d before. I just started developing a 2d game couple of days back. The gameplay of my game is almost similar to flappy bird. I successfully imported an animation file (.anim ...
0
votes
1answer
21 views

Transition the scale of a sprite

I'm new to this engine but I am making a menu with some basic animation, I would like to start with a sprite scaled up and then it would transition to the normal size. Is it possible with LibGDX or do ...
6
votes
5answers
215 views

Choose your own adventure - choices stack

I'm currently building a choose your own adventure game. Now it's easy enough to have one outcome to every choice and create a linear flow, but is there a good algorithm for having all previous ...
2
votes
0answers
27 views

Simple square vertex lifting shader

I am trying to rebuild the fur effect in Viva Pinata. Here each square becomes a pattern of fur I imagine the process to be like this... U lift one end of the triangles. Now I need to ...
3
votes
1answer
102 views

Generate camera shakes in Java

How would one of these work? (If you don't know what I'm talking about, think like in a game where you shoot a big gun, and your screen bounces in the opposite direction.) I've been experimenting ...
1
vote
2answers
34 views

Replace PolygonCollider2D with MeshCollider at runtime

I am using a PolygonCollider2D to load in points for a MeshCollider at runtime, but am having issues switching between the two at runtime using good coding practices. This is a simplified version of ...
1
vote
0answers
35 views

My orbit code produces the wrong results

I have a GameObject called "Sun" in the sky. A game object called "GameManager" keeps track of time in the game, it is responsible for updating the hours and days. For my sun I do something like this ...
1
vote
0answers
37 views

I keep getting a type/namespace error when I try to define my two motion controllers. What am I doing wrong?

I'm trying to get motion controls working (particularly making it act like a joystick) but I keep getting this error "The type or namespace name 'SteamVR_Controller' could not be found (are you ...
2
votes
3answers
95 views

Protecting game assets through archiving

I'm writing a game in C++ (with OpenGL) and am getting quite far into development. Currently I'm loading the data directly from different directories. (E.G. I load textures from a /Data/Textures/......
1
vote
1answer
39 views

How do you get audio clips to play on all clients?

I am new to networking with so this is probably a noob question. For context I am trying to get a gunshot sound effect to play and be heard by all players.

15 30 50 per page