Making the the Player move after frame/skin is changed

Get help using Construct 2

Post » Tue Feb 03, 2015 4:41 pm

So, since the title is a bit vague, I'll go more into detail.

I am currently working on a game where you have the ability to draw your hero, weapons, etc. And then play with them in-game. So far, you can draw your character, and then print it out into a sprite. But here's the issue, using the screenshot canvas (is what I'm using so far) and applying the screenshot as the skin of the Sprite completely cancels out any movement input from the keyboard.

Capx:
DrawWars.capx

(Uses the latest stable version of Construct 2)

I removed the "At the Start of Layout" actions, just to see if the main Player sprite moved, and it did. Any suggestions?

Thanks.
You do not have the required permissions to view the files attached to this post.
I like giving game advice more than I actually like making games ;)

Image
B
40
S
16
G
3
Posts: 129
Reputation: 4,701

Post » Tue Feb 03, 2015 5:46 pm

Weird. If you click anywhere on the screen after printing, the platform behavior will start to work normally. Trying to find a work around so you don't have to click.


EDIT:
Apparently, it's a problem with the button object. Apparently it takes the focus out of the game when clicked.
If you substitute it for a sprite with the same behavior, it will work normally.

Check this, @TabloidA

DrawWars.capx
You do not have the required permissions to view the files attached to this post.
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
20
S
6
G
2
Posts: 623
Reputation: 3,498


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 42 guests