0
votes
0answers
6 views

How to handle NPCs and other entities on moving objects like trains or planes

I was always wondering how trains or other moving platforms are implemented in games. For example: there a many games where you can walk on the back of a truck or on a train that starts to move. ...
1
vote
0answers
14 views

OpenGL Calculate Matrices

Im trying to switch from the glTranslate etc to my own Matrices, but for some reason it does not work. Here are my 2 functions to create the view- and projection matrix: public Matrix4f ...
-2
votes
1answer
36 views

Rendering structure

my question is "What is the best way to structure rendering code". Is it better to make a class with a render function that iterates through all game objects based on there name or type and have no ...
0
votes
2answers
59 views

Implementing the “earn resource every N seconds” mechanism common to F2P games

In many free-to-play games, play will be rate limited in some manner by a resource that you naturally earn on a timed interval, but can opt to increase artificially through buy-ins. A current example ...
3
votes
0answers
25 views

GL ES: Fragment shader optimization

Summary: I get FPS slowdown as soon as I try to tint the sprites (i.e: multiply texture with color in the fragment shader) Details: Hardware: iPod touch 4 I am drawing 700 sprites on the screen ...
1
vote
1answer
33 views

How to handle and make animations?

I just finished a game for my design class and I ran into a problem that I always have but this time I'm going to learn the right way to do it. I was making the background animation for my menu in ...
0
votes
0answers
10 views

AS3 + Flash IDE - Stage Boundaries and Collision in Sidescroller not working properly

I am trying to do a pretty simple sidescroller in Action Script 3 with Flash CS6 and I am currently stuck at the stage boundaries and the level scrolling. My hero should move freely in the middle of ...
3
votes
1answer
59 views

Player getting caught on floor

My player is getting caught on something on the floor. My whole environment is just blocks. I have looked through (and tried to change) just about everything I can think of in my player update method. ...
1
vote
1answer
28 views

SpriteFont Exception, no such character?

I have such spriteFont: <?xml version="1.0" encoding="utf-8"?> <!-- This file contains an xml description of a font, and will be read by the XNA Framework Content Pipeline. Follow the ...
0
votes
1answer
30 views

International Font in XNA?

I'd like to know are there some international fonts? I mean a font for all European languages including Russia. The question is about XNA fonts.
0
votes
0answers
11 views

Getting Image From URL , Using curl in Cocos2dx C++

I am using curl in C++ to get an Image from a URL for a Cocos2dx Game. The Code is Working Fine. And using CCImage And cocos2d::CCTexture2D I create a Sprite and Add it on my Layer. The Sprite is ...
0
votes
1answer
16 views

Removing drawn Allegro texts and primitives

I'm working on a game with Allegro 5 that has a loop. I'd like to make the program write onto the screen, how much time the loop has ended. These are the rounds of a turn-based game, obviously. I use ...
-1
votes
1answer
48 views

need help in a snake game

I am a beginner in programming. I need to create a simple snake game. I've created this method to make the snake eat a rat so the location of the rat will change randomly, but nothing happens. ...
0
votes
1answer
38 views

Get world-position in Vertex shader

I'm wondering how I can get the final position of a vertex. I use glTranslate in my render code, and I'm not getting the world-coordinates correct. My world is devided in chunks and my position get's ...
0
votes
0answers
13 views

Flickering GUI on Android

New version of Unity is causing rather weird problems on Galaxy S device. The GUI starts to flicker, tear and disappear altogether at random in different screens. But this only happens on the second ...
2
votes
1answer
84 views

Procedural Geometry Generation

I have recently been looking into SceneKit for OS X and noticed that there are several factory methods to create geometric shapes such as: Box, Capsule, Cone, Cylinder, Plane, Pyramid, Sphere, Torus ...
-2
votes
1answer
35 views

Android TCG structural design [closed]

I started developing tcg for android, using ADT bundle. What is the right approach/way for making/storing cards/game info, local sqlite, some kind of data file? some service? or something else?
0
votes
1answer
49 views

