535 reputation
37
bio website
location
age 41
visits member for 2 years, 11 months
seen Jul 30 at 4:28

Sep
25
awarded  Yearling
Aug
19
awarded  Necromancer
Jun
19
awarded  Citizen Patrol
Jun
4
awarded  Revival
Jun
4
answered What libgdx project files can I ignore from version control?
May
31
comment What is the better way of generating levels in android game using LibGDX
Art.level is a Pixmap. Pixmap.getPixel() gets the pixel value at the given x, y coordinates. The coordinates are offset into the image (I'm guessing the levels are 31x23 or 30x22). The result of getPixel() is a 32-bit integer, most likely encoding the RGBA (red, green, blue, alpha, 8-bits per channel) channels of the pixmap. The "& 0xFFFFFF00" masking zeros the low order 8 bits (i.e., the alpha channel). The ">>> 8" shifts the whole thing right 8 bits, so the constants to compare to are just hex encoded RGB values. Thus col == 0xFF00FF checks if col is pink.
May
30
answered What is the better way of generating levels in android game using LibGDX
May
30
awarded  Organizer
May
30
revised What is the better way of generating levels in android game using LibGDX
Fix code formatting, add "level-design" tag, improve grammar a bit
May
30
suggested suggested edit on What is the better way of generating levels in android game using LibGDX
Apr
25
answered LibGDX Cross Platform Networking
Apr
1
answered How to I rotate a triangle by dragging the mouse in libGDX?
Mar
9
answered Merging InputProcessor and GestureDetector
Mar
7
awarded  Editor
Mar
7
revised LibGDX Swipe Detection Left and Right
Fix formatting, fix code (broken variables names would never compile), fix code formatting internally, cleanup println, remove vertical whitespace and clearly irrelevant comment, add comments indicating elided code
Mar
7
suggested suggested edit on LibGDX Swipe Detection Left and Right
Sep
25
awarded  Yearling
Jul
19
answered Multilingual data bases for most common words and phrases used in games
Jul
19
answered Extracting tiles from a tileset programatically?
Jul
18
answered How can I simulate limited AI vocabulary for a word game?