0
votes
0answers
1 views

Render isometric TMXTilemap with antialiasing method

I'm currently working on a cocos2d-x project that uses isometric tile maps.TMXTilemap is handy but I want to render the whole map on a texture first,so that scaling it up with anti-aliasing method ...
0
votes
0answers
3 views

How to produce a texture to represent a vector field

I would like to be able to produce a texture that essentially represents a 2D vector field (eg red represents vector {1, 0}. What I would like is to draw a path and the vector at the point on the ...
0
votes
0answers
5 views

Unity 3d 4.6b New GUI system doesn't take touch when already a touch event is occurring in 3d scene

I know this is beta version but.. I have a Canvas->Button which works fine when I tap it normally. I have a joystick in my scene which is drawn by separate camera other than mainCamera. now, while ...
1
vote
1answer
34 views

OpenGL (ES 2.0) Function Dependencies

In OpenGL (ES 2.0), there are many functions that can be called in any order, and still others that must be called after other functions had been called and not before. For example, attaching a shader ...
0
votes
0answers
19 views

Animation is not playing

Some animation cannot be applied on the character.This the code I have used to play a animation on the character.Can anybody help me solving this issue? void OnMouseEnter() { Debug.Log ...
0
votes
2answers
28 views

most effective storage of logged information

I am currently implementing basic logging of information on my multiplayer game and I want to have the most effective method. To log when a player connects and disconnects to a the server it ...
0
votes
1answer
23 views

Downloading 10 images and storing their data with WWW

I would like to download 10 images, and store their texture data into my list. I don't really know how to do that - I heard that for this you use the WWW class, so I went: List<byte[]> ...
0
votes
0answers
26 views

From 3d rotation, snap to nearest 90 directions

I have a 4x4 transformation matrix, made only from successive rotations and translations, and I'd like to "snap" my object to the "nearest" of the 24 orthogonal (multiples of 90 degree) rotations. ...
0
votes
1answer
23 views

Tilemap collision problem

I have a method here that returns true if a collision is detected between the player and tile. private bool CheckCollision() { foreach (CollisionTile tile in ...
1
vote
1answer
9 views

MonoGame SharpDX Error 'The Parameter is Incorrect' when using graphics.DrawUserPrimitives

Below is a small section of code that is meant to draw a multicolored triangle to the middle of the screen in a MonoGame game. This uses the basic function DrawUserPrimitives to draw the triangle. ...
1
vote
1answer
33 views

Why are shadows not snapping to the objects?

I'm using a directional light in Unity to cast shadows. However, the shadows don't appear to be "snapped" to the objects creating them. The object appears to be floating in mid air while it actually ...
-2
votes
0answers
25 views

How to create Timed Mode in Unity

I am creating a 3d Road rash kind of game in unity. My player(bike) does not move in z axis but the track and enemies are moving towards it and hence make it appear to move. I can already calculate ...
2
votes
1answer
21 views

Box2d bodies that are really close together, are getting “stuck”

I'm using a tiled tmx map, and I created a class that adds bodies to each tile within a certain layer. This has been working great so far except for when a character or an enemy moves around on the ...
1
vote
1answer
55 views

How to resize my 2d game to fit the screen?

I am currently making a 2D game using Java (Java 2D). I want to make my game resizable. If you play any game on an emulator (e.g. legend of Zelda in fceux emulator) in full screen mode, you'll see ...
-2
votes
0answers
27 views

Creating a DirectX 11 Project with VS 2013 on Wndows 8?

I have problems to set up a DirectX 11 Project [no App] on VS 2013 Pro. I read that Win 8 already has the SDK integrated, but how can I use it's headers/library? Where are the library/include fodlers ...
0
votes
1answer
25 views

Predicate methods and not logically related fields

After getting something up and running, I want to do some refactoring (to improve extensibility). From this, two problems about composition and design arose: If Creature have a public getHealth and ...
0
votes
0answers
63 views

Best real-time method for fast glass rendering (like cups, vases, sculptures etc.) in WebGL

I am looking to use the best method available for fast rendering glass architectural features (like cups, vases, sculptures) in WebGL. I am not interested in writing a full ray-tracer. I was ...
1
vote
0answers
9 views

How to create scrollable text in AndEngine?

I'm creating some tutorial text that the user should be able to scroll. Is there any way to make vertical scroll in AndEngine so that we can easily view all the content by scrolling up and down?
-2
votes
0answers
34 views

javascript programming [on hold]

Good day :) I am a college student. I cant find the right code for my thesis. how can make image disappear by just answering a simple mathematical question by just typing it?i want to disappear the ...
-3
votes
0answers
48 views

Getting the bike on first wheel

I am working on a unity3d game. I have been trying to figure out which function do I need to use to get the bike on its first wheel momentarily.Any help on that, please? Like real world, when it ...
7
votes
3answers
1k views

Why is the origin in computer graphics coordinates start at the top left?

From what I've seen almost all things use coordinates where (0, 0) is at the top left and the positive Y-axis goes in the downwards direction of your screen. Why is it like this? Why not the ...
-3
votes
1answer
49 views

How to increase speed of GameObject?

I'm making pong game in unity3d with monodevelop(c#). I want to increase speed of ball when it touch ends of paddle corner. my ball script: using UnityEngine; using System.Collections; public class ...
1
vote
1answer
63 views

Architecture to draw many different objects in OpenGL

I have some objects that I want to draw. I am not sure how I can create my architecture in a way where I can draw everything as fast as possible. As example: class MyObject { float[] vertices; ...
0
votes
1answer
57 views

Handling player and AI in a component based structure dynamically?

I'm trying to find a way to allow both input and AI to call actions of an actor in a component based structure. The actions make use of the components. To keep the system flexible I don't want to ...
-1
votes
0answers
25 views

Considering options for drawing “Nucleus”, “Orbit path” and “electrons”

I have to draw NxM Grid and also I need to draw Nucleus, Orbit path and electron with rotation animation in each grid. Which is the best way to do achieve this by using CCSprite or CCDrawNode or ...
-2
votes
0answers
46 views

What does it take to give 1080p support in games? [on hold]

So I have been reading about HD remakes how texture resolutions are upped/touched up and have other qualities such as AA applied, models can can increased poly count. I also read however that a game ...
0
votes
0answers
29 views

Speeding up Recursive Quad-Tree iteration

I've got a problem in regards of runtime speed in XNA. I've built up a Quad-Tree where each node stores the 3 positions of a triangle, which forms a Icosahedron and its subdivided triangles. My aim is ...
0
votes
1answer
20 views

Any books/papers on Game Editor Design [on hold]

I am looking for materials on Game Editor Design. Books,papers or articles,anything about in-deep analysis of a game engine editor would be alright. I have already read the Game Engine Architecture ...
1
vote
1answer
40 views

Quadtree vs multiple resolution grids for terrain rendering

I have been thinking about quad trees with regards to terrain rendering. From my understanding the basic functionality of quadtree terrain rendering is to frustum cull the terrain in such a manner: ...
0
votes
0answers
6 views

Crafty Bind “createView” to viewport - TiledMapBuilder

Is there any way to bind the createView function to the player entity? For Example: I am moving forward and the map is automatically loaded. I call the Map with: Crafty.e("2D, DOM, ...
-1
votes
0answers
15 views

Adding advertising to GameMaker: Studio game

How can one add advertising to a GameMaker: Studio game? It seems to be the only thing left before I can publish my game and start promoting it. Your help will be really appreciated.
0
votes
0answers
16 views

How to get the exact vector location of a loaded model in jMonkey engine

I am new to game developing and using the jMonkey engine. I started to develop an endless running type game. To run, I have created a map with blender and imported it to jME. As the shows, I have ...
7
votes
1answer
535 views

Why is my custom Texture2D blurry?

Have some WWW object downloading a .PNG image. ((SpriteRenderer)renderer).sprite = Sprite.Create(request.texture, new Rect(0,0,100,100)); My sprite looks fine. Now, let's be a bit ...
0
votes
0answers
13 views

Can I create a Sprite Asset using a downloaded Texture at runtime?

I know that Asset Bundles exist, and I'm already taking a look at them. But I'm still interested in this particular approach: I am interested in downloading a .png image from the Web, and then ...
9
votes
2answers
134 views

What kind of gaming experiences does hiding game play stats and formulas cultivate?

There are varying degrees of providing players with information on their characters abilities - including but not limited to showing players their character's stats and how they tie into formulas such ...
2
votes
3answers
146 views

Inventory implementation in Java RPG

In my game (simple RPG with Java) there will be an abstract class Creature. Critter, Beast, Vampire... will inherit from Creature. But not ALL classes that inherit from Creature will have an ...
3
votes
3answers
34 views

Can you offset the horizontal flip in SpriteEffects XNA?

As the title suggests I need to know if there is a way to offset the SpriteEffects.FlipHorizontally component in the XNA draw method. My reason for this is the sprite I am attempting to flip is not ...
-1
votes
4answers
130 views

Why use compression such as zlib?

Compression and encryption are different things AFAIK, so why even use compression if you have to still decompress anyway, is this just to reduce distribution size or is there some other reason?
1
vote
1answer
67 views

How to make prefabs independent?

I'm working on a Unity's Project and I want to modify a prefab, more precisely I want to change the texture of a prefab. The problem is that my modification is applied also to other prefabs. I read on ...
2
votes
0answers
38 views

Text rendering overlap

I'm trying to display text with a texture and font description created with BMFont in OpenGL 3.3, but whenever I display the text there is some overlap between certain characters. Here is the text at ...
2
votes
1answer
29 views

Vertex definitions and shaders

I noticed that from looking at other examples like say .. riemers tutorials he takes a buffer with a bunch of vector3's in it and ties it to a shader which expects a float4 ... why does this work in ...
2
votes
4answers
259 views

Is moving entities between sectors of a grid spatial partitioning inefficient?

I'm using a grid system for spacial partitioning. If I have moving entities, will I have to reassign every entity to its correct section every frame? Surely this is inefficient. Have I got the wrong ...
3
votes
1answer
34 views

How do I output a webcam stream to a 2D canvas with SharpDX in C#?

I'm writing an application for the Oculus Rift using the SharpOVR library to access HMD position data. I decided it is reasonable to use SharpDX to also output webcamera streams. Unfortunately, all ...
1
vote
1answer
38 views

Need help with algorithm for generating connected bricks in Pick A Brick clone

I want to make a clone of an Amiga 500 game, Pick A Brick, a 2D game where the goal is to clear a table of bricks by matching them up, following certain rules. I am getting nowhere when it comes to ...
0
votes
2answers
52 views

Speeding up sprite the second time it passes the screen [on hold]

I'm a student studying Games Development. I want a sprite to speed up on it's second passing of the screen. How do I do this? Code I wrote so far: public class Game1 : Microsoft.Xna.Framework.Game { ...
-3
votes
1answer
61 views

What's wrong with my step-toward-target implementation?

I want to move a game object from its current position toward the mouse position. I wrote this Vector2D class to help me: public class Vector2D { private double xVect; private ...
1
vote
1answer
49 views

C# XNA Rectangle.Contains returns false?

I am creating a simple XNA game. My mainMenu class contains a list of strings for menu options wich I draw on the scren using spriteBatch.DrawString. I've set Vector2 variables to controll the ...
0
votes
1answer
58 views

Quick algorithm to identify undrawn rectangles inside a map

I already have a working algorithm for this but it's home-made and there is some redundancy in the things it checks, so I'm looking for a fast algorithm (or the name of it) that would detect undrawn ...
0
votes
1answer
16 views

changing a sprite width when playing a reel using Crafty.js

can anyone help me with this : http://jsfiddle.net/B5UsC/20/ you can see that the sprite animation is not rendering correctly when the reel is in the last frame when animating Hardpunch is it ...
4
votes
1answer
95 views

What version of Marching Cubes bring “ambiguities”

I am reading Eric Lengel’s paper about the Transvoxel algorithm. In an early part describing the classical Marching Cubes (3.1.1), he talks about ambiguous cases. From what I understand, these can ...

15 30 50 per page