How do I Pseudo 3d rotate

Get help using Construct 2

Post » Tue Mar 07, 2017 4:58 am

Hello

I'm playing around with Pseudo 3d. I've been using JoyfulDreamer's tutorial and have found it quite useful. after a little bit of trial and error I got it working nicely.

But then I tried to add rotation and it does not seem to work. at first I tried setting the screen X and Y to the functions return values, but that did not work. Then I tried adding them to the non rotation values, but that seems to be worse.

The issue I am perceiving is that strafing by the wall without rotation works. the closer you get the faster it disappears off screen. But rotation seems to only move it in a little circle around it's original position. and will not fly off screen rapidly if far away.

thanks

JoyfulDreamer's tutorial.

https://www.scirra.com/tutorials/534/pseudo-3d-games/page-4

link to the project
https://dl.dropboxusercontent.com/u/57156226/Pseudoquestion.capx
B
14
S
5
Posts: 54
Reputation: 1,059

Post » Tue Mar 07, 2017 4:02 pm

Sir LoLz wrote:Hello

I'm playing around with Pseudo 3d. I've been using JoyfulDreamer's tutorial and have found it quite useful. after a little bit of trial and error I got it working nicely.

But then I tried to add rotation and it does not seem to work. at first I tried setting the screen X and Y to the functions return values, but that did not work. Then I tried adding them to the non rotation values, but that seems to be worse.

The issue I am perceiving is that strafing by the wall without rotation works. the closer you get the faster it disappears off screen. But rotation seems to only move it in a little circle around it's original position. and will not fly off screen rapidly if far away.

thanks

JoyfulDreamer's tutorial.

https://www.scirra.com/tutorials/534/pseudo-3d-games/page-4

link to the project
https://dl.dropboxusercontent.com/u/57156226/Pseudoquestion.capx


Can you please upload and link to JoyfulDreamers original CAPX.

It is no longer available on the game because of Scirra arcade issues and I would like to see that in order to help you and it may be of use in my games.

@JoyfulDreamer The CAPX is no longer working in the arcade and I would sure like a copy if possible?
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,825

Post » Tue Mar 07, 2017 5:42 pm

Unfortunately I don't have his CAPX. Like you said it's down in the arcade. I really meant I got as far as I did with trial and error. I followed his example one line of code at a time.
B
14
S
5
Posts: 54
Reputation: 1,059

Post » Tue Mar 07, 2017 6:50 pm

Sir LoLz wrote:Unfortunately I don't have his CAPX. Like you said it's down in the arcade. I really meant I got as far as I did with trial and error. I followed his example one line of code at a time.


Ok Thanks!

I PM'd him so maybe we can get that CAPX as I would sure like to give it try.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,825

Post » Tue Mar 07, 2017 6:51 pm

lamar wrote:
Sir LoLz wrote:Unfortunately I don't have his CAPX. Like you said it's down in the arcade. I really meant I got as far as I did with trial and error. I followed his example one line of code at a time.


Ok Thanks!

I PM's him so maybe we can get that CAPX as I would sure like to give it try.


I already did a couple of days ago. he has not been on in a month tho. So no idea how long it will be before a reply.
B
14
S
5
Posts: 54
Reputation: 1,059

Post » Tue Mar 07, 2017 8:00 pm

Here's something similar.
https://dl.dropboxusercontent.com/u/542 ... dproj.capx

The rotation bit could be useful to look at.
B
94
S
33
G
114
Posts: 5,357
Reputation: 73,775

Post » Tue Mar 07, 2017 8:06 pm

R0J0hound wrote:Here's something similar.
https://dl.dropboxusercontent.com/u/542 ... dproj.capx

The rotation bit could be useful to look at.


Thanks- I think I can figure it out from that.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,825

Post » Tue Mar 07, 2017 8:30 pm

B
35
S
18
G
14
Posts: 18
Reputation: 9,073

Post » Tue Mar 07, 2017 8:47 pm



Excellent! I downloaded both and the one in your link seems to be locking up when you play so between that one and the one Rojo linked to maybe I can figure out how to get it to work.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,825

Post » Tue Mar 07, 2017 8:50 pm

Thanks for the original file, Eren.

I've (hopefully) attached it to the tutorial so it will be available for all from now on.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,488
Reputation: 59,762

Next

Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 24 guests