Sprite distortion example

Show us your completed creations made in Construct 2

Post » Sat Jun 15, 2013 4:23 am

Working on a plugin for my boys to create a 3d raycasting game. It takes a sprite and allows you to distort it for a pseudo 3d wall effect. Let me know what you think.

raycasting WIP
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Sat Jun 15, 2013 4:25 am

Keep the values small and floats such as 0.8 for scaling and 1 for slice width(or less)
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Sat Jun 15, 2013 4:33 am

Are you working a plugin? it's really nice, Does your plugin would do like that http://tulrich.com/geekstuff/canvas/perspective.html


It's using expression to Mouse on every tick, maybe it's possible if you think.
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,371

Post » Sat Jun 15, 2013 4:37 am

@Joannesalfa

Mine is not nearly that advanced at the moment. I know it says canvas but its pretty smooth there. I'm curious if it's actually webgl on that site? Do you have access to the javascript source for that nifty little newspaper?
www.h1k3.tech

We are here for you!
B
87
S
22
G
16
Posts: 715
Reputation: 16,785

Post » Sat Jun 15, 2013 5:18 am

It's different than WebGL, I don't think it would help us because it's required to have knowledge how to use 3D in Javascript.

Um, also it requires jsgl.js to simulate 3D matrix...

You can see the source code is avaliable to public domain, it's below from <script src="jsgl.js"></script>Joannesalfa2013-06-15 05:19:06
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,371


Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 4 guests