The simulation of an in-game entity's motion, such as running or sitting or striking.

learn more… | top users | synonyms

0
votes
0answers
12 views

Android cocos2d getting collision detection to work only on some frames of animation

I have an animated bomb sprite in my game and use CGRect for collision detection: for (CCSprite bomb : _bombs) { CGRect bombRect = CGRect.make(bomb.getPosition().x - (scaleFactor * ...
-1
votes
1answer
68 views

How would you program sprite movement in a 2-D ariel view rpg game?

I'm relatively new to programming and I have recently programmed an RPG game in java. Any tips on character movement with animations? I would like it to be similar to those of other rpg games such as ...
0
votes
0answers
40 views

Skeletal Animation in DirectX

A few weeks back I asked the following question: Are there alternatives to Vertex Tweening? I was pointed towards Skeletal Animation, or more specifically: Hardware Skinning. While I found quite some ...
2
votes
1answer
87 views

How to animate a destruction of a model?

I have a model (see image) and I am trying to animate a destruction. But it doesn't seem possible, since XNA is using only bones to animate. So my question is: Which workflow should I use, to ...
1
vote
0answers
40 views

OpenSceneGraph, multiple instances of a model

Im working on my first project using OpenSceneGraph. The project is a model flight simulator for one of my university courses, I want to be able to load airplanes (consisting of multiple models) and ...
0
votes
1answer
25 views

Android cocos2d removing a sprite after animation

I have an object going across the screen with an animation using the following code: CCSpriteFrameCache.sharedSpriteFrameCache().addSpriteFrames("ninjastar.plist"); CCSpriteSheet projectileSheet = ...
-1
votes
1answer
90 views

How do I animate images with OpenGL? [closed]

I've been thinking about using set of PNG images (representing frames) and continuously change between them to look like an animation. Is there a simpler/better way? (maybe using GIF?)
2
votes
1answer
104 views

Moving sprites based on Delta time - consistent movement across all devices with different resolutions

This is the formula I am currently using to move my sprites across the screen: Examples below only deal with X coordinates to keeps things as short as possible. Initial variable declarations: float ...
0
votes
0answers
57 views

How to render alpha channeled animated 2D sprites in OpenGL ES 2.0

I searched, but I can't find specifically how to render animated 2D sprites with an alpha channel onto a 3D polygon, z=0, in OpenGL ES 2.0. This is just a basic 2D concept, but since I'm using, ...
0
votes
1answer
56 views

Are there alternatives to Vertex Tweening?

Now that I'm getting into animating 3D entities in my game, I was wondering what the best approach for this would be. I did some research and came across something called "Vertex Tweening". However, ...
-1
votes
3answers
100 views

Detect when two keys are pressed at the same time [closed]

I'm doing a game with XNA and I need an animation when two keys are pressed.. I tried this but it doesn't function. if (Keyboard.GetState().IsKeyDown(Keys.D) && ...
0
votes
0answers
129 views

Pac-man animation

So for my intro to java class we need to re create this. http://people.highline.edu/tostrander/142/demo/pacman.htm We need to use only the Java.awt package so I figure to make the pacman I need to ...
0
votes
1answer
79 views

How are the following 3D effects mocked in Myst 4? (link)

Superficially, I thought 'all' that would be required to make a myst style game would be to place the camera inside a 3D sphere, with the sphere's inner surface textured with an ...
0
votes
1answer
52 views

texture won't move OpenGL ES 2.0

I want be able to move my texture in GLSL I have set my texture to wrap S and wrap T but not sure why it wont move my fragment shader looks like this at the moment uniform sampler2D n_mapTex; ...
4
votes
3answers
152 views

How do I make an arrow line up with a bow when rotating them?

I am trying to create a bow and arrow animation in which the player can drag downwards to increase the bow strength (see the image) and release it to hit a target. I can't get the arrow to align ...
-3
votes
0answers
48 views

Bullet not return when player shoot to any object [closed]

package com.example.game4; import java.io.IOException; import java.util.Iterator; import java.util.LinkedList; import javax.microedition.khronos.opengles.GL10; import ...
2
votes
1answer
125 views

How do I loop my animations seamlessly?

I am trying a complete my method, which crops Maya-Animations (from Maya-Models) to specific ones using the SkinnedModelProcessor. My only problem is, that after one animation-loop completes, the ...
-1
votes
1answer
64 views

Animation from bones?

I have a model loaded into my XNA project, it has bones that were created in 3DS Max and I am wondering can I animate my model using code? All I will be doing is basic movements such as an arm swing. ...
0
votes
0answers
27 views

CAT RIG to FBX XNA problems

Im trying to export my 3ds max cat rig to fbx for use in XNA. in that file i have 1 animation playing and i want to be able to use it within xna. So the problem is, once ive exported the file out, ...
-5
votes
1answer
44 views

how is orthografic created in 2.5d? [closed]

"Hi and welcome to the site. You shouldn't use the "Answer" to ask a new question. If you have a question, use the "ASK QUESTION" button. Regarding your question about Sonic 4: They most likely use a ...
2
votes
3answers
123 views

Why does exporting to FBX in 3dmax loses simulated animation

I made a cloth simulation (wind blowing a cloth). When I export it to FXB and the animation box is ticked on export menu it seems ok (no error in longs). When I reload it to Unity. or 3DMAX again. The ...
0
votes
0answers
52 views

Flash CS6 Spritesheets and XNA

So new with Adobe Flash CS6 comes the new Feature to export Movie Clips as a Spritesheet which seems very nice! I have a few questions to CS6: http://imgur.com/enllkyL Its nifty but it lost its "up ...
1
vote
1answer
141 views

Creating the Animations in C++ from 3DS Max

I'm reading from the FBX format and I'm using Bones to animate an object, and I'm at the point where I have to decide on the code that actually moves the vertexes. So far I thought on two methods: ...
2
votes
2answers
84 views

Animating a background 'pulse' with easing equation

I'm trying to find a suitable easing equation (or other method) to animate an object so that it 'pulses' (imagine a 'spike' on a music visualiser, or see the image I drew badly below) 'v' is the ...
4
votes
2answers
168 views

generating animations in runtime

i am creating my 3d game engine using Opengl. this question might sound stupid to you but i am still in the process of learning, i have a 3d animated girl that slaps guys of different talls on the ...
1
vote
1answer
81 views

How to Animate a Mechanical Model to work with Unity's Mechanim?

I made a relatively simple model in 3D Studio Max to be used in a game. It's a simple stationary laser turret with an openable maintenance hatch. I want to use Mechanim to handle the animation states. ...
0
votes
0answers
23 views

Syncing texture animations which can be created at any given time

I have a texture animator that will advance animation frames based on the time that has elapsed since it was instantiated. timeElapsed += (float)gameTime.ElapsedGameTime.TotalSeconds; ...
1
vote
0answers
68 views

How to change/modify or animate an existing OpenGL object on Android?

I maybe know understand it all a little bit better so i thoug i make a new shorter question to eventually get an answer. Get back or delete an existing OpenGL object, then change it and draw at new. ...
1
vote
2answers
204 views

Efficient types of 2D animation

I currently am doing art for a game being made (by me...) and started to think of multiple different ways of animating. The two I am currently debating, with myself, is single layered animation and ...
0
votes
1answer
199 views

Game Designer or Game Programmer, please help me choose! [closed]

I know this question is asked a lot but I am still so confused and overwhelmed by the different opinion and comments everybody has on the internet, that I wanted to ask my questions in a single thread ...
2
votes
1answer
65 views

Adjusting a skeleton to a Specific Stance

Imagine having a climbing wall and you take 4 adjacent handholds and footholds where together they create a stance. Is there any algorithm or technique with which it would give you a realistic human ...
2
votes
2answers
118 views

How can I control the frame update rate of a thread?

I'm building a small game for a college project. It's quite a simple game. There are a number of dots on the screen and the player has to select them in a specific order. It's kind of a "join the ...
0
votes
0answers
60 views

Time animation in update method

I have 3 animations. The first has 4 frames with a total duration of 0.4s: ccanimation::createwithspriteFrames(animframes,0.1f); The second has 2 frames with a total duration of 0.2s: ...
1
vote
0answers
126 views

UDK: Animating characters with weapons

I imported a custom character and a pistol model to UDK and both work, but the pistol doesn't appear with the animation of the pistol when I shoot or reload... Also, the character doesn't change its ...
3
votes
1answer
155 views

Why (SDL) animated filled-circle leaves trail of movement?

I'm trying to achieve proper animation using SDL. Used flags are SDL_HWSURFACE and SDL_DOUBLEBUF. That what I'm getting is technically smooth (I think), but I can figure out what should I do to ...
-1
votes
1answer
99 views

Drawing multiple sprites with clear screen for every frame

I googled with best of my skills, but I cannot find any relevant answer to my problem. I'm making a game with an isometric view. I need to draw multiple sprites on the screen and before switching to ...
2
votes
2answers
133 views

Is there a 3d animation software that prioritizes working with code rather than GUI? [closed]

All of the 3D animating softwares I've faced are centered around using GUI to work: windows, menus, mouse clicks, mouse adjustments, keyboard shortcuts. As a programmer, I find that limiting. In order ...
-1
votes
2answers
240 views

Software to create anime-looking animation? [closed]

I'm looking for a software for the creation of anime-like sprites. Look at those: Those are hand-drawn. I want to generate sprites with that look, but in several (thousands) positions, in order to ...
4
votes
1answer
313 views

2D animation: Animated 3D models or sprites with animation frames?

Starting out with new project, I am stuck choosing between: 3D textured model animated directly through the renderer 2D sprites and drawing each animation frame The game will be 2D platform, I ...
1
vote
0answers
54 views

Mixing animations

I'm working on a swing animation and mixing it with a turn animation in a motorcycle game. The issue is that for the swing animation to work while turning only the swinging arm has to animation, ...
0
votes
0answers
120 views

XNA skinned model animation snapping and sped up

I'm exporting .fbx files from Blender 2.6, and followed the skinned model sample to get them to work in game. They do render and animate, but wrongly; they're sped up, and animations seem to reset ...
-1
votes
2answers
132 views

Game library for 2D animation JS browsergame [closed]

I am developing a 2D multiplayer online browsergame. On the backend I have set up a Node.js server. Everything works perfectly. On the frontend I will use jQuery and several libs for collision etc. ...
-3
votes
1answer
141 views

java app goes too slow in android os [closed]

The problem is that my java app contains too many animated sprites and it runs very slowly on android system. Does the usage of .gif animation instead of sprite animation will improve the speed? I ...
1
vote
0answers
105 views

Converting Animation data from Maya to DirectX in C++

I am currently trying to export an animation from Maya and import to a program I am working on. One of the problems I currently have is that when imported, the mesh and animation data looks reversed ...
-1
votes
2answers
120 views

Why does my sprite animation sometimes runs faster? [closed]

I don't know why each time I call the Update_Animation function, my sprite animation runs faster. Is it caused by gameTime? How to fix it? Here's the relevant code: class Character { // ...
-2
votes
1answer
165 views

how to make animation for a 2d game [duplicate]

I've started working on a 2d game. I wanted to know how animation usually works in 2d games - I know one way is to make a sprite sheet with frames of the animation, but you wouldn't see big sprite ...
-1
votes
1answer
109 views

Two characters controlled by one set of controls? [closed]

I am using Unity 3D to make a multiplayer game using the Photon Network package in the asset store. I have initiated two characters controlled by a Mecanim script, and they both have animations. ...
1
vote
1answer
279 views

Sprite Animations in XAML for Windows Phone 8

I'm developing a 2D game for windows phone. It will feature rather simple 2D graphics and animations. I can get most things done using XAML an storyboards for animations. The performance is fine as ...
8
votes
2answers
240 views

Following a path in a smooth fashion

I am currently making a 2d tower defense game with a static, predetermined lane that the enemies follow (i.e. towers cannot block the path and path finding is not the problem I am trying to solve). I ...
1
vote
1answer
98 views

XNA Help - Slerping the KoolAid

I'm having some SLERP issues and was hoping one of you guys' could help me with your expertise... (The following code is the Update method of a component whose responsibility is to rotates it's actor ...

1 2 3 4 5 8