User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: How to make Sokoban?

  1. #1
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to make Sokoban?

    I'm my clients new care worker. She and her previous care worker tried to ask in other thread about two different games, but they didn't know that they should have created two separate threads about them. This thread is about one of them. She once found this tutorial when she tried to find ideas for games what she could make with Clickteam: https://www.youtube.com/watch?v=AZqaCHEia7A

    She noticed later that someone had done a similar game with Clickteam, Sokoban. My client tried the functions in her own file but it didn't work at all. She knows that she needs isometric movement with it. She once downloaded this example file from somewhere about that movement type: player grid movment examples. My client also figured out how to push the boxes. This is what she has so far:
    Attachment 23853

    Attachment 23854

    My client would like to know how to add collision to isometric movement. She knows that in custom movement the active often is moved back if it's wanted to stop. She would like to know how do it in isometric movement that this wouldn't happen:
    Attachment 23855

    The movable boxes are duplicates. My client would like to know how to stop them from going on top of each other. She know that she has to spread value in between the boxes, but doesn't know what else she should do.

  2. #2
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My client is still interested to know the answer to our previous message.

  3. #3
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My client hasn't yet watched this almightyzentaco's tutorial but she has checked what kind of game he has been making: https://www.youtube.com/watch?v=_H7l59fxFRo
    She has noticed that he's using custom movement with it. He also had added functions that gets the active to stop when it collides with an obstacle. My clients has tried it in her file:

    Attachment 23921

    It works with the red block but not with the pushable blocks: Attachment 23922

    First the pushable block goes on top of the obstacle and then it jumps in front of the red block. Those functions didn't also solve the issue where the pushable objects gets on top of each other: Attachment 23923

    Could anyone help my client?

  4. #4
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My client would still like to get some help with this because she's stuck with this game.

  5. #5
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My client just noticed that any of the pictures that we put in this thread, don't show up. This is what we told in the first message:
    Quote Originally Posted by cherryblossom View Post
    She once found this tutorial when she tried to find ideas for games what she could make with Clickteam: https://www.youtube.com/watch?v=AZqaCHEia7A

    She noticed later that someone had done a similar game with Clickteam, Sokoban. My client tried the functions in her own file but it didn't work at all. She knows that she needs isometric movement with it. She once downloaded this example file from somewhere about that movement type: player grid movment examples. My client also figured out how to push the boxes. This is what she has so far:
    Attachment 24063

    Attachment 24064

    My client later found a way to add collision to isometric movement:
    Quote Originally Posted by cherryblossom View Post
    My client hasn't yet watched this almightyzentaco's tutorial but she has checked what kind of game he has been making: https://www.youtube.com/watch?v=_H7l59fxFRo
    She has noticed that he's using custom movement with it. He also had added functions that gets the active to stop when it collides with an obstacle. My clients has tried it in her file:

    Attachment 23921

    It works with the red block but not with the pushable blocks: Attachment 23922

    First the pushable block goes on top of the obstacle and then it jumps in front of the red block.
    Attachment 24065

    Attachment 24066

    Those functions what we mentioned, didn't also solve the issue where the pushable boxes gets on top of each other. The movable boxes are duplicates. She knows that she has to spread value in between the boxes, but doesn't know what else she should do:
    Attachment 24067

    My client would like to know why it doesn't work with the pushable boxes.

  6. #6
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We are going to try linking the pictures from imgur so hopefully it works now.

    https://imgur.com/lSrJNjD
    https://imgur.com/jRhrZw9
    https://imgur.com/Buq1hfb
    https://imgur.com/ioUTwIv
    https://imgur.com/ko4OWGn

  7. #7
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We started to use imgur because we had difficulties with linking pictures. We later found out how to get them to show in threads. This is what my client has tried:










    The issue is that my client still doesn't know how to get the pushable boxes to stop when they hit something. What she tried with the red box didn't work with the pushable ones.

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    MrNaif's Avatar
    Join Date
    Jul 2017
    Location
    Belarus
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First,none of the images is showing.
    I'm using ShareX for screenshots and imgur upload function in it.
    https://i.imgur.com/LfmPFNs.png
    So,you want to make pushable blocks stop after a collision? I will try to make an example now.
    EDIT: My issue,screenshots now visble.

  9. #9
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    I have an open source example on my website called Mr. Push It that will show how to do this. There is also an open source of Sokoban.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  10. #10
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    MrNaif's Avatar
    Join Date
    Jul 2017
    Location
    Belarus
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks like I was trying for nothing. I made movement, but not collision

Page 1 of 2 1 2 LastLast

Similar Threads

  1. My 1st Game - Sokoban - Need Help
    By pixelink in forum Fusion 2.5
    Replies: 59
    Last Post: 10th June 2017, 10:40 AM
  2. Creating an Undo Command for Sokoban
    By Simflare in forum Fusion 2.5
    Replies: 29
    Last Post: 1st June 2017, 12:50 AM
  3. Sokoban (Flash Game)
    By warlords in forum Released Games & Apps in Flash
    Replies: 0
    Last Post: 14th January 2014, 09:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •