1
vote
0answers
62 views

Best view for 2D Android game in Xamarin [closed]

I am trying to create a 2D multiplayer turn-based cooperative game for Android in Xamarin with possible future implementations for Windows Phone and iOS. The main inspiration for my game is Pandemic. ...
0
votes
1answer
35 views

TileMap not not rendering

I have a tile map that I would like to be able to move while playing the game. In the code you will see the posX and posY variables. I used these variables so that when I complete this, I can have the ...
0
votes
2answers
41 views

Random undirected graph generation

I would like to generate graphs randomly, like this: I have found that Box2d maybe can do it to me. But I do not know, how to use it, so how can I generate bobies after world initialization?
0
votes
0answers
22 views

User interactions with game objects [closed]

Would it be smart to put how game character (in some cases player) interacts with specific game object inside that object's class? Lets say door class would check if character, that tries to interact ...
0
votes
0answers
36 views

Suggestions for porting games to a very low-rez screen [closed]

I'm working on a project where we have access to a big, very low-resolution screen. The screen is about three feet (1m) wide and eight feet (2.5m) tall. Its resolution is 24 pixels wide by 56 pixels ...
0
votes
0answers
21 views

Copyright of old music [closed]

This is a two fold question: I'm using the song "Dance of the little swans" from the Swan Lake by Tchaikovsky for my indie game. I can't find any information on who owes the copyright for music ...
0
votes
1answer
46 views

Xna 2d tile culling

I'm trying to make a simple 2d tile engine here, and I've got a problem with getting a proper cells from a tile grid map when I'm trying to cull off tiles which aren't needed to be drawn. I've got a ...
4
votes
1answer
90 views

Executing commands at the exact same time on 2 or more computers

I have an RTS game, with deterministic simulation, but if I want multiplayer to actually work, I need commands sent between computers to be executed at the exact same time. My game's networking is ...
0
votes
1answer
40 views

C# - How to properly play background songs in XNA

So I'm using the game states (enum) to change my game screens. I have 2 songs for main menu and game playing states, respectively. To play songs, I'm using an old code example I saw at MSDN, like ...
24
votes
8answers
6k views

What is a “2.5D” environment?

I don't understand the meaning of the term "2.5D." I'm specifically confused about the difference between 2.5D and 3D environments, even though I've read different definitions and articles about both. ...
0
votes
1answer
57 views

Mutlplayer game organization [closed]

I'm planning to create an RPG that you can play in multiplayer. The graphics will be simple ASCII. I will do the client C and the server in Python. Having never done a multiplayer game was wondering ...
-1
votes
0answers
23 views

perpendicular planes are too lighted [closed]

I have this problem with Unity. From some days I have the free version of Unity and this issue happened. When I look the floor or a wall, I see a lot of reflection light. It seems that there is a ...
3
votes
0answers
113 views

How do I handle rope physics with fixed ends and a sliding weight?

I've been interested in rope physics recently—I've successfully implemented a simple Verlet rope with moveable ends. Now I am trying something a little different: I want to start by recreating the ...
0
votes
1answer
29 views

Slick2d: Tiled platformer tutorial? [closed]

I am very new to Slick2d. So, I am trying to learn it while making tiled platformer game. It would be much appreciated if anyone could post a link to comprehensive tutorial. Thank you so much.
2
votes
1answer
169 views

Is there any way to change compression type of TMX file?

Basically it's all in the title, you can choose compression type then you create new tile map, but after it's done the "Save As..." option doesn't provide compression type selection.
-4
votes
1answer
63 views

Move an object based on XML/TXT file [closed]

Let's think I have an file which looks like this: 0 1 2 3 4 5 6 7 8 9 10 11 I want to create a move from this file. For every 1s(mentioned in the file) I want to move the object. Is this ...
1
vote
0answers
46 views

Easy way to set face colors with indexed VBOs?

I'm loading OBJs, which lend themselves well to setting up as indexed VBOs, since each vertex is only defined once and then a face definition will reference the same vertex more than once when they ...
0
votes
0answers
36 views

