ashishv's Recent Forum Activity

  • thnx Asmodean, It worked.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Calling javascript function using Browser object is easy (Browser-> Execute javascript "myFunction();"). But how to get returned value from myFunction() into a global variable? Kindly help!

  • I understands how to download a single file through AJAX object. But I want to download a bunch of files(project files) in a single request and then extract it into a folder. I think downloading a zip file would be easy as any other file using AJAX call, but how to extract it?

  • thanks a lot 99Instances2Go, it worked. Where i was missing is that I was not aware of family instance variables accessibility to member sprites.

  • I'm not clear how to do exacly...

    99Instances2Go If I add instance variable to family, how I will play different animal sound? bcas family instance variable can contain max one value. What I want is onclick of family I want to play respective sound of the member. If the clicked member is cat sprite it should play cat_sound, If the clicked member is dog it should play dog_sound and so on.

  • Say I have several animal objects(cat, dog, goat etc....). On click of sprite i want to play respective sound of animals. Now to achieve this i have to detect click event on each sprite and perform corresponding action. Can I some how generalise this? May be using family. So If I click on any member of family, It should play respective sound stored in instance variable of the respective sprite. for e.g. All the sprite will have instance variable name 'sound' and they will store specific sound name in it. Like Dog will store 'dog_sound' and cat will store 'cat_sound'. So probably this way I have to write only one event - action pair.

    Animal -> Onclick() -> play Animal.sound

    Is it possible? Or any other way I can achieve the same?

  • Sorry guys its mine mistake....I was storing variable value in double quotes(Cat.sound = "cat_sound"). After removing " ", its working fine.

  • Audio "play by name" not working if value provided through instance variable. It does work properly if I pass "cat_sound" in Audio file name input box. But instead if I use an instance variable of Cat sprite(Cat.sound) then it doesn't play.

  • Problem Description

    Audio "play by name" not working using instance variable. It does work properly if I pass "cat_sound" in Audio file name input box. But instead if I use an instance variable of Cat sprite then it doesn't play(Cat.sound)

  • Hi,

    I'm also looking for the same thing, i.e. instead of browser cache I want to download whole package and play locally. This is because browser have cache size limitation in android device. So if I have 50 games It wont be possible to play all of them in offline mode. Kindly help!

  • It seems that changing the event hierarchy is not doable all the times. Sometimes changing a subevent to main event (or Vice versa) happens easily by dragging but not always. So is there any rule for that? Also is it possible to make AND and OR Block On single level of hierarchy? Or I have to use subevent in this case.

  • I want to generalize eventsheet for similar kind of layouts. For e.g. I have a worksheet for touch the odd Image from given Image list. Now I want to create similar kind of 10 more worksheets having different Images, different positions, different count. I don't want to create 10 eventsheet, one event sheet should be enough to handle all layouts of this type. How to achieve this?

ashishv's avatar

ashishv

Member since 15 Jun, 2017

None one is following ashishv yet!

Trophy Case

  • 7-Year Club

Progress

7/44
How to earn trophies