ameersak's Recent Forum Activity

  • Hey LittleStain,

    I guess looking at these two screenshot will make it very clear of what i am trying to achieve.

    dropbox.com/s/0jqo4vmds636ez3/capx_events.jpg

    dropbox.com/s/wzrj3qpmhnvyh1g/js_file_screenchot.jpg

    please have a look at them. function myfunc() should be called once it goes under the function PublishtoUserWall and receives a response from it.

  • Thanks for the reply. I have already tried this and it works..but i am not looking for this...

    basically i am looking to call a function or method in construct 2 from my external javascript, and a simple function returning a value will not do my job. any work around for this?

  • How to execute a Construct 2 function from an external javascript function callback?? here's what i am trying to do...

    I am trying to call a javascript function using CallJS plugin, after the javascript executes, i need to call (trigger) a function in construct 2 based on the value it receives from the JS function.

    Any help would be highly appreciated?

    Thanks guys.

    ameer.

  • Hi Guys,

    I have been surfing couple of threads.but had no luck in this. how do i activate the "Android (note 2) device" back button?

    Have tried methods by "cranberrygame" as well but still in vain..

    I have tried the browser action as well..but it does not work in the actual device, just works in the desktop browser..any light you can shed on this? or a perfect tutorial?

    Thanks.

    ameer.

  • Got it! Thanks so much. <img src="smileys/smiley1.gif" border="0" align="middle" />

    ameer.

  • Thanks!

    Is this what you mean.please check the jpeg..its works fine now..but still want to get your opinion if this is what you meant..

    dropbox.com/s/elrxe2bn2ck62yb/changed_value.jpg

    ameer.

  • oh ok!..oops! my apologies zenox98. <img src="smileys/smiley9.gif" border="0" align="middle" />

  • hi guys..just a small issue..i have a bag which collects veggies falling from top and increase the score..i randomize the sprite frames in the animation set to show different veggies falling in.

    the problem is that during the fall..since the new veggie create code is executed, the set frame commands executes and changes the veggies which have already been created during its fall..i hope i am clear..<img src="smileys/smiley19.gif" border="0" align="middle" />

    how can i stop this? i am using a function which checks if the veggies are from recipe one, then set frame to 0 and 1 and if veggies are from recipe 2 then set frame to 2,3. during the fall the veggie suddenly switches frames..if you are able to run the capx file, you will know exactly what i mean.

    i have uploaded the capx file plus the screen shots incase you cannot open the capx file since i am using the tweenlite behavior.

    dropbox.com/s/t4ngr14rfc9cj2f/bag.capx

    dropbox.com/s/jp9arkep6pqyxr8/gameplay.png

    dropbox.com/s/mxlmmauf2d8uarb/veg_sheet.png

    thanks for your help in advance guys!

    ameer.

  • excuse me? spam..since the guy helped me..i have praised him and am thankful to him..why would you say its a spam??? <img src="smileys/smiley3.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • LittleStain, You are the man! <img src="smileys/smiley20.gif" border="0" align="middle" />

    Implemented and works like a charm!

    Thanks so much!

  • ok..thanks LittleStain,

    but here's where the real problem lies..i have given a platform behaviour to my 'player' but when he collects a boost, i dont really move this player anywhere, what i do is increase the tiled background or the objects speed to which i have given a bullet bahviour..in bullet behaviour we do not have max speed..so how do i accomplish this?..

    If you see the capx file, right now all the objects are created dynamically and moves across the scene using the bullet behaviour and in boost all these objects move faster. i am not saying this is the best way to do this but if you can suggest an alternative..i wouldnt mind giving it a shot.

    Thanks again.

    ameer.

  • heres a link to my capx file. if the runner collects a bottle, how should i show a acceleration rather that direct speed shifts and after couple of seconds it should come to a normal speed.

    dropbox.com/s/p64owdbwgmjvq5f/myrunner.capx

ameersak's avatar

ameersak

Member since 3 Dec, 2013

None one is following ameersak yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies