Coming from menu breaks pathfinding...?

Get help using Construct 2

Post » Sat Feb 01, 2014 6:48 pm

I am in the process of creating a dumb little isometric space shooter demo thing with lasers and particle effects and blah. When I implemented a menu, starting from the menu layout and hitting start brings the player to the game layout, however the controls no longer work. Clicking to move doesn't do anything. Is there something completely wrong with my events sheet, or am I missing some crucial bit of info? Here is the capx: Isometric Test

Thanks for the help.

edit: The laser controls work, hitting space activates the laser.zwedizhfizh2014-02-01 18:49:48
B
8
S
1
G
1
Posts: 19
Reputation: 1,093

Post » Sat Feb 01, 2014 11:29 pm

The PlayerSprite is solid and it's blocking PlayerDirection from moving since you have pathfinding obstacles set to 'solids'.

I suppose when you run the game layout directly it generates the obstacle map before positioning PlayerSprite on top of PlayerDirection. But when you run the menu layout first, PlayerSprite gets positioned on top of PlayerDirection before the obstacle map is generated.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,670

Post » Sun Feb 02, 2014 4:46 am

Oh goodness, thanks a lot for the quick response!
B
8
S
1
G
1
Posts: 19
Reputation: 1,093


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 14 guests