Deformable Terrain, not just destructible

For questions about using Classic.

Post » Sat Mar 14, 2009 5:20 am

It's not often I make one of these threads... so hopefully someone else has a better idea of how this might work than I do.

I want to mess around with making some deformable terrain... not just destructable. I've been looking at some of the existing cap files for using the canvas object to "chop" holes out of the "ground", but I am also looking at a way to make the ground collapse if the "foundation" is blown away but there is overhang remainaing.

If you aren't sure what I mean, take a look at the old Scorched Earth game, or the more recent Pocket Tanks.

Any hints or ideas on how to achieve this would be awesome.

Thanks

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Sat Mar 14, 2009 6:56 am

Here is an example of what I mean by the way... fast forward to around 1:10 and watch until about 1:40.

http://www.youtube.com/watch?v=dkAtoV33 ... re=related

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Sat Mar 14, 2009 1:33 pm

Sol i know what you mean, i used to be a big fan of pocket tanks with meh brother. I have an idea how to make this, ill try to whip it up quickly.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Sat Mar 14, 2009 2:15 pm

[quote="Davioware":1ofiuab5]Sol i know what you mean, i used to be a big fan of pocket tanks with meh brother. I have an idea how to make this, ill try to whip it up quickly.[/quote:1ofiuab5]

If you manage to make it, you will officailly be a living legend. Between myself, Mipey, Zack, Dave, Shviller, and Deadeye... we have been unable to make something that works reliably on a pixel sized basis.

If you get something working, upload it and link it here... I gotta go to bed for now though I'd love to hang around lol.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Sat Mar 14, 2009 4:42 pm

Hey now, I haven't been unsuccessful. You can't be unsuccessful if you don't actually try :P
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sat Mar 14, 2009 8:02 pm

http://dl.getdropbox.com/u/629300/colla ... errain.cap

Not even half way done, as I can't find a way to make nice round holes, but the idea is to 'chop' the vertical lines where there is a hole, spawn another line, have it drop slowly until it lands, despawn and set height to the new height.

This is the least CPU intensive method and as such the fastest I've found.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Sat Mar 14, 2009 8:14 pm

i made a brute-force approach that runs very slow: here it is.
B
2
S
2
G
4
Posts: 171
Reputation: 1,792

Post » Sun Mar 15, 2009 3:07 am

[quote:2f1nfr15] the idea is to 'chop' the vertical lines where there is a hole, spawn another line, have it drop slowly until it lands, despawn and set height to the new height.
[/quote:2f1nfr15] this was exactly my idea. :shock:. Had to goto work after i posted, so i havent had a chance to finish my example. from the looks of it mipeys on the right track. ill try to finish my example soon.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Sun Mar 15, 2009 5:44 am

EDIT: Nevermind about it being funky, I just fixed it up and it works perfectly now. :) Here's the new download link:

Deformable terrain
Moderator
B
97
S
36
G
19
Posts: 1,584
Reputation: 17,692

Post » Sun Mar 15, 2009 8:01 am

Wow holy bejesus all of you... thanks a crap-load!

All of you guys had different ideas and solutions to the problem that all work rather well in thier own respects! I have to say, I was beginning to think this was going to be impossible... thanks again all of you, I would have had zero chance of figuring this out myself. Maybe I can make something with it now :D

Cheers again!

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest