Akvan's Recent Forum Activity

  • Hello, thanks for your time.

    Im making a game like this https://spribe.co/games/aviator and I need to draw that exponential function graph under the plane and I have no idea how to do that, any idea and suggestion is appreciated

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for reply.

    Actually I fixed this issue by filling an array with random positions and shuffling between them so there's no need to destroy enemy instances.

    Here is the guide helped me make a shuffle array.

    https://www.scirra.com/tutorials/599/simple-array-shuffle

  • Thanks for your attention.

    Yeah but what I'm trying to offer is to consider margin area on "path finding" and there will be no need to expand layout area.

    For those who looking for a solution I expanded my layout and made some basic events to simulate bound to layout behavior.

  • Hello

    I wanted to report this as a bug but first wanted to make sure if I'm doing something wrong.

    It seems when you spawn an object outside of layout on margin area "path finding behavior" fails to find a path.

    You can expand your layout size and limit your window size to your actual game frame but in this case the "bound to layout" behavior won't work.

  • Hello

    I', using a function to spawn enemies. In this function there is a loop which spawn 8 enemy instances.

    I need a way to randomly destroy some of them by my own given number amount (3 of them for example).

    The problem is when I use destroy loop after my spawn loop it doesn't work at all, but when I use it on a every 2 second condition it works perfectly.

    I think i still can't understand how exactly events, sub-events, and functions work cause I'm struggling with them for hours :( .

  • Thanks for attention, Unfortunately yes I'm sure :D

  • Tnx for help, actually I was using floor(random(0,2)) first but then I changed it to a number and still not working.

    Here is an screenshot:

  • Hi

    I'm using a function to spawn objects. When I use set opacity after spawning it works, but when I use set fram to a random number its not working and just showing the first animation. I tried stop animation at the start of layout and setting animation speed to 0, none of them worked.

    Tnx for your time.

  • You do not have permission to view this post

  • You have to call execute Javascript from the Browser plugin with something like that:

    "var myPopup = window.open("""", ""MyPopup"", ""width=200,height=100""); myPopup.document.write("&Score&");"

    Score is you global variable.

    Thank a lot , I just imported browser and used the pop-up action in my event sheet and that solved my problem

  • Hi !

    I've made couple of games for and android app like Gamee.

    Now my android developer wants me to show the player score at the end of every match so he can read the score from pop-up and use it in app and send it to server. here is couple of questions:

    1.how can I run javascript pop-up at the end of matches ?

    2.where can I find the global variable called Score in my project to use it in pop-up dialogue.

    Thanks for your time.

Akvan's avatar

Akvan

Member since 1 Mar, 2018

None one is following Akvan yet!

Trophy Case

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

Progress

8/44
How to earn trophies