Best box behavior

For questions about using Classic.

Post » Wed Jul 01, 2009 8:52 pm

What behavior would be the best for boxes like in Sokoban (to move in 4 directions (initialized by player) and to stop while it touches another one without movin the second one)?

I've tried ball behavior, but: when box collides with another one, it bounces few pixels before stopping.
B
53
S
14
G
10
Posts: 282
Reputation: 7,578

Post » Wed Jul 01, 2009 9:16 pm

puzzle games generally require you to code the movement yourself. Try doing it with events. Grid behavior might work ok, but the best way is a custom engine.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Sun Aug 12, 2012 6:56 am

? ???? Player ???? ???? ???????, ?? ???? ?? ???? ??????, ?? ??? ???????? ? ????, ?? ???? ?????
B
4
Posts: 1
Reputation: 354

Post » Sun Aug 12, 2012 7:42 am

You should just use sprites, and add events to move them.
Smooth the movement with lerp()

@alex1961 Say what? Is that greek or czech or something..?Rory2012-08-12 07:43:09
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Sun Aug 12, 2012 9:20 am

Congratulations! You successfully revived a thread that was dead for more than three years...
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Sun Aug 12, 2012 9:51 am

Russian - I think they are having issues with a play being stuck inside a box.

??????? ???? "solid", ??????? ????? ?? ????? ??????????.JohnnySix2012-08-12 09:51:31
Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Post » Sun Aug 12, 2012 9:54 am

Ah sh*t I didn't see the date of the thread. Damn Russian guy made me think it was a new topic.
B
36
S
10
G
6
Posts: 948
Reputation: 11,101


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests