All Questions
-1
votes
1answer
4 views
Learning Game Development in AI
I want to get started in Game development, but i'm lost. my objective is to get into the AI side of the game development. Can someone post details on where to start, and any resources which i could ...
0
votes
0answers
17 views
Implementing fog of war on HTML5 canvas
I have been wrestling with creating fog of war for a while now. I actually did create it, but I consider the implementation too resource-heavy to be usefull.
For initial information: I use createjs / ...
0
votes
1answer
21 views
weaponCombination not working
I'm working on having weapons weapon restrictions when players want to fight one another in an arena.
My combinations work but my 'all weapons' doesn't work. Weapon restrictions is you choose which ...
0
votes
1answer
7 views
Moving and Changing Texture of sprite in Andengine
I m trying to create sprite in andengine i.e : A women is speaking and moving from right to left i m trying to change the image of that sprite every 1 sec [i hv png sequence], but these png sequence ...
0
votes
1answer
22 views
Multiple keys being pressed, some being ignored SDL
I'm making a two player pong clone and my problem is that when the second player presses both of his/her buttons at once, the first player locks up and cannot move, even though this does not happen ...
0
votes
2answers
22 views
Code to generate a color gradient within a texture using a diagonal line
I want to generate a color gradient between two colors from x1,y1 to x2,y2. I'm unsure how to do this though. I can use Color.Lerp to get all of the color steps, but the problem is that I don't ...
0
votes
0answers
19 views
Companies to assist in monetizing games? [on hold]
Does anybody know of a (good) service/company that manages in-game ads, i.e. someone who has a pool of advertisers ready to place ads in my game? How does this work?
0
votes
1answer
8 views
How would one outline an alpha transparency layer in javscript and/or php?
I simply want an outline/edge detection of the character/item/object that is selected or doing something.
I'm seeing lots of versions of this question for different languages, but I would appreciate ...
0
votes
2answers
29 views
How to regulate FPS and events? (2D OpenGL)
I'm trying to create a small little 2D RPG-type engine using C++, SDL/OpenGL and Tiled. My little demo looks very similar to a Pokemon or Zelda game.
I was curious how to go about regulating FPS and ...
-1
votes
0answers
11 views
What would be the best schema for a unique championship for each user in a single football league database? [on hold]
I'm thinking about building a football manager simulator, being able to create a unique space for each registered player to have its own league (having corresponding teams), where he does control one ...
0
votes
1answer
27 views
How do you create an input layout for passing a uint4 to a vertex shader in D3D10?
I am trying to pass in a uint4 into the shader but my input layout keeps failing when trying to load the shader.
shader.fx
uint4 values : UINT4_0; // VertexInput
Input layout
{ "UINT4", 0, ...
0
votes
0answers
56 views
Making 2D games with a background other than totally black
I'm a beginner at making 2D games. Up until now, I always created my games with a black background, or a fixed color. This is because my sprites always have a black (or a solid color) background, and ...
0
votes
0answers
13 views
LWJGL - 3D game HUD / GUI tutorial [on hold]
I'm trying to make a HUD for a 3d game with java's LWJGL. I've searched many sites for tutorials on how to do this but have yet to find a tutorial that fully explains how functions such as ...
0
votes
0answers
19 views
LWJGL Translation Problems with Matrix4f Class
I've just implemented a simple 3D Camera into my current game program using matrices and shaders. (I've basically just implemented the simple camera found here: ...
0
votes
2answers
49 views
Using System Time for delays
In my Android app I have the requirement to introduce small (for slowing down animation) and larger delays (for the purpose of delaying the appearance of a character for example).
I've experimented ...
0
votes
0answers
39 views
Rendering a 800*600 area of an array with 16*16 tiles [on hold]
I have a randomly generating array, and the window is 800*600. What i want to do here is move around the world with the wasd keys, currently it will, but it will at some location do an ...
0
votes
0answers
34 views
Architecture Game Engine with SDL [on hold]
I read book "SDL Game Development". Author provided good simple architecture, which build on "singleton". And I was able to make almost all, but I wasn't able to make a FSM ("Finti State Machine"). I ...
0
votes
0answers
33 views
How can I get the entity a player is looking at in a Bukkit plugin?
I'm creating a wizardry plugin for Minecraft, and I was wondering how you would get the entity that a player was looking at, I know that you would have to use a Vector, but I really am not familiar ...
0
votes
0answers
24 views
How can I set the attribute index location?
I am trying to set up a shader which takes three input parameters. I have the following code:
GLuint vert = glCreateShader(GL_VERTEX_SHADER);
GLuint frag = glCreateShader(GL_FRAGMENT_SHADER);
const ...
3
votes
1answer
86 views
How can I ensure field of view symmetry in a Roguelike?
I'm working on a Roguelike, and for it I've created a ray-tracing/casting field-of-view (FoV) algorithm that consists of plotting Bresenham lines to every point in a solid circle. It's artifact free ...
0
votes
0answers
28 views
How should I classify gamer demographics? [on hold]
I'm interested in how professional video game developers describe their demographics and what terminology they use when doing so. I remember reading a while ago about the ...
0
votes
0answers
22 views
Draw a single Line on JMonkeyEngine
I need draw a line between two Boxes; with the two vectors position (one for each box) i created the Line object but I don't know how to show it in the scene.
Line ray = new ...
1
vote
2answers
45 views
How can I use ARB_debug_output with SDL on Windows?
I'm trying to port a small GL program that I've been working on from Linux to Windows. I have the following:
window_ = SDL_CreateWindow(...);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, ...
-1
votes
0answers
13 views
Can't import as3isolib cs6 [on hold]
I know that's look studied and so basic, but It almost drove me crazy...
I am trying to use the as3isolib on Flash cs6. I put the the files of as3isolib.v1 folder into the project project folder, and ...
1
vote
1answer
49 views
How to compute tangent and bitangent vectors
I have a texture loaded in three.js, then passed to the shaders. In the vertex shader I compute the normal, and I save into a variable the uv vector.
<script id="vertexShader" ...
0
votes
1answer
30 views
Changing the maxDepth of viewport
Whenever I change the maxDepth of the viewport from 1.0 to say 300.0f (just for kicks), everything on my screen disappears. Why is that? Is there anywhere else I have to account for this change in ...
-1
votes
1answer
26 views
C++/OpenGL/SOIL unresolved external symbol? [on hold]
I am fairly new to C++ and OpenGL, I have been given an example program form a lecture and I am trying to adapt the code for use in an assignment. So far everything is working except I am getting this ...
4
votes
2answers
54 views
Animation Workflow from Blender to Mecanim in Unity 3d
I've recently started learning Unity and one of the things that's really really slowing me down is not being able to add custom animations to the standard FBX's you get from unity's app store. When I ...
0
votes
0answers
10 views
Maxscript - How to get the proper rotation quaternion using transform matrices
I am working on an exporter in 3dsmax, using maxscript.
I have to do an operation with the transformation matrix, so I can't use the rotation property of the object
in coordsys parent ...
1
vote
1answer
42 views
Does `SetResourceArray` copy the data into the GPU?
I am trying to create multiple textures, and only several of them change every few frames. I don't want to have to copy in the whole array via SetResourceArray for just a few textures that change, ...
0
votes
0answers
10 views
Maxscript - Get the transform matrix relative to parent of an object
I want the transformation matrix of an object relative to its parent.
This code works:
in coordsys parent myObject.position
But not this:
in coordsys parent myObject.transform
So how to get the ...
0
votes
0answers
25 views
Memory management concerning Meshes [on hold]
I have a Mesh structure that wraps informations like geometry, material, skeleton, animations, ...
And I would like to create several instances of one Mesh using a memory-friendly approach.
So I ...
0
votes
0answers
12 views
Error with Box2D and cmake [on hold]
Trying to configure Box2D using Cmake and I keep getting an error message that reads
"Error in configuration process, project files may be invalid". I am using Visual Studio 2012.
Does anybody know ...
0
votes
0answers
20 views
box2d's ApplyForce works wrong after cocos2d-x's replaceScene
i'm practicing making a breakout game, using cocos2d-x 3.x and box2d, referencing here.
i create a ball in the scene's init function and apply force.
when ball hits bottom wall, if i touch screen ...
1
vote
3answers
97 views
What is the term for the level progression paradigm in Bejeweled?
Looking at the various level progression paradigms for my puzzle game, I decided to rule out the common ones such as 3-star per level, linear campaign-like story, etc. I like the idea of Bejeweled's ...
0
votes
0answers
12 views
C++ Direct X sprite class, problems with vector [migrated]
So I've created a sprite class using LPD3DXSPRITE to hold a sprite. It works fantastic, until I use it in a vector. The issue arises when the vector creates a copy and destroys the other sprite. ...
0
votes
0answers
25 views
Game development engine with editor for 2d turn-based strategy game [on hold]
First of all, forgive any errors in my grammar, since I'm spanish.
Recently I've been looking for the proper engine to start developing a 2d turn-based strategy game, something like "Advance Wars", ...
-1
votes
0answers
45 views
Where to start in c++? [on hold]
I made a small game where the player can walk around in Visual Basic, but recreating it in c++ has been hard...
If someone could help me on where to start or ideas for games to make in c++ That would ...
0
votes
0answers
19 views
Problem with Sprite Animation and Movement [on hold]
I am making and RPG and have coded the movement and animation for the sprites. When I run the project, the sprite will move down or right. When the right arrow key is pressed, the sprite will move ...
2
votes
1answer
67 views
How do we apply different textures to different faces generated via geometry shader?
I am trying to render a cube by starting of with one vertex into the shader, then geometry shader to expand into a cube, and then apply a different texture to each side. The part I am facing the issue ...
0
votes
0answers
15 views
XNA 4.0- Help with firing projectiles at the mouse cursor [duplicate]
I'm making a Zelda-esque RPG in XNA and I'm confused on how to fire a projectile from the location of the mouse cursor? I've been trying to find a solution on the internet but to no avail.
0
votes
0answers
20 views
How to add astronomical objects with bulletphysics and ogreplanet? [on hold]
I can add spaceships and space stations from 3D models, planets and moons from ogreplanet but how can I make an asteroid field, a supernova or a quasar or a black hole? I suppose not all astronomical ...
0
votes
0answers
30 views
Gravity & Jumping & Collision [on hold]
I am creating a 2D side scrolling game with Libgdx in which I would like to "jump" and fall back down until I collide with an object. I don't want my character to fall back to his original Y value as ...
0
votes
0answers
11 views
TexturePacker Content protection [on hold]
I am an indie developer about to release the first mobile game. I worked on it for 2 years and found out only some time ago that TexturePacker offers a content protection system.
I have a big ...
3
votes
2answers
78 views
Efficient per-frame constants in shaders
I have some variables that stay the same during the entire frame and will be used by a large number of the various shaders I use (several dozens). These include things such as the various transforms ...
2
votes
1answer
56 views
How to prevent a sprite to move in an angle that will lead to collision
I have two sprites that can move in any angle. The sprites are rectangular.
I created bounding boxes for both the sprites. These boxes rotate whenever the sprite rotates. They always surround the ...
-2
votes
0answers
19 views
Sourcecode of blockout? [on hold]
Do you know if the source of the original Blockout 3D tetris game (not Blockout II) is available somewhere? I've found nothing about it
0
votes
0answers
18 views
Cocos2d: some efficient collision detection [on hold]
Is there some way of efficient collision detection rather than looping through my game in cocos2d?
I have a top-down 2d game with a character trying to collect food. And this map is big, like 9 times ...
2
votes
1answer
97 views
Understanding Torque in Unity
This is (hopefully) a simple question that should avoid me asking a more complex question. This is in Unity (2D) but hopefully this is a general physics principle I am not getting.
I am applying a ...
2
votes
2answers
70 views
How to obtain “gravity” and “initial impulse” given “desired time to reach max height” and “desired max height”?
I'm developing a 2d fighting game, using time steps based on frames ie, each call to Update() of the game represents a frame so, no variable time at all.
My jump physics code doesn't need to consider ...