GLSL Shaders-> How to manage?

As your game get's bigger and bigger, you will use more and more different shader effects. Let's take an easy example: I have clouds in my voxel-based world, and I want to give it a blue-ish tint ...
3
votes
1answer
104 views

Path finding in games

I am writing my term paper about Path finding algorithms in games, and i've got a couple of questions, hopefully you people could help me out with those ;) So, i've done a little bit of searching ...
-3
votes
0answers
49 views

UDK vs Eclipse? [closed]

UDK vs. Eclipse Engine Which one is better? I prefer a reliable engine that doesn't lag as much for the game. I know UDK uses C++(which I prefer). What do you guys think,which engines are best for ...
0
votes
1answer
25 views

Sharp DX Identity Matrix, Matrix.Forward vector pointing at negative Z

I'm trying to take a steady grip on Sharp DX. Already done some work like translating, scaling and rotating objects. Now i have to calculate the rotation matrix using only direction vector and ...
4
votes
4answers
184 views

How to make a Socially Conscious Game?

I'm working on a 4x, turn-based space game. It's currently in the design phase. Because I'm the Director of Technology for Gamers Against Bigotry, I'd like it to be socially conscious. In other ...
1
vote
2answers
82 views

Singletons & Entity Component Model, Global Engine Class

I am in the process of writing an entity component model game engine and I wanted to ask you a bit about the best way to lay out the code. I have run into an issue that I know will quickly cause me to ...
0
votes
0answers
19 views

Modeling objects coming down from a networked pipe on the client?

I've got an entity base class that contains information about a particular object that both the server and client know about, they're in a shared DLL. It's just a basic outline of entity information ...
2
votes
1answer
68 views

Help understanding Simplex Noise

Introduction This is less of a "how to" on using 2D simplex noise and more of a quest to understand what is happening both in the math and visually. I would rather not copy and paste the code I've ...
2
votes
4answers
54 views

Java - Best Implementation KeyListener For Games

I am working on a game using only the swing and awt packages. Note I can only use the default Java libs. Meaning I have to use KeyListener. I have imported KeyListener properly, however, it is still ...
0
votes
1answer
52 views

How to store NPC movement data?

In my 2D tile-based game, I have NPCs that move around on a fixed path. I am putting the information about the NPCs in a .plist file that is loaded on startup. The thing is, I'm not sure how to format ...
1
vote
2answers
94 views

Is it possible to rent a server for my own game?

I'm an independent game developer and I don't yet have a lot of money to buy myself a very cool high-speed and low-latency internet connection along with a powerful server machine to place somewhere ...
0
votes
0answers
16 views

How can I implement an asset update/download in a libgdx application?

I am building a game based on libGdx and I want to be able to check for and download updated assets at some point before the player starts playing. The game is being built for PC and for Android. I ...
-3
votes
2answers
61 views

Can you use a struct instead of an array to hold vertices in directx?

So instead of using an array to hold vertices information use a struct instead. Is this possible, does the Idirect3dvertexbuffer allow it?
0
votes
0answers
14 views

Opengl 3.2 Flickering after smooth animation?

Okay I am new to OpenGL I am getting an odd issue. I am performing rotation on a bunch of triangles on a scene graph. The rotation starts off really smooth everything is animating then much later you ...
0
votes
0answers
43 views

Tweening MovieClips collisions

I am making a platform game and I have trouble finding the right way to do the enemy collisions... I am a noob in as3 so I 'm gonna try to explain my situation! I have an enemy, movie clip, and I have ...
0
votes
1answer
17 views

Problem with Widget Event Reporting in Libgdx

So I'm trying to test an ImageButton on an Android device. I can get the button to appear on the screen, but when I press it nothing happens or appears on the log. Here is what I have in the Show() ...
-4
votes
0answers
61 views

How many commercial games use software rendering? [closed]

It seems many games today use graphics accelerating (e.g. OpenGL) but how many still use software rendering? I mean commercial game wise, how many?
1
vote
1answer
55 views