If I were to trademark, say, Glup, would things like Glup 2 be covered as well? [closed]

See title, I want to know in case it comes up
1
vote
1answer
51 views

How do I create a custom “Google Maps” visualisation from game map images?

I am attempting to create the equivalent of a Google Maps map for a private Ultima Online server, with a custom map replacing the default map. I'd like to allow players to pin important locations on ...
1
vote
1answer
46 views

Rotating an object to point towards the mouse [duplicate]

I'm using slick2d for this process and trying to rotate a minigun to face the mouse. My problem is that the minigun in my game is actually rotating but no towards the mouse at all! Also, the minigun ...
1
vote
1answer
40 views

Monogame Windows Phone 8

I want to port a WP7 XNA game to WP8 using MonoGame. The thing is that I have Windows 7. So here's the questions (if some sound dumb, please bare with me). Do I need to have Windows 8? Do I need to ...
0
votes
1answer
29 views

Why can't I create an unordered access view of a R32G32B32_UINT buffer?

So I'm trying to create an unordered access view for a buffer having with three component elements, but it fails with this warning: D3D11 ERROR: ID3D11Device::CreateUnorderedAccessView: The format ...
0
votes
2answers
98 views

I want to show total time spent by all players around the world in my game

I am developing a Unity3D game. I want to show in my game: Total time spent playing all time by all players around the world Total time spent playing in last 24 hours by all players around the world ...
1
vote
1answer
46 views

Fast exact frustum culling for sphere

Given a view frustum and a sphere, how do I exactly determine whether or not the sphere intersects the frustum? The typical way of checking a sphere against a frustum finds the signed distance of the ...
0
votes
0answers
36 views

Concepts to store XNA textures

I'm working on a graphic library supporting XNA with some cool features. To do so I need direct per pixel access to textures (RGBA). I've been wondering what are the advantages of using those two ...
0
votes
2answers
81 views

Unity yield WaitForSeconds() not working

I am new to Unity development. I started learning Unity by reading tutorials, demos, examples, and watching videos. And I am having some trouble with using this timer. Here is my code: void ...
0
votes
1answer
48 views

3D Translations relative to 3D Rotations

I'm trying to program camera movement to be relative to camera rotation. (Forward is always forward, regardless of pitch, yaw, and roll) I want to be able to move forward, backward, left, right, up, ...
4
votes
1answer
113 views

Warcraft III, SharpCraft C# plugin: Usage of native “TimerStart”?

about: Blizzard Warcraft III [furthermore abbreviated as WC3] related version: WC3: The Frozen Throne 1.26.0.6401 (german Patch 1.26a) MindWorX Sharpcraft [furthermore abbreviated as SC] related ...
1
vote
3answers
106 views

Proper way to encapsulate components?

I've tried my hand at writing component systems and entity systems. What I haven't managed to solve is the problem of event collision. Say, we have an components A,B and C. A triggers 'kill B' ...
0
votes
0answers
22 views

“Widget Gallery” for 3D engine

After having to implement several GUI libraries from scratch, I've found, that the first step in implementing one should be to implement a "gallery" of working widgets. Once that is accomplished, work ...
0
votes
0answers
11 views

Cocos2d-x 3.0 JS: Facebook Dialog: Internal Server Error 500

