otomecha's Recent Forum Activity

  • Hello!

    I am doing some tests with an ingame shop feature. I have 2 instance variables, price and locked(bool).

    I wanted to summon a button under each locked instance and write the price. I wanted this button to 'buy' (unlock) the item if there's enough money.

    The problem is the "buy". Once I click on the button it gets the price from the latest price value, stored in the variable. Also when unlocking, it unlocks everything :/

    I don't know how to pick the particular value ....

    Subscribe to Construct videos now

    Thank you for your time!

  • I would suggest just making a function that has 1 parameter. The parameter will be the Layer you want your character to go to. Inside the function you just move each item to the new layer in the correct order.

    It's gross to do, but you only need to do it 1 time, then you can call the function whenever you need to.

    Yeah I was thinking about doing this! bad side is that I have several characters so it's kinda meh. But thank you anyway!

  • If you have a purchased Construct account you can put all the pieces into a family. Then move the family to the other layer.

    If you dont have a family you will just have to call all of them individually

    Oh, I tried with the family and it worked! But also it removed the previous z structure, so even it moved the different items they look wrongly sorted -_-

  • Hello!

    I have a composite characters. The torso is the parent of the different body parts.

    I have this in start layout:

    But when I move the torso to a different layer the children remain in the old one. Is that how it's supposed to behave?

    Thank you!

  • Hello!!

    I have a functionality in my game where characters can grab certain objects when dragged to their arms.This works well.

    I have a problem though with the unpinning process. When I unpin 1 object all the objects inisde the family get unpinned. If I have 2 characters holding something and I unpin 1 item from character 1, character 2 will also drop the item.

    Here's a video...

    Subscribe to Construct videos now

    Thank you very much for your help!

  • KryptoPixel winstreak

    Thank you very much! this worked!

  • Hello!

    I'm trying to set up an image that spawns/despawns a particle when touched.

    This is the code I have. When I touch it, it spawns properly, but once I touch it again it doesn't get destroyed.

    Subscribe to Construct videos now

    Tagged:

  • Use one event, on double tap. With sub event, animation frame = 0, Else animation frame = 1. Make sure you use the system else.

    Works like a charm! Thank you very much!

  • Hello!

    I'm trying to do a simple thing but I don't know why it's not working :/ I have a sprite and I want to toggle frame 1 and 2 when double tapped.The animation has speed 0 so it's an static image.

    I tried like this and it doesn't work. If I only put the on double tap it works, but I need the condition for the toggle.

    Thank you veyr much for your help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Hi!

    I'm currently working on a VN using this framework made by mindfaQ.

    For those who may be interested, they can download the test capx from here.

    I'm trying to 'customize' it a little bit and I managed to add a gallery, and the next thing I would like to do is being able to go back to the 'game' from a previosly jumped different layout.

    (game layout)reading Vn_script -> going to a diff layout (for a minigame, for an ad...etc) -> go back to a especific anchor

    The part to go back to a specific anchor is what I don't know how to do... Any idea of how to do that ?I tried many things, like copyinh the 'go to' function as an example and replacing the value by a variable that matches de anchor name, but it didn't work. Also tried to change the ajax url from the script.txt to a different file so I can jump there, but it also didn't work ^^U

    Thank you for your time!

  • Hello! I'm currently working on a VN with this framework. Not sure if It's okay to post it here, but I wanted to know if you guys know how to do this:

    I managed to add a gallery, and the next thing I would like todo is being able to go back to the 'game'from a previosly jumped layout.

    -> inside de Vn_script -> going to a diff layout (for a minigame, for an ad...etc) -> go back to a specific anchor

    The part to go back to a specific anchor is what I don't know how to do... Any idea of how to do that?

    Also any idea of how to check a variable? when a choice is done? so the go to is different ^^U

    Thanks for your time!

otomecha's avatar

otomecha

Member since 26 Mar, 2015

None one is following otomecha yet!

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies