The engine can handle that?

Discussion and feedback on Construct 2

Post » Sun Aug 24, 2014 2:34 am

I saw this

http://forum.unity3d.com/threads/ferr2d ... ol.204436/


Image


If i make a plugin to do this, the engine would use a lot of memory?
B
23
S
7
G
2
Posts: 83
Reputation: 3,284

Post » Sun Aug 24, 2014 2:40 am

No one can really answer that because it depends on how you make it
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Sun Aug 24, 2014 2:47 am

I'm thinking in make this way

The engine duplicates the texture
Image

Cut
Image

And fill the "cut" with anoter texture
Image

This "CUT" on fix images will waste a ton of memory?
B
23
S
7
G
2
Posts: 83
Reputation: 3,284

Post » Sun Aug 24, 2014 3:30 am

Its doable. Getting it to work with webgl might be quite an undertaking.
On the other hand just piecing it together manually isn't that hard to begin with.
Image ImageImage
B
172
S
50
G
184
Posts: 8,444
Reputation: 116,107

Post » Sun Aug 24, 2014 10:50 am

You could take a look at these links by @russpuppy he's working on a in game level editor and uses AutoTileGen for autotiling

http://www.forestlegend.com/2014/08/aut ... n-and.html
http://www.forestlegend.com/2014/08/mor ... ditor.html

Image
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Sun Aug 24, 2014 2:24 pm

This is quite different from auto-tiling since it's not on a tile based system. Honestly I don't think you'll be able to do this without serious hacking/plugin writing.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,709

Post » Sun Aug 24, 2014 2:54 pm

Actually I dont see any distortion so using polygon plugin that should be doable. Harder thing would be drawing those other images like the grass automatically.

I added simple textured polygon test. NOTE that you need the polygon plugin to open that.
You do not have the required permissions to view the files attached to this post.
B
34
S
9
G
3
Posts: 517
Reputation: 5,276

Post » Sun Aug 24, 2014 3:23 pm

yeah what you want is probably more complicated than what I have done. I realize this probably isn't exactly what you're looking for but here's a recent tutorial @zatyka put together for more basic auto-tiling. He does it a little differently than I do but looks pretty good.
https://www.scirra.com/tutorials/1128/a ... d-tilemaps
B
64
S
12
G
6
Posts: 456
Reputation: 9,015

Post » Sun Aug 24, 2014 3:35 pm

You could possibly use the Paster object for texturing, but it could only be in quads.
Again, making this just for one game is pretty much a time waster since you can make the maps by hand.
Image ImageImage
B
172
S
50
G
184
Posts: 8,444
Reputation: 116,107

Post » Sun Aug 24, 2014 3:54 pm

You could possibly use the Paster object for texturing, but it could only be in quads.
Again, making this just for one game is pretty much a time waster since you can make the maps by hand.

Would't that Paster method require quite a lot of memory.

I would say it could be worth the effort if users could make levels as well. Otherwise I would't bother.
B
34
S
9
G
3
Posts: 517
Reputation: 5,276

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 15 guests