742 reputation
514
bio website twitter.com/lucasdnd
location
age 26
visits member for 2 years, 5 months
seen Jul 5 at 17:59

Programmer, game developer.

Currently making Awesome Game Store.


May
27
comment Java Slick2d Animation not working
I just ran your code and everything works fine. Can you provide more information? For example, which error are you getting?
May
27
comment Why do we use the Pythagorean theorem in game physics?
I made a little interactive demo of the Pythagorean Theorem, using it to calculate distances and check for collisions. It may be helpful: lucastulio.tumblr.com/post/79909961404/…
Feb
28
awarded  Yearling
Feb
5
comment Getting entity type object
You can, if they all inherit from the same super type. Let's say the super type is Shape. Shape would have 3 subclasses: Rectangle, Circle and Square. Then you can create an ArrayList<Shape>. You should look into Inheritance and other OOP concepts.
Jan
21
answered Isometric objects are mapped incorrect angle, but the map is fine. What am I missing?
Jan
21
answered How much mathematics is involved in video game development?
Jan
21
revised How do I detect and handle collisions using a tile property with Slick2D?
deleted 18 characters in body
Dec
1
awarded  Popular Question
Sep
30
comment How can I make the “Strength” attribute more attractive to Wizard/Caster classes in a RPG game?
I like the approach, although I feel like Constitution may be the appropriate attribute here, instead of Strength. A Wizard with more Constitution would be able to cast more spells before becoming exhausted.
Jul
19
comment How do I detect and handle collisions using a tile property with Slick2D?
It seems like you are not instantiating your map object and we're starting to get a little off topic here. You should learn to run your game on debug mode to easily fix these kinds of errors. If you're using Eclipse, it's quite easy. A few minutes on Google and you'll master it.
Jul
19
comment How do I detect and handle collisions using a tile property with Slick2D?
I updated my answer explaining this. You'll keep using the intersects method, but now you'll test it against the List of Rectangles in the TiledMap.
Jul
19
revised How do I detect and handle collisions using a tile property with Slick2D?
deleted 331 characters in body
Jul
19
revised TiledMaps and real objects
deleted 3 characters in body
Jul
19
comment How do I detect and handle collisions using a tile property with Slick2D?
In my example, the tile property reader is inside a Class that extends Slick's TiledMap. It's just a matter of where your TiledMap object is.
Jul
18
answered Why does my collision implementation cause my player to “bounce” when a collision occurs?
Jul
18
revised How do I detect and handle collisions using a tile property with Slick2D?
added 20 characters in body
Jul
18
revised How do I detect and handle collisions using a tile property with Slick2D?
added 2203 characters in body
Jul
18
revised How do I detect and handle collisions using a tile property with Slick2D?
added 2203 characters in body
Jul
18
answered How do I detect and handle collisions using a tile property with Slick2D?
Jun
16
comment Java Game Interface
I used Slick2D's Shapes (Rectangles, Lines) and Images to create basic UI components, like Panels and Buttons. To detect a click, I simply check if that click happened inside the bounds of the object. Other components like TextBoxes aren't that simple to make, so it may take a while to program everything (I haven't made one). I recommend using one of those libraries, as it will save you a lot of time.