@RaialMusic Irregular terrain is a pain in the ass. However, when I started using the Farseer Physics library it became a bit easier. Basically I have a collision flag called "Irregular". When the engine loads a map and sees tiles that are marked as such, the tile image data is fed into a Farseer method that creates vertices based on the image data. At that point Farseer already supports SAT collision so as long as the vertices are correct the collision with irregular terrain will function.
Cool
EvilGamerJ 1 year ago
yo man, how did you handle the irregular terrain? and how are you saving your levels?
RaialMusic 1 year ago
@RaialMusic Irregular terrain is a pain in the ass. However, when I started using the Farseer Physics library it became a bit easier. Basically I have a collision flag called "Irregular". When the engine loads a map and sees tiles that are marked as such, the tile image data is fed into a Farseer method that creates vertices based on the image data. At that point Farseer already supports SAT collision so as long as the vertices are correct the collision with irregular terrain will function.
dsoltyka 1 year ago
Wow this is impressive. Good job.
TheBatchGuy 1 year ago
Looks cool, any source besides player and grenadeSoldier ?
Meja69 1 year ago
look awesome! keep up the good work!
JeroenAnthierens 1 year ago
Looks really nice! Good job
t0piser 1 year ago
@t0piser Thanks. Next update will hopefully have a "completed" alpha level, as well as 2D dynamic lighting.
dsoltyka 1 year ago
@dsoltyka Good to hear, open source? xD
t0piser 1 year ago