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
55
S
14
G
10
Posts: 287
Reputation: 7,677

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
48
S
10
G
9
Posts: 1,224
Reputation: 8,449

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
37
S
11
G
6
Posts: 962
Reputation: 11,259

Post » Sun Aug 12, 2012 9:20 am

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

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: 489
Reputation: 11,950

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
37
S
11
G
6
Posts: 962
Reputation: 11,259


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests