mordiaky's Forum Posts

  • OMG that's it ty

  • no you can call the animation

  • anyone?

  • do an auto save every 5 minutes LOL

  • set a global variable called treeAnimation = 0

    set a global variable called treeIsPlaying = 0

    now set up a condition for each animation TreeA

    ad the global variable treeAnimation = 1 to that animation condition

    ad the global variable treeIsPlaying = 1 to that animation condition

    (Action) set treeIsPlaying = 0 after animation

    now set up a condition for each animation TreeB

    ad the global variable treeAnimation = 1 to that animation condition

    ad the global variable treeIsPlaying = 1 to that animation condition

    (Action) set treeIsPlaying = 0 after animation

    Now you can every tic set variable = int(random(1,2))

    ad the global variable treeIsPlaying = 0 to that animation condition

  • in my app I need the front camera to turn on, In the browser view it works with "Request camera source = 0" what are all the options for camera source? is there any docs on how to use the userMedia?

  • My app has this as well, Open SSL issue, Admob, Crosswalk and XDK from Intel so the issue is in there!

    Hope this gets addressed asap. Thanks in advance.

  • ok that works, Thank you. have to choose the right copy of the tilemap instance LOL

  • I have one tilemap at the moment, but I do not want to clone this tilemap and have to place it on a new layer every time I want to place z order objects.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • simple.

    you need FSA (Easiest way to understand it is to check what FSA is and how they work) - state machines.

    in short: the easiest state machine is just a state with transition to itself. what does that mean?

    state is a abstract thing that describes objects current state (like you for instance) - let's say object is human. you are human right?

    and let's say that you have 1 state called sleeping.

    so you are object human with state sleep.

    that state does nothing byitself. therefore we get transitions - objects that move one active state to another when some condition is met. let's take our human object with state sleep. sleep does nothing byitself

    but if we make transition that sleep happens every time after 1 sec passess you get simplest machine. a bit more difficult machine would be if that transition is empty (could and couldn't happen) - describes undetermination - randomness.

    but let's take our simple example and move on. now you have a human object who has a state sleep that repeats every 1 sec. now if we add a new state to our human - working - it's just a state. it never happens. but if we add transition from state1 (sleeping) to state2 (working) with condition after 7 hours. our first condition is going to rotate for 7 hours, but once it reaches 7 hours it's gonna go to state2 and stay there. If we then add condition on state2 - 14 hours to go back to sleep - after 14hours of being in state2 it will traverse to state1 back to sleeping. it's shown in the images below.

    http://i.imgur.com/QT4O16z.jpg

    http://i.imgur.com/hj6f6RN.jpg

    http://i.imgur.com/s4gQV8K.jpg

    so, what you need really is this - state 1 - running, state 2 - jump high, state 3 - slide / roll /something.

    then you need transitions from running state to itself - so it runs indefinitely, and transitions - to state jumphigh if you see /collide/whatever with low object, or to state3 if you colllide/see/is in range /whatever a high object (like flying birds or something). and on both of the state2 and 3 you need to have a transition back to running where it's condition is "after i've avoided"... hard to explain in words, here's the picture down there. what is good about these machines is taht only... your imagination is the limit. you can make 121241241 state machine that will work perfectly. you can make it so big and complex that it's just "like human" if you cover everything you possibly think of.

    http://i.imgur.com/xdid0AA.jpg

    Very Nice explanation. Even I understood that!

    So basically what he said above, you can add conditions (Variables) and if met, do action. so for example if you have a trigger sprite out on the floor in front of the AI and when that trigger overlaps block, then Jump. this is a simple example.

  • when you refresh the browser it will star back to 0, I learned to export and test in XDK. its much better and I can test in on different devices.

  • Thank you, I got mine to work great! you guys are awesome and yes it could explain what to do After you set it all up with ap id, accounts, and so on.

    you know, some example on how to display it, when to display it, best ways to optimize your ads with out annoying the player.

  • ok I followed these instructions:

    https://www.scirra.com/manual/184/admob

    what they do not tell me is how do I get it in the game, what layer, what blocks of codes to use? any example on banner adds and interstitial adds? I want to try it with interstitial if I can.

  • http://gamedevelopment.tutsplus.com/tut ... medev-8071

    there ya go

    next time google it <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • not sure if this will help or not:

    https://www.scirra.com/tutorials/1051/b ... cing-games