instruction stringlengths 33 29.4k |
|---|
I know you can't copyright gameplay, so I can clone a succesful game.
I'm not completely sure if you can completely take over all the rules (when rephrasing them to go around copyrights on text).
But my biggest problem is, how do I make my game findable for users? Should I use a name that looks like the original tradem... |
I'm developing a game for Android using andEngine, and I need to detect collisions only when two objects visually collide (not in blank space of the image). In J2ME, I'm able to do that using helicopterSprite.collidesWith(buildingSprite, true).
However, andEngine only has helicopterSprite.collidesWith(buildingSprite). ... |
I am trying to expand my knowledge on gaming and programming and I was wondering what underlying skills people think they one should learn to be a great programmer, or developer. What are some important patterns or practices that you use frequently?
Thanks.
|
I've recently decided to start writing an engine for a card game. I'm not a big "cards" player, but a friend introduced me to the game (it's a spin on the game Danish), and I fell in love.
I want to develop the game in 3 segments:
The basic engine, handles cards/decks/gamestate, etc.
A user interface (in the form of a... |
Using XNA I'm working on my first, relatively simple, videogame for the PC.
At the moment my game window is 1024 X 768 and I have a 'Starfield' linearly wrapped background texture 1280 X 1280 in size whose origin has been set to its center point (width / 2, height / 2).
This texture is drawn onscreen using (graphics.... |
I'm creating a tower defense game and I'm having logistical issues trying to figure out how to best have all of the enitites do their apporiate task.
I have considered just constantly looping through a list of all the game entities calling a onAction() method, but I'm not sure if that is effective.
I have also consider... |
I am completely lost and needed some help. I have a ontouchListener for a bitmap and know how to check if the touch was within the boundaries of the bitmap. But say I want the center of the image to be at a custom coordinate like [0,0] and the entire image to be in the range of [-319...319] and [-239...239] . Does any... |
I'm making a platformer game and I'm having some trouble wrapping my head around how to organize my classes. I'm wondering what the best way to have everything interact would be without passing parameters all over the place. I've heard of MVC, but does this apply? Should I look into it more?
Thanks in advance
|
I have a sprite that moves from waypoint to waypoint. It turns to face its velocity vector, but not instantly (there's a rotation speed).
The problem I'm having is, from one direction to another, the sprite will often turn in wild, unnecessary ways instead of appearing like you might expect a car to appear (turn such t... |
I've done an indie remake of an old arcade game from 1980.
Can I use its name? I thought copyright expired after 25 years but I could be wrong, hence this question.
|
I am just starting to learn Mogre and what I would like to do is to be able to load resources 'explicitly' (i.e. I just provide an absolute path instead of using a resource group tied to a directory).
This is very different to manually loading resources, which I believe in Ogre has a very specific meaning, to build up ... |
I am looking for some good online (ebooks) resources about strategy games discussing the gameplay and the interactive aspects of strategy games, and how to design interesting and challenging strategy game.
I found this book (http://www.amazon.co.uk/Game-Guru-Strategy-Dave-Morris/dp/1904705456) and seems interesting by ... |
I'm in the very early stages of designing a browser-based text RPG. The project is basically just something I'm doing for fun and as a learning experience. I'm starting to wrap my head around the infrastructure of the game and I keep getting hung up on the best way to accomplish this.
If I have a map comprised of a gri... |
I think in game design it is incredibly important to ask the question why about everything, especially something that has become so standard as lives. So I am asking, what is the purpose of a game having the concept of lives? Why have lives?
|
i am working on a tile roguelike
i got some of the basics working using this tutorial
http://www.raywenderlich.com/1163/how-to-make-a-tile-based-game-with-cocos2d
but i want to be able to create a map programatically instead of using the tiled editor
just add a NSArray of sprites/tiles to my CCLayer derived class or so... |
I' relatively new to modeling, so this might be a simple question to answer. I'm having trouble trying to cross edges. I've placed a screenshot below of what I'm trying to accomplish (made in SketchUp). It's a box with to edges along the diagonals of each face. Is there a simple way to do this in 3ds Max? Thanks in adv... |
I want to implement a particle system in my game, but I've never programmed a particle system and don't know where to start.
I only want to display pixels (GL_POINTs) with different sizes in different places, something like Terraria or Minecraft when you hit a block, without the texture. Just a dead simple example.
Go... |
We have just finished developing a web game using flex + flash + python and now we want to make a client app for the iphone/ipad device just like this one
Since we have had no such experience I hope someone has done this might give us some hint or suggestions.
PS:I got some advice from other websites saying that I can ... |
In a prototype I am doing, there is a minigame similar to bejeweled. Using a grid that is a 2d array (int[,]) how can I go about know when the user formed a match? I only care about horizontally and vertically.
Off the top of my head I was thinking I would just look each direction. Something like:
int item = grid[x,y]... |
Essentially I want to remove the need for generating coherent noise from the CPU to the GPU. From there, I also want to generate the terrain for a three dimensional world using this noise as densities in voxel points. After this, I want to take those densities and polygonize (generate vertices) them representing the wo... |
I'm making a top-down RPG for iPhone. I'm using tilemaps (CCTMXTileMap) and the cocos2d-iphone engine.
I've made a class that can handle loading maps and NPCs onto the screen, a class that handles input, and, a class that is supposed to display dialog. The dialog class takes a single string, or an array, and displays i... |
Is posible to use this technique with deferred lighting?
|
I'm a indie/hobbyist game developer. How do I check that I'm not infringing any copyrights or trademarks when I release my game?
I'm not making megabucks so it's not financially feasible to get professional legal help for each game.
I asked recently if I can reuse the name of an old arcade game (Crazy Balloon), but ... |
Is anyone aware of any code to procedurally generate star fields?
Ideally I'd like it to be physics-based so I can have realistic planets and moons.
Best would be in C++, open source, and workable with Ogre3d.
I'm not afraid of coding something from a university paper if there's nothing available.
|
Suppose I have a world defined in typical OpenGL coords.. then the up vector defined for this space is (0,1,0).
Now, if I load a model that is defined with (0,0,1) as its up vector, what are the matrix operation(s) that I need to carry out here to arrive at the 4x4 transformation matrix for the model?
Many thanks.
|
I have a project to be accomplished in a distant future about a soccer game.
I´ve read that you can´t feature the actual national teams uniforms without getting permission from FIFA.
Is this only for special designs or for jerseys which are a single colour (most of them) too?
Can you copyright a color? From what I know... |
How can I make an movieclip move in a circular path with GTween? it's straightforward to have something move with various easing effects in a line or a curve, but I would need a complete circular path.
|
Consider making an ink drawing, with no shading and all lines having equal weight - such as you see in a strip comic like Dilbert. This represents an active 3 dimensional world, but objects do not have textures, yet you don't see tessellated triangles either.
For the sake of an example consider drawing the surface of t... |
I have an HTML5 game on my site, and at the end, I want the user to have the option of posting their score to their Facebook wall. Is there an easy way to ask to post something to Facebook?
|
I'm working on a game with confusing mechanics such as energy storage and the coolant temperature. What is the best way to get a new player learned quickly? What are the pros and cons of different in-game tutorial methods? I was thinking of a tutorial with annotated screenshots, but that makes it sound like a science t... |
I've got a 2D-map, largely consisting of rectangular tiles, but with some none-rectangular objects mixed in as well (tilted lines on corners for example).
Take this image as an example:
I now need all the largest possible (straight) lines around the two bodies inside that map. There are no additional required attribu... |
I wanted to make Flash games so I bought the book "Flash Games Development with AS3." I did the 'hello, world' program by trace and addChild (or something like that). But the problem was, instead of understanding what I was writing, I was just copying and pasting those lines of code. I felt it wouldn't work that way, a... |
I'm interested in playing around with 3D on a new Sony 3D television (polarized light rather than red/green/blue anaglyph glasses). Is this possible with XNA on the current XBox 360?
Alternatively, It doesn't look like there is a comparatively trivial PS3 dev. solution to XNA right now, hence my interest in XNA and th... |
I have a path that is defined by a concatenation of Catmull-Rom splines. I use the static method Vector2.CatmullRom in XNA that allows for interpolation between points with a value going from 0 to 1.
Not every spline in this path has the same length. This causes speed differences if I let the weight go at a constant s... |
I'm making a 2D game and I'm starting to think about graphics. I'm pretty good at 3D modelling, but I'm not very good at drawing or painting. I was wondering if there were settings, or even a renderer that someone could recommend that could achieve the nice painted look found in Aquaria.
Thanks.
|
I am currently considering the pros and cons of two different approaches for networking an Android game.
First, I will specify some details about the game and its requirements, and then I will explain the considered approaches.
The game is a mobile game currently being developed for Android (but may be a port to iPhone... |
Possible Duplicate:
How to implement turn-based game engine?
I am considering making a game like Master of Orion but I don't know how to start with turn-based systems. If any of you played this game they know what I mean, same system is used in Civilization.
1. You give orders to your units and production queues
2. ... |
I'm trying to design my game to be component based rather than overly hierarchical. Essentially, every high level object in the game (like gun, or whatever) inherits and implements the interfaces that it needs. For example, IPhysics, IRenderable, IWeapon, etc.
There are a few cases where I'm uncertain how to obtain a s... |
I've been looking and looking and looking, and I cannot seem to find a solution out there for making a game that uses cocos2d and Tiled to make an isometric map that supports elevation.
I am not looking for anything super complex...
Just maybe 2 or 3 levels of elevation. (Think X-Com UFO Defense, or Final Fantasy Tact... |
I'm a novice that is starting to play with OpenGL ES on Android devices. To practice OpenGL I wanted to create a small game engine and so I was wondering what the best 3D model file format would be.
I'm also interested in free models of the same format.
What do you suggest?
|
I was wondering if anyone knew or had knowledge of how to program a climbing system like the one found in tomb raider/uncharted.
I had thought of just having bounding boxes at all the climbable positions in the game world and then check for collision. If the player was inside the box then they would be "hanging" from t... |
Could someone please give me some insight into each one of the four topics listed below.
I have a good idea about what passive and active rendering are, and that the use of active rendering is more suitable for games programming.
I'm just not to sure about the rest.
The timing of the main game loop is an important com... |
I'm not satisfied with the quality of video playback in Unity (Movie texture which I run after converting video with Miro converter and importing it to Unity),... so, is there any chance that there is a 3rd party library which I can integrate inside Unity to play my movie file? My movie is full HD intro movie to my 3d ... |
I'm interested in how the market of casual games is split up between different platforms, both in terms of revenue as well as "amount of games published".
For example, I think that Facebook and iPhone games should make a quite large percentage of the market, Facebook alone due to the *Ville games.
Does anyone of you kn... |
I am having trouble playing an animation of a .3ds object using lib3ds.
I am able to load the .3ds model with lib3ds. But I can't find a way to play (for example) my 'walk' animation. Where can I find the animation data and how can I play the animation using lib3ds?
|
What's the best way of representing surfaces in a 2d top down racing game? I'd like paved and dirt surfaces in my game to have different friction properties. Would you break up the map into a grid and simply check where in the grid the car is to determine the friction? Or is there a better way of managing it?
The roads... |
A little background for myself. I am relatively experienced with 3rd part physics engines such as Havok, Box2D, Bullet and have successfully integrated them in custom engine(s). I have also made a simple physics engine by following a few known books.
Now I am interested in diving into vehicle physics. There are a coup... |
I was wondering if anyone has released or tried to release on Steam and how much time it took Steam to respond to your game submissions, I cant find any info about it on their website and its been over a month now since I have submitted and have yet to even get a confirmation email.
Is this to be expected from sources ... |
We're a small company without enough employees to run a large scale beta in house. The app is geo-location based so we're trying to recruits some beta testers from all over that aren't "friends and family". Are there any sites or communities dedicated to something like this?
|
I have a very simple game engine. A GameObjectManager stores a collection of all the GameObjects. When I want to render, I just call GameObjectManager.render() from the rendering context.
This works well for rendering most objects, but now I am looking to add a water shader to the scene where it takes in reflection and... |
This is probably a very easy question, but I can't seem to understand why it's not working.
I want the basketball to bounce horizontally when it touches the borders on the right and left, but when it bounces on the right, it seems to go just a little bit further than it should.
Any suggestions?
protected override void ... |
I'm developing a browser plugin to provide joystick access to all browsers on all platforms. The issue that I'm running into is that OS X doesn't seem to provide Xbox 360 joystick input without installing some extra drivers, and even when those drivers are installed they map the buttons and axes completely differently ... |
Why must the transpose value of glUniformMatrix4fv in webgl/OpenGL ES be false?
The OpenGL ES spec says that the transpose value must be false or an INVALID_VALUE is generated. Why then have the parameter?
|
I'm an absolute beginner with game development and all I know about collision avoidance/resolution, I learnt it on or through this site in the past week... so don't hesitate to correct me if what I'm asking here is based on wrong assumptions / misunderstanding. I tried of my best to be clear, but that said, the subject... |
I have two arrays: one for projectiles, and one for targets.
Every target and every projectile has tag, and a tag with color (source code I took from Ray Wanderlich).
In my small game, when a projectile collides with a target I compare their tags, if the tags are the same I delete the projectile and target, but if they... |
I've started learning how to use OpenGL a while back, using the OpenGL SuperBible, Fifth Edition, and I've had people arguing about the fact that the book doesn't really teach how to use OpenGL but instead it teaches how to use two of the wrapper libraries related to it, glut and glTools.
I've also been told that glut ... |
Im having some trouble with locomtions (Unity3D asset) IK feet placement. I wouldn't call it "very bad", but it definitely isn't as smooth as the Locomotion System Examples.
The strangest behavior (that is probably linked to the problem) are the rendered foot markers that "guess" where the characters next step will be.... |
So I'm planning to get into iPhone dev (2D games). I understand that my only real option is to get a Mac. I'll probably go the MonoTouch route.
I'm not sure what hardware to buy; I just want the minimum that'll be "good enough" to develop with. Some posts recommend a Mac Mini, although it seems on the more expensive si... |
I am a CS student who finished his third year in school, and I'm interested in game development. This summer, I bought a book named "Foundation Game Design with Flash" by Rex Van Der Spuy. I'm halfway through it. It's a book for beginners, but it still helped me get familiar with Flash interface and AS3 syntax.
After I... |
Let's say I have a terrain mesh of some triangles, and several smaller meshes which I want to add to that terrain mesh (think ground and some small mounds or berms for example). What would I look for to find algorithms to let me do this? I know it's like some kind of computational geometry but I wonder if anyone might ... |
I've scoured the internet for the last few hours looking for an example of how to run even the most basic OpenGL ES 2 example using JOGL but "by Jupiter!" it has been a total fail.
I tried converting the android example from the OpenGL ES 2.0 Programming Guide examples (and at the same time looking at the WebGL exampl... |
Language: C++
My question is as follows: I would like to know what would be the best or at least a good way to pack and send data from client to server and the reverse. There will be a few data composing a single packet. A packet will have a "id", that defines what is it for, then the data in a pre-
determined order fo... |
Is there a known good way to have a "computer" opponent play a Match 3 game? It doesn't have to be fancy, or even considered fair. If the AI always takes the best move on the board that would be OK with me. Note that a valid move is one that doesn't make a match.
Edit:
What I am currently doing is a brute force approac... |
I would really appreciate it if there aren't any answers like "Making MMOs is too expensive", "Don't even try making an MMO!" etc.
I'm trying to point out the elements/jobs that establish an MMO game.
So, Here's what I've come up with:
Server Engine Design -
some daemon that gets players' actions and returns "what hap... |
I'm making a game with Box2D with a top left coordinate system. I multiply positions by an M_TO_PX_RATIO of 10.0f to convert from meters to pixels.
I noticed that when I set gravity to 9.8, the simulation is rather slow. When I set gravity to 9.8 * M_TO_PX_RATIO, the simulation runs at the correct speed, like normal gr... |
This question is very closely related to a previous question of mine:
Scaling a game view with letterboxes?
My game runs at 480x800 right now but when the screen is smaller or bigger than that I want it to scale up/down the image while maintaining the aspect ratio to fit it as best as it can and then put black letterbo... |
I have two objects (target and player), both have Position (Vector3) and Rotation (Quaternion). I want the target to rotate and be facing right at the player. The target, when it shoots something should shoot right at the player.
I've seen plenty of examples of slerping to the player, but I don't want incremental r... |
I have built a slideshow in slimDX and is scrolling a text at the bottom of the images. But I am running through a problem that when my new image is loaded in by the help of Texture.FromFile() function and i am giving the new image to the texture it is giving a little pause that is due to the loading of the image and m... |
I am working on some Cocos2D tutorials (doodle drop) and have downloaded the program on my device. The program is working but I have to hold the iPhone in a very specific, and not very good, angle to make the little icon move. As it is i must hold the device horizontal with a small tilt forward.
I would like to be abl... |
I want to know what options (or shaders) to set so that my OpenGL game looks like Playstation 1 game. I know it probably can not be achieved 100 % because PSX used television and television renders differently that monitor. Thanks. :)
|
I've almost finished a PC game (I'm releasing it in a day or two). I'd like a way to easily release patches over the net in case I find a bug in the game right after release, or in case I want to add features later on.
I am using InstallJammer as my install system. Are there good update/patch programs (preferably free)... |
Right now I create my boxes where 1 meter is 85 pixels. Gravity is 10. And
fixtureDef.restitution = 0.1f;
fixtureDef.friction = 0.5f;
fixtureDef.density = 1.0f;
The problem I'm having is illustrated in the image I have provided:
As you can see, there is a small gap bet... |
I am programming a graphics engine for an old game. The game uses a BSP geometry which I have rendering perfectly. For it's lights however, it simply has light instances with the standard x, y, z, rgba, brightness, type. Now I know that OpenGL has an 8 light limit. How should I go about handling multiple lights.
I am l... |
I would like to set a slice of a Texture2DArray as a render target in D3D/DirectX11. It's not clear how to do this.
What I'm looking for is the DirectX equivalent of glFramebufferTextureLayer(), which sets a slice of a GL_TEXTURE_2D_ARRAY_EXT as a texture resource of a Framebuffer Object.
In D3D11, you set a render tar... |
I have 1 png of many different textures. I want to use these textures in my iphone game using cocos2d. I found the program "Zwoptex" where you can combine many textures to one png and create a plist file that you can use in your program.
But if you have already a png file how do you get all these textures out of this ... |
I am creating a game using Box2D (Javascript implementation) - and I added the ability to have a static platform, that is moved along an axis as a function of a sine.
My problem is when the player lands on the platform, as the platform moves along the X axis - the player is not moved along with it, as you visually wou... |
I'm trying to follow the tutorial found here.
Around 5:40 (ish) in the video, he adds a Bezier Circle. He then adds the existing Bezier Curve as the Bevel Object on the Circle. This makes the Curve go around the circle creating the 3D chess piece.
I'm trying to do the exact same thing, but it's not working. I am using ... |
I'm looking for a vector art tool for gameart, similar to Flash, but preferably free. It just needs the following capabilities:
Create vector images (can scale up/down without losing quality)
Specify shape X/Y to the pixel (eg. set the X to 24.1, like in Flash)
Draw primitive shapes (square/circle/triangle) with borde... |
I was browsing through how to mod a game (Urban Terror, a Quake 3 mod). I found that it can be done by editing .qvm files in the game. Under the file named zpak000.pk3. That file contains other files named
ui.qvm
qagame.qvm
cgame.qvm
But I can't find a way in which I can edit these files.
|
We are developing an MMO using Smartfox Server. The targeted audience is kids from 7 -12 years.
There is a global chat option in this MMO.
Whatever the user types in a textbox get displayed next to users avatar after he/she hits enter.
We would like to filter abusive language / profanities from this chat.
We could capt... |
I'm working on a game that is going to involve gasp hexagons.
At present, I have a hexagon image that I am using (all sides are the same length...it fits into a 50px by 50px image).
I am somewhat new to C# and really new to XNA, but is there some sort of easy method that I can call rather than doing a convoluted if sta... |
I've been trying to implement a spatial partitioning algorithm in my game, but both spatial hashes and quadtrees aren't what I'm looking for.
My level size is not supposed to have a limit (only Int32 limits). I need a spatial partitioning algorithm that doesn't need a "Level Width" and a "Level Height".
I have many mov... |
I've been working with the Farseer Physics Engine (which since posting has become Velcro Physics) to try and build a simple 2D, sidescrolling game. Creating basic rectangle blocks worked easily enough, but I discovered when I tried to create some very simple triangle slopes that my existing 'character' avatar would not... |
Hey so i just learned about the i/o part of the STL, more specifically fstream. Although I can now save binary info and classes i've made to the hard drive, i am not sure how to define how the info should be read.
I saw the answer for making a file format from [this][1] post:
Typically you would define a lot of recor... |
This is a follow-up question to this other one.
I would like to know if there is a common/typical/best pattern to scale my representation of the world (currently 160Kmx160Km) to fit it to the drawing area (currently 800x600 pixels).
I can think of at least four different approaches:
Naïve one (the way I did it so far).... |
I made a really basic 2D RPG. I want to know whether I can turn it into a free to play MMO.
I cannot afford to rent a server with enough capacity to serve a big number of players but I'm wondering whether I could get a hosting plan that starts cheap but scales enough to eventually handle a big numer of users so I have... |
I am reading an iphone game dev book and I have a question about velocity.
mainly it is this line
playerVelocity = ccp(playerVelocity.x * dec + acceleration.x * sens, 0);
Why do you mutiple the playerVelocity.x by the deceleration. the book says it works by reducing the current velocity so it is easier to change direc... |
Can someone tell me how to implement collision in Pygame?
For example I have a sprite called A and another one called B.
How do I detect if they collide in Pygame?
|
How do people making 2D games maintain a consistent scale for everything in their game?
Say I'm coding an RPG. A house needs to be proportionally bigger than a person; an item, smaller. Everything from enemies to locations to people.
Is there a technique to doing this -- like picking a single item like the player sprit... |
I'm looking at creating a fairly complex choose-your-own adventure style of game, but I'm looking for a technique or method to help with the game design.
It will be a multi-branching story, and at times the branches will fold back in on themselves, and your major actions will be remembered and items will be collected. ... |
Does cocos2d has a method that returns the amount of CCSprites added to a CCLayer?
A have SceneControlLayer object, and I added some CCSprites to it.
@interface SceneControlLayer : CCLayer {
}
@implementation SceneControlLayer
-(id)init {
CCSprite *spr1 = [CCSprite spriteWithFile:@"spr1.png];
[self addChild:spr1 z:1... |
Nowadays, most music seems to be prerecorded, but that means they are rather static and take up a lot of space.
I wonder if MIDI is still a viable option (especially considering consoles or iOS) and if I can expect General Midi 1 to be available everywhere? (Note: Referring to the software instruments for sound generat... |
I have a object in my game that when the main character hits it, all I want to do is have the object explode and then notify the character object that a hit has occurred.
Would I use a b2Body and set it as a sensor for this or would I achieve this some other way?
I'm using cocos2d by the way.
|
So after a few hours of searching on the internet, I have yet to find a pleasing answer on how to handle moving platforms in a 2d platform game. So I decided to make a simple prototype where you interact with 2 different platforms, one that moves vertically and one horizontally. I would love some help to dissect and se... |
I'm curious about how this sort of animation is typically done code-wise.
A few examples:
A character picks something up - only hand is animated towards the target
http://www.youtube.com/watch?v=rW-7uatehx4 see from 4:50 when the player picks up the weapon.
Character hangs from a ledge - hands are set to a specific lo... |
Is there a well-known way (or perhaps reusable bit of code) for pixel-perfect collision detection in XNA?
I assume this would also use polygons (boxes/triangles/circles) for a first-pass, quick-test for collisions, and if that test indicated a collision, it would then search for a per-pixel collision.
This can be compl... |
I've been thinking about a multi player RTS game. The part that I can't seem to get around is keeping unit movement synced. If I move unit A to spot XY, I have to communicate that back to server that relays to the other client.
I'm curious what the communications would look like. Would you just communicate to the serve... |
I'm starting work on a 2D Android game where the player will put their finger on a game piece and do a fling gesture to throw the piece across the gameboard.
I've gone through some Android interpolation animation tutorials and have the fling working, and the game piece (currently the only item on the board) moving almo... |
I'm creating a turn-based game that I'd like to integrate into Facebook. Players may not necessarily be playing in real time so having a way for them to know when it's their turn is desirable.
I was initially thinking facebook notifications, but it appears that has been deprecated:
https://stackoverflow.com/questions/... |
I'm looking for spritesheets for classic retro games, and old home computer games (c64, amiga etc.) Does anyone know of a source online?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.