Today I should've stayed away from C2

Discussion and feedback on Construct 2

Post » Mon Apr 01, 2013 1:21 am

I've been struggling for hours to try to get the player character (plane) with a bullet behaviour to move towards a target. But it did not work properly: the angle was much to shallow, and it would miss the target by a wide margin.

And it worked consistently with a smaller demo I tested the behaviour in.

After all the debugging, testing, etc, it suddenly struck me: that particular game level is 48000px wide, and the target and player character were on different layers, with different parallax settings.

...

I knew this was going to be a bad day to work on the game when I stepped out of bed this morning. I should have enjoyed the sunny Easter weather here in Vancouver.

Moral of the story: do not try to use the set bullet angle of motion on two different parallax layers. It will not work as expected.

Sigh. Happy Easter, everyone.
Win7 64- i7 920@3.6Ghz, p6t Deluxe v1, 48gb, ATI 7970 3gb, EVGA 590 3GB, Revodrive X2 240gb, e-mu 1820. Screens: 2 x Samsung s27a850ds 2560x1440, HP 1920x1200 in portrait mode
B
22
S
4
G
4
Posts: 98
Reputation: 3,955

Post » Mon Apr 01, 2013 1:22 am

Again , C2 saves the day !

I like coding !
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Mon Apr 01, 2013 2:27 am

Yeah it's annoying when you are really trying to get something to work but it simply doesn't work as expected, and you begin looking over code many times and begin thinking that you're going Insane, but then suddenly you realise it's an easy fix. Happens to me all the time lol.

Happy Easter from the UK to you and everyone else!
B
45
S
19
G
10
Posts: 562
Reputation: 9,543

Post » Mon Apr 01, 2013 3:55 am

[QUOTE=Rayek] sunny Easter weather here in Vancouver.
[/QUOTE] I envy you, damn Vancouverite!
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Mon Apr 01, 2013 6:07 am

All the time. 6 hours ona problem. Look at it the next morning or an hour later after a break. Then just sigh and realize the fix is small


yes, it was a nice day in Vancouver for Easter wasn't it :)
Happy Easter to everyone else.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Mon Apr 01, 2013 4:33 pm

@Rayek
Smile at the sunshine; still snow in places here in the UK,,,
hope you get it sorted :)
B
18
S
5
G
7
Posts: 593
Reputation: 7,086


Return to Construct 2 General

Who is online

Users browsing this forum: glerikud and 10 guests