I am using the following function to Invoke Facebook sharing: facebookShare: function() { cc.log('share to facebook 0.1'); var self = this; var fb = plugin.FacebookAgent.getInstance(); ...
0
votes
0answers
33 views

Share image on selected media [closed]

I want to share image on selected media that I capture through code. At present I have following code to capture image private void CaptureScreenShot() { Texture2D tex = new ...
0
votes
1answer
32 views

using rperp or perp to find perpendicular of a vector

i have code local coordinate Vec2 velo = Vec2(100,0); Vec2 Heading = velo.getNormalized(); Vec2 side = Heading.perp(); Vec2 trans = Vec2(12,12); then i can generate toWorldCoordinate for trans ...
0
votes
1answer
43 views

Fixed joints in 3D

I'd like to build something like rigid origami in 3D space. So I need some mesh where each vertex is a particle and the set of the edges makes a chains/fabric where each edge is a "fixed length" ...
1
vote
0answers
32 views

Game upgrade launch : Cross-platform release timing

I just finished doing a major upgrade for a old mobile title, that haven't seen an update in over a year. Lots of new content, things are looking nice. Sadly, these days it takes an average of 12 ...
0
votes
0answers
65 views

Garbaged textures on OpenGL [closed]

I've been struggling with this for a long time, and now I've hit a dead-end, I have no idea what to do. I'm pretty new to OpenGL (roughly about eight months), and I've been developing an engine for ...
-1
votes
2answers
86 views

I want to do an ECS Game, what would be a good replacement for XNA [closed]

In the past, I've made some little games for fun, and I want to start a new project. I want to use Entity / Component Paradigm, and I would have liked to use Artemis for .NET That said, I had a pretty ...
0
votes
0answers
30 views

marshaling c# struct with array to const buffer

I am trying to use a const buffer to pass a structure with an array of values into the pixel shader. However, all my color[] array values are coming in as zeros. I have the struct defined as: ...
0
votes
0answers
13 views

How to add Scrollview in Sprite Andengine

package com.example.andengine.sample; import org.andengine.entity.IEntity; import org.andengine.entity.shape.RectangularShape; import org.andengine.input.touch.TouchEvent; import ...
0
votes
0answers
20 views

Depth Map not rendering properly in DirectX / HLSL / SharpDX

I've been struggling with this for awhile, and everything I find online says this SHOULD be working, but I apparently missed something. I'm attempting to run Deferred Rendering in SharpDX on a ...
1
vote
1answer
64 views

IBO interfering with VBO data?

I have a vertex and color VBO that render a plane (2 triangles) just fine. However, when I attempt to use an IBO to render the plane, the vertices are completely off. My nice square looks all crumpled ...
1
vote
3answers
182 views

Issues with ECS performance

I'm currently implementing ECS in "classic" sense, as defined by this wonderful post, where we have Entities, Components and Systems. And I'm having a serious (for me) performance issues. They come ...
0
votes
0answers
41 views

isometric movement

I'm developing an isometric strategy game in flash using the Starling framework. I wanted to know what is the best way to move units about the isometric grid, and to render them the right way. Now ...
0
votes
1answer
27 views

Determining if a Point3D passed another

I have 2 points A and B in 3D space (say of type Point3D). B needs to travel towards A and then stop either when it reached or passed B. The direction between the two points is known (can be easily ...
0
votes
0answers
64 views

Particle System Tracking

I have a particle system where instead of tracking the time each particle is alive, I just track the time of the oldest particle and the time of the youngest particle. Basically, the oldest particle ...
0
votes
1answer
57 views

Can't seem to get Sprite to face left in sfml c++

I am having some small issues getting my sprite character to flip around. Basically I have a character that can walk to the right.. I am looking to flip it so that it looks like it is walking left. I ...
2
votes
1answer
86 views

How to share values between different shader programs?

I am using Unity but this might concerns all type of shaders. I would like to know if this is possible to share values between different shader pass.Let's imagine that I am computing something in the ...
0
votes
1answer
19 views

Get speed from vector using box2d and javascript

I need to find the speed of an object in a game. The game is made in HTML5 with jquery and jquery.box2d. For this I can use these methods: GetLinearVelocity().x; GetLinearVelocity().y; I'm then ...
0
votes
0answers
29 views

How to translate vertex buffer coordinates in 2D

I am trying to (using a 2D Directx9 engine library) rotate/translate a set of points in a vertex buffer. I understand how this would be done in a 3D system - i.e using the vertex shader stage of ...
0
votes
0answers
68 views

Creating a arc path connecting two GameObjects in Unity

I am working on a game on a spherical surface which first of all is a big challenge in itself. I want to create a path on an arc which connects two points ( seen in the image ) and show an arc path ...

15 30 50 per page