Couple of questions for Mario game.

For questions about using Classic.

Post » Sat Sep 20, 2008 1:15 pm

Hmm, your problebly right though it is strange that the Goomba works perfectly when there is only one of them.
The reason to use physics is mainly becouse i want the Goombas to interact with the other objects.
B
2
G
4
Posts: 23
Reputation: 1,096

Post » Sat Sep 20, 2008 1:21 pm

Yes, you were right deadeye, i changed it from physics to this:
[code:695hp1hv]Goomba.X = Goomba.X + 100 * TimeDelta[/code:695hp1hv] and it worked as it should.

Very strange that it didnt work with physics though.

A big thanks for your help.

SoldjahBoy: Ill try your example.
B
2
G
4
Posts: 23
Reputation: 1,096

Post » Sat Sep 20, 2008 1:41 pm

[quote="Jonaw":1oxcz6u2]Hmm, your problebly right though it is strange that the Goomba works perfectly when there is only one of them.
The reason to use physics is mainly becouse i want the Goombas to interact with the other objects.[/quote:1oxcz6u2]

If you want built in functionality like gravity/collision without having to code it by hand, just use the Platform behavior on them. At the beginning of the layout do "Goomba: Start ignoring user input." Then you can manually set the x speed and such with events.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests