| bio | website | |
|---|---|---|
| location | Dublin, Ireland | |
| age | 37 | |
| visits | member for | 2 years, 3 months |
| seen | 5 hours ago | |
| stats | profile views | 35 |
programming rocks! Always striving to improve on the little I know.
|
2d |
awarded | Critic |
|
2d |
asked | How can I draw a small bitmap on a larger bitmap at a particular position? (Canvas / SurfaceView) |
|
2d |
comment |
What's the most efficient way to merge two arrays of game sprite objects? Thanks guys, I definitely won't be updating every frame, not by a long shot. @JaakkoLipsanen since you were first to comment and have up votes, do you want to put an official answer that I can accept? |
|
May 15 |
asked | What's the most efficient way to merge two arrays of game sprite objects? |
|
Mar 29 |
comment |
How can I control the frame update rate of a thread? Also, I was getting null pointer errors when the thread was trying to access an array before it was properly populated. I handled it by putting if(array[i] != null) clauses into the update() and draw() methods. This works, but is it OK to handle this problem this way? Many thanks for your help! |
|
Mar 29 |
comment |
How can I control the frame update rate of a thread? OK, not sure if I'm clear on this. I was updating the game state and drawing to the screen in the onTouchEvent() method above. I've since removed this code and separated it into update() and draw() methods respectively. so the onTouchEvent() method now updates variables that are then checked by the update() method and game objects are updated, then the draw() method draws them. Currently the same thread calls update() and draw(), should they be seperate threads? |
|
Mar 27 |
awarded | Popular Question |
|
Mar 26 |
accepted | How can I control the frame update rate of a thread? |
|
Mar 26 |
comment |
How can I control the frame update rate of a thread? Thanks for this. I have accepted this as the correct answer, but we've since decided to animate the points heavily on selection by the user, so we're probably going to stick with the threads. |
|
Mar 24 |
awarded | Editor |
|
Mar 24 |
revised |
How can I control the frame update rate of a thread? added 133 characters in body |
|
Mar 24 |
asked | How can I control the frame update rate of a thread? |
|
Feb 24 |
comment |
Which parts of my game should be Activity objects? I was wondering about this myself, they use multi-threading too right? one for game logic /sound and one for graphics if I remember correctly. |
|
Feb 24 |
comment |
how should i develop my android game efficiently? where could one find a guide to such patterns for game architecture? it would be really helpful for me. |
|
Feb 17 |
awarded | Yearling |
|
Jan 28 |
accepted | How can I “capture” the section of my sprite sheet that I want to draw in Java? |
|
Jan 26 |
comment |
How can I “capture” the section of my sprite sheet that I want to draw in Java? Maybe so, mods here are pretty on the ball, I'm sure they'll sort it soon enough. |
|
Jan 26 |
answered | How can I “capture” the section of my sprite sheet that I want to draw in Java? |
|
Jan 26 |
comment |
How can I “capture” the section of my sprite sheet that I want to draw in Java? Thanks, That was really helpful. do you want to put that as an answer or should I explain what I did myself (pretty much the same thing). |
|
Jan 26 |
asked | How can I “capture” the section of my sprite sheet that I want to draw in Java? |