Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
Programming

Isometric Collision Detection [HIRING]

el-corleo
Tuesday, May 29, 2018 - 03:15
el-corleo's picture

Greetings,

I'm writing this from my own personal ring of hell where Beelzelbub has had me staring at a screen and scratching my head till I hit brain.

I'm using LibGDX+Box2D+Tiled and wanted to create an isometric game quite like Exiled Kingdoms; I even went so far as to e-mail the dev asking for advice; he was kind enough to answer despite being swept up in the storm of his game's success; but alas, I still can't figure it out. At this point I've been working on it for about a week and would like to move on. I'm working hard on turning Conscientia into a full-blown RPG and don't want to get stuck on this unfortunate snag.

With the end of the preamble comes the main topic: is there anyone with experience in this topic whom I could hire to do it for me? It would be a small project, with the possibility for other add-ons (implementing box2d-lights and gdx-pay, for instance). 

If interested, PM me with a quote for your labor and your contact info.

Thanks,

-E

 

EDIT: I have a lead on this, not on hiring someone but rather on how to fix it. LibGDX has an isometric renderer, so looking in that class, I see all kinds of bizarre math wizardy performed on the grid the .tmx file hands to it. I imagine some amount of copying can lead to an adequate collision projection along the same lines... Will update if I find out more because there is pretty much NOTHING that I can find written on isometric collision detection.

  • Log in or register to post comments
MNDV.ecb
joined 7 years 10 months ago
Tuesday, May 29, 2018 - 10:43
MNDV.ecb's picture

hey i've been using SSCD.js for collision detection. it's super-lightweight and unobtrusive AND one of its shapes is a line-strip or connected line segments, which you can shape into a diamond for isometric collision.

just saying.

https://github.com/RonenNess/SSCD.js/

EDIT: i did not read carefully; javascript probably doesn't work for you. perhaps, though, you can find a compatible library and use the same concept to effect your collisions?

 

  • Log in or register to post comments
el-corleo
joined 12 years 8 months ago
Tuesday, May 29, 2018 - 22:14
el-corleo's picture

It's possible, I suppose. But I have yet to find one. Believe me, if I could find a library compatible with my setup, I'd do it in a heartbeat. But even still, I'm willing to pay someone to do it for me.

  • Log in or register to post comments
AnthonyMyers
joined 13 years 1 month ago
Wednesday, May 30, 2018 - 00:46
AnthonyMyers's picture

Not sure if this will help? https://m.youtube.com/watch?v=t9L3gyKeaE8

I use modified version of astar my self in game maker with an isometric tile resizing.

http://anthonymyers.artstation.com/

  • Log in or register to post comments
el-corleo
joined 12 years 8 months ago
Wednesday, May 30, 2018 - 21:45
el-corleo's picture

Doesn't help much because I can't think about how to apply it to my setup... Thanks, though.

  • Log in or register to post comments
surt
joined 15 years 11 months ago
Thursday, May 31, 2018 - 06:58
surt's picture

You seem to be suffering a fundamental misapprehension.

An isometric projection is only visual representation of your game world.

It should have no effect whatsoever on the physical representation.

Collision response in an isometric projection viewed game shouldn't be any different than that in gameplay-equivalent games using any other projection.

Red warrior needs caffeine badly.

  • Log in or register to post comments
el-corleo
joined 12 years 8 months ago
Thursday, May 31, 2018 - 07:46
el-corleo's picture

Even with Tiled and LibGDX? Because when I use the IsometricRenderer class it projects the map correctly, but when I check the collision layer from the same map, it reads it as though it were Orthogonal (i.e., minus the rotation/transformation whatever the hell it's called). Looking in the IsoRenderer class it shows all the transformations it does... so I'm confused; what's the misapprehension?

  • Log in or register to post comments
Dyrewulfe
joined 6 years 10 months ago
Friday, June 22, 2018 - 21:24
Dyrewulfe's picture

Hi. I know you posted an update saying you had an angle on this. Did you manage to figure it out? If not, I might be able to help you work it out, seeing as you're using the same toolbox I use.

  • Log in or register to post comments