Tagged Questions
0
votes
1answer
25 views
sprite array problem with initialization
I have a problem with my Sprites. I'm trying to create a lot of Sprites. However, I got a problem in that I have several grass tiles and I don't want to do this
grass1 = new Sprite...;
grass2 = new ...
-1
votes
0answers
15 views
How to unbind a sprite in an updating vector? LIBGDX framework [closed]
How to unbind an updating vector to a sprite? I am using Libgdx framework. here is my code
public class VectorSample extends GDX_TEST implements InputProcessor {
Texture ball,bullet,guider;
...
-1
votes
1answer
73 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 ...
1
vote
1answer
234 views
Managing sprite sheets for animation [closed]
I am trying to use a sprite sheet for animation but I'm having some trouble with my implementation. The three key things that I require my code to do are:
Play through a set of images once, for ...
-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 ...
0
votes
0answers
265 views
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone
libGDX using Stage and Actor produces different camera angles on desktop and Android Phone.
Here are pictures demonstrating the problem: http://brandonyuh.minus.com/mFpdTSgN17VUq
On the desktop ...
1
vote
1answer
424 views
setPosition of Sprite onUpdate in AndEngine
I am trying to get a "highlighter" circle to follow around a sprite, but I am having trouble, I thought I could use the onUpdate method that's available to me in SequenceEntityModifier but it's not ...
1
vote
3answers
241 views
How to Handle frame rates and synchronizing screen repaints
I would first off say sorry if the title is worded incorrectly.
Okay now let me give the scenario
I'm creating a 2 player fighting game, An average battle will include a Map (moving/still) and 2 ...
4
votes
2answers
385 views
Sprite batching in OpenGL
I've got a JAVA based game with an OpenGL rendering front that is drawing a large amount of sprites every frame (during testing it peaked at 700). Now this game is completely unoptimized. There is no ...
3
votes
2answers
355 views
How do you set the movement speed of a sprite?
I'm using Slick 2D/Java to play around with graphics. Getting an image to move is easy:
Input input = gc.getInput();
if(input.isKeyDown(sprite.up)){
sprite.y--;
}else if ...
0
votes
1answer
575 views
rotate sprite and shooting bullets from the end of a cannon [duplicate]
Possible Duplicate:
How to Align Gun with Bullets
Hi all i have a problem in my Andengine code,
I need , when I touch the screen, shoot a bullet from the cannon (in the same direction of ...
1
vote
1answer
218 views
How to I get a rotated sprite to move left or right?
Using Java/Slick 2D, I'm using the mouse to rotate a sprite on the screen and the directional keys (in this case, WASD) to move the spite. Forwards and backwards is easy, just position += ...
0
votes
2answers
326 views
Can't get sprite to rotate correctly? [closed]
I'm attempting to play with graphics using Java/Slick 2d. I'm trying to get my sprite to rotate to wherever the mouse is on the screen and then move accordingly. I figured the best way to do this was ...
4
votes
2answers
1k views
Move sprite in the direction it is facing?
I'm using Java/Slick 2D. I'm trying to use the mouse to rotate the sprite and the arrow keys to move the sprite. I can get the sprite to rotate no problem, but I cannot get it to move in the direction ...
2
votes
3answers
326 views
How can I create a spritesheet animation with big images?
If I have a 200x200 pixel sprite, and I want to create an animation for it with 30 different frames, how can I accomplish that? I can't put them on one texture/spritesheet.
2
votes
0answers
1k views
Best practice to use Sprites in a game using AndEngine GLES2
Currently I am having static reference to all my sprites and loading and initializing them in my OnCreateResource mthod of SimpleBaseGameActivity, But now I have to override onAreaTouched listener on ...
-2
votes
2answers
278 views
how to double buffer in multiple classes with java
I am creating a Java 2D video game. I can load graphics just fine, but when it gets into double buffering I have issues. If i run this code, nothing is displayed except for the string("hello"); but ...
0
votes
1answer
209 views
Effectively implementing a game view using java
I am writing a 2d game in java. The game mechanics are similar to the Pokémon game boy advance series e.g. fire red, ruby, diamond and so on.
I need a way to draw a huge map maybe 5000 by 5000 pixels ...
0
votes
2answers
255 views
Android Game Development problem with Speed = Distance / Time
I have been coding speed for an object. I have made it so the object will move from one end of the screen to another at a speed depending on the screen size, at the monemt I have made it so it will ...
-2
votes
1answer
248 views
Where to begin? [closed]
I'd like to start designing and creating games in either C or Java (as these are the primary languages I know). Is there a good book or online guide on where to begin development with these languages? ...
2
votes
1answer
436 views
2D RPG - Character sprite size bigger than tile size
Ok so I'm trying to make a nice little RPG game in Java & Slick2D engine, the tiles are 16x16, so the collision array is also 16x16, how ever my character sprite is 16x20
What would be the best ...
1
vote
2answers
438 views
CCSpriteFrameCache: Frame '%s' not found
I have just started using the Cocos2D library for Android. I am trying to make a walking bear animation.
For that I am using a CCSpriteFrameCache, but I'm getting a "frame not found" error in the ...
0
votes
2answers
323 views
How do I move a sprite around using tile based movement in Java?
So, I'm new to Java and I want to get a sprite to move around the screen, like a tile-based movement. I really would like some help and some resources or tutorials could work. I've done a little C#, ...
-1
votes
2answers
248 views
How to spawn a character at certain point and walk to a set point
I am making a game where I have a background image of a neighborhood. Each location has a different number of customers that are generated to walk on sidewalks. They all walk to a specific location ...
2
votes
2answers
404 views
Horizontal wrapping with AndEngine
How would one implement the effect of a sprite disappearing on one side of the screen and appearing on the other using AndEngine? Like in Kid Icarus, seen here at around 1:22.
2
votes
1answer
566 views
How to move a 2d sprite to a target location while avoiding obstacles?
How can I get a 2d sprite to move to a position clicked on the screen, without bumping into other objects? I'm programming in java using the android API library
I have created a surface view and ...
0
votes
0answers
107 views
How can I change this isometric engine to make it so that you could distinguish between blocks that are on different planes? [duplicate]
Possible Duplicate:
Can you shade a specific section of a sprite? If so, how?
The terrain is randomly generated. Here is a screenshot:
http://i44.tinypic.com/qxqlix.jpg
I think you can see ...
3
votes
2answers
953 views
What is causing these visual artifacts on my OpenGL sprites?
What could be the cause of the defects in my characters sprite? I am using OpenGL ES 2.0. I draw my sprites in a sprite batch that uses UV coordinates from one large texture atlas. If you look around ...
0
votes
2answers
616 views
How to coordinate sprites, player's position and collisions in a Bomberman-like 2D game?
I'm programming a Bomberman in Java (my first game) and I'm having problems with the player's sprites and position in the map. I'm using a 2D integer array to represent:
Unbreakable blocks
...
11
votes
5answers
898 views
Sprites as Actors
I'm not experienced in Game Development questions, but as a programmer. In the language Scala, you can have scalable multi-tasking with Actors, very stable, as I hear. You can even have hundreds of ...
1
vote
1answer
1k views
J2ME character animation with multiple sprite sheets
I'm working on a J2ME game and I want to have walking animations.
Each direction of walking has a separate sprite sheet (i.e. one for walking up, one for walking right etc), I also have a static ...
3
votes
2answers
687 views
Managing animations
I'm developing a 2d game that requires sprite based animations. I was thinking about which is the most convenient way to manage many of these sprites all together with timings.
I already know how ...
3
votes
1answer
115 views
Need some advice on a java api to use for a 'presentation display board' - based on game 2d/3d tech
As part of the project i am working on I am looking to produce some software that works on a LCD display (think call center info boards) and displays various graphs (the bars grow etc in realtime, so ...