Damage indicator screen overlay

I want to make something already done by a lot of games , which is when I am taking so much hits from enemy red screen drawn like the following , using XNA 4.0: after it's drawn and I am still alive ...
0
votes
0answers
19 views

Panda3d handling collisions on walls created in blender

Edit: Runnable zip with source files, sorry: https://dl.dropboxusercontent.com/u/12781104/Collisions.zip Right now I am trying to create a small room for my character to walk around in, it works ...
-4
votes
1answer
51 views

It is okay to use a string as a resource location key in a GUI system?

I'd be afraid of the efficiency. Is there a better way?
4
votes
4answers
136 views

Bright colors versus duller colors

I was talking to a friend the other day and we got onto the discussion about colors in videogames, relating to actual in-game graphics/art. He told me that even though it's easy to see things when ...
0
votes
0answers
40 views

Is there a JavaScript library, or any library, for cooperative pathfinding?

Searching on google I found these papers for pathfinding with multiple units: Cooperative Pathfinding Fast and Memory-Efficient Multi-Agent Pathfinding Is there a javascript library, or any library, ...
-1
votes
1answer
62 views

How should I choose a graphics card that's right for my needs? [closed]

I'm developing my own game using Ogre3D, and I'm want to implement things like SSAO, dynamic shadows, AI, physics, etc...and I know my current card is barely gonna be able to handle it. So my ...
1
vote
1answer
51 views

Correct way/How to think to plan out “control/animation flow”?

So basically, a problem I've had in past attempt at making games (little playing around with stuff): how to do a correct, non-sloppy way of planning the flow of animations/control? Let's take an ...
2
votes
1answer
89 views

Where to put common System functionality in Entity-System Design?

I am working on an Entity System design based largely off of Adam Martin's design and Ray Wenderlich's Objective-C Implementation. I am working on the AI system using a state machine with a System ...
0
votes
1answer
39 views

MonoGame Linux Mouse.SetPosition doesn't work!

Having a really weird issue, it seems that no matter what I do I cannot get the Mouse to lock to the center of the screen in MonoGame. I triple checked all the possible noob mistakes, and ...
0
votes
1answer
36 views

Shader registers for different graphics card

The title is not very explicative, so i'll try to make myself clear. I have two "working"(on which i work on) PCs : a desktop that runs an NVIDIA GT440 an a laptop with a RADEON HD 4650. I have a ...
-1
votes
0answers
76 views

What's the idea on the base of rendering camera on 2D platformers games? [closed]

I'm programming a 2D platformer game, and I am wondering about how the right to left scrolling of the camera is done in a game like this. There is a background that need to be updated. There are also ...
0
votes
1answer
25 views

Farseer: RemoveBody is not working

I want to remove bodies after they touched the character(playerrect). But the bodies get not removed. I set a breakpoint in the following line but it doesn't get yellow: ...
1
vote
1answer
52 views

Continuous / speed affected sound effects. What is the industries de-facto solution?

There are various types of audio material we require in games. For instance, footsteps - these are very straight forward. We take some boinking sounds over metal, plastic, concrete and add to our ...
0
votes
1answer
39 views

Drawing the same scene with perspective then orthographic projections

I have a scene that I'm rendering first with a perspective matrix. I then want to rerender it in a different viewport using an orthographic matrix for a top-down 2D view of the scene. I think I may be ...
13
votes
6answers
810 views

Crowdfunding an indie game. What should I offer back?

I have seen many indie games making money for development using crowd funding (Kickstarter, IndieGoGo, et cetera). Some of the games will offer something back. For example, in an RPG game, you might ...
0
votes
1answer
59 views

Why DirectInput is not recommended?

I have read that the Windows messages are recommended way over DirectInput to control mouse and keyboard. From http://msdn.microsoft.com/en-us/library/windows/desktop/ee416842(v=vs.85).aspx The ...

15 30 50 per page
1 2 3 4 5 308