I'm currently working on building a game which is on a planet, the way in which I'm planning to store the data is in 6 2dimensional arrays, which are heightmaps around the sphere (on the faces of a cube).
The problem I have is this, given a normalised vector which points outwards from the centre of the sphere how can I determine these tw...
I'd like to use some fonts that aren't part of the iPhone OS. I've seen games that use non standard fonts. I can install the fonts, create images for each one in Photoshop and then use those images in the iPhone app. However, I don't think that is a practical way to go. If the color or tint needs to be adjusted (because of background...
I'm working on a real-time space strategy game clone which at its time did not have any multiplayer option. I want to add multiplayer to it.
The gameplay itself is relatively long: about 10-15 hours of gameplay needed for complete a playthrough. This is very long and I don't want to force the players to play it uninterrupted or lose th...
Looking on this answer I understand that you should not copy private pointers using friendship in C++ like I did in my program:
class bar;
class foo
{
private:
some_smart_pointer<int> state;
public:
foo(int value) : state(new int(value)) {}
friend class baz;
};
class bar
{
private:
some_weak_pointer<int> state;
public:
...
Okay, just for starters, I am very new to Objective-C, (C in general). I am not new to programming, and I've found the transition seamless so far, until now. I'm trying to implement a Sprite class I found online in order to develop a game on the iPhone, but I'm getting many errors. For example...
size = CGSizeMake([image size].width , [...
How do companies like Valve manage to release games to all three major gaming platforms? I am interested in the best-practices regarding code sharing specifically between Windows, Xbox360 and PS3, since the ideal solution is to reuse as much code as possible instead of rewriting the whole thing for every platform.
...
I've done a series of questions about J2ME Game developing, and in a recent one, Neil Coffey commented
As a side issue-- do you REALLY want
to do 100 ticks/second in a J2ME game?
As I think sb has mentioned, you
should really also sleep to the next
desired wake-up point, not a fixed
duration each time.
For some reason, th...
I'd like to deflect a ball at an angle depending on where it hits a paddle. Right now, I'm only changing the y coordinate, which results in an uninteresting deflection. It will angle but independent on impact location against the paddle. I'd like something more fun. Speed, momentum, mass and other factors don't need to be taken into co...
What is the basic premise behind technology such as is found in Oblivion (and other games, I'm sure; haven't played enough to know), wherein objects from afar are vaguely shown when you view them from a distance? For example, a large tower is a mile away and you see the vague rectangle of it sticking up from the horizon... Obviously a gi...
I'm making a game with cocos2d and I have a bunch of sprites that I would like to delete. For example I might have a bunch of characters on the screen but when my game is over I would like to clean them up. Right now I have created a special effect (particle system) as a distraction, but because it is transparent and does not cover all o...
I develop a 2D shooter game with lots of objects and aggressive scrolling.
QUESTION: which way is better?
CHOICE 1 - use native Flash rendering:
derive game objects from Bitmap, use existing x, y, width, height, bitmapData
add all objects as children UIComponent.addChild(...) to sccreen
clip visible area using "scrollRect"
CHOICE 2...
Ok lets start off with info about myself.... that way there is no stone unturned.
I am a adult, 27 years old. so this isnt a joke or a passing fad. Im into computers, how they work and how apps and games are designed from the ground up and made.
I have ZERO programming back ground. I went to college for the wrong thing. I love ...
Hi
I am a relatively newbie in C++ and worked in the game industry for a few months. I am looking to get back to the industry and understand that one needs to be a very good C++ programmer (mainly bcos of how competitive it is to get into making games). I was wondering if there are really good websites online that would help with that. ...
If I wanted create a Jeopardy or Wheel of Fortune type (TV/board game genre) desktop game, what's the best way to learn how to do so in Java? I'm not trying to create anything complicated like Quake or Spore but something orders of magnitude less complex.
I imagine I would need to render a game board/setting, simple effects and sound...
I'm looking into making a 2d game in java and I've run into a problem with animation: How do I do tweening in java? Are there any libraries or maybe something I can find bindings for?
Understand that I do not want to simply move an image, I want to do morphing in a way that when making drawings for animation I can use a few keyframes to...
A lot of sites post Jeopardy questions. But does anyone know if there are Jeopardy questions (and answers, categories) available in an computer application consumable format like in a database or Excel or CSV file? Assume this data will be fed into a Jeopardy online game.
...
I have really enjoyed playing Robocode with my first robot. Now I want to make something a little more exciting. What's the best tutorial on making advanced robots?
...
I trying to complete a RPG game for a project, but have no idea on how to make the game map.
It doesn't need to be graphical, but the code for the whole map and each tile must be correct.
So far, I thought about making a non-matricial map (as request by the professor) by using an ArrayList which contain all the linked tiles.
public abs...
I've got a medium scale project (a turn-based game) that's currently written in C/C++. Only one person is working on it. It will complie with /clr, although I haven't tried /clr:pure.
I'm looking for advice on the overall process of converting it to C#.
It's mainly C with a thin veneer of C++ on it (C with static/singleton classes for ...
Math escapes me today.
How do I find the X speed and the Y speed of an object if it is going at a defined speed (say, 5 pixels/second) at a 45 degree angle?
...