smoke84's Recent Forum Activity

  • I have 2 layouts or maps.

    On layout 1 (home) I have a sprite who walks left and right. When he leaves the edge of the screen, the layout changes to layout 2 (world map)

    I was going to make several points of interest on the world map so when you leave an area, the sprite on the world map gets positioned near the point of interest. The issue i am having is changing the position of the world map sprite to where I want.

    So if you leave your home the sprite on the map should be near the home icon, if you leave the forest, the sprite should spawn near the forest icon. Any ideas??

    Also I am using 1 event sheet for both layouts.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thank you for the feedback. I have updated the game, please let me know what you think.

  • Little game i was working on for mobile. check it out, need feedback please

    http://www.scirra.com/arcade/addicting- ... 9/coinrain

  • OddConfection

    That did it, thanks for the fast reply!

  • I have a coin sprite which has multiple frames. Each frame is a different looking coin. The coin also has a instance variable to track value. Every 2 seconds I call the function itemspawn listed below.

    (Coppercoin=1, silvercoin=2, goldcoin=3 etc..)

    At the moment I have the coin spawning, and it changes to a random frame. When I collect the coin I get the correct value. The problem is ALL COINS update frame when a new coin is generated.

    So if a gold coin spawns it will start to fall from the top of the screen, if a new coin spawns before I can get to it, the gold coin may change into a copper coin. this repeats every time a new coin sprite spawns for all coin sprite objects on screen. Any ideas on how to fix this?

  • Magistross The first method you described worked perfectly for me. Thank you.

  • How can I add multiple keys in a single line with the dictionary object?

    It works fine if i have separate lines of code like in the sample but is there a way to add new entries on a single line?

    ie.. (Inventory ---- add key "coin,wood,mobdrop" with value 0)

  • This was exactly what I was looking for. Thank you very much sir.

  • Hello Everyone!

    I am trying to figure out how to get a draggable object (a ball) to return to its point of origin if not dragged to a specific area. (a net)

    My goal was to have several balls on screen that need to be dragged to the net. I thought I would use instance variables to track the position of each unique ball.

    So how do I have multiple instances of the same object track starting positions properly and how do I get them to return to these specific points if not dropped in the goal? Right now if I pick up the ball and drop it, it stays where dropped instead of the original starting placement.

smoke84's avatar

smoke84

Member since 20 Jan, 2012

None one is following smoke84 yet!

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies