Simulate pressing right or left not working for me

Just started using Construct 2? Post your questions here

Post » Sun Jul 09, 2017 9:47 pm

Hi everyone,
just started with construct 2 and I have been doing some tutorials.

I have been following the tutorial "How to make a Platform game" by Ashley and near the end, I am stuck. More particularly, I am following the directions on making the "enemySnail" sprite automatically move (https://www.scirra.com/tutorials/253/ho ... ame/page-7) but it does not seem to work. The sprite stays idle in its original position

You can see the event sheet (and the sprite properties) here: http://imgur.com/a/wLtPU
I should mention that this event sheet is included in the main event sheet

Things I tried:
a. tried to make it move on every tick, just to check if that would work, but it did not
b. turned the default controls on and it would move according to the arrows

I am certain it is something obvious or simple but my lack of experience is not helping. Any advise would be welcome
B
4
Posts: 4
Reputation: 208

Post » Sun Jul 09, 2017 10:29 pm

Can you please provide a .capx?

  1. Save as -> Single File
  2. Upload to your preferred Cloud Drive
  3. Share the link with us
This will help us fixing your issue.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Sun Jul 09, 2017 11:54 pm

randomly wrote:Can you please provide a .capx?

  1. Save as -> Single File
  2. Upload to your preferred Cloud Drive
  3. Share the link with us
This will help us fixing your issue.


Thanks for your interest.
Here you are:
https://www.dropbox.com/s/6xahhn908qthm ... .capx?dl=0
B
4
Posts: 4
Reputation: 208

Post » Mon Jul 10, 2017 12:08 pm

Took me a while to figure it out, but your level layout is using the wrong event sheet :)
Image



Coming soon on Steam!
B
16
S
9
G
3
Posts: 209
Reputation: 3,476

Post » Mon Jul 10, 2017 12:54 pm

mikehive wrote:Took me a while to figure it out, but your level layout is using the wrong event sheet :)


Oh god, so obvious in hindsight. Thanks a lot for your help.

I cannot dare imagine how I would go about debugging a full complex game, even in construct 2
B
4
Posts: 4
Reputation: 208

Post » Mon Jul 10, 2017 4:02 pm

Hey, every puzzle is obvious once you know the answer. It took me a while to figure out as well :D

It's not so bad! The hard part of debugging is mostly a matter of working out which system is misbehaving. A big complicated game will have a lot of systems, but most of them won't pertain to a particular problem. It's not as hard as you'd think, so don't be scared :)
Image



Coming soon on Steam!
B
16
S
9
G
3
Posts: 209
Reputation: 3,476

Post » Tue Jul 11, 2017 1:33 pm

mikehive wrote:Hey, every puzzle is obvious once you know the answer. It took me a while to figure out as well :D

It's not so bad! The hard part of debugging is mostly a matter of working out which system is misbehaving. A big complicated game will have a lot of systems, but most of them won't pertain to a particular problem. It's not as hard as you'd think, so don't be scared :)


Thanks, for your encouraging words. You are guaranteed 10 free copies of my next multimillion-in-profits game :)
B
4
Posts: 4
Reputation: 208


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests