theubie's Recent Forum Activity

  • Yes, a sub event only is evaluated if it's parent event is true, so it would be similar to a nested If Then Else statement from most programming languages.

  • Give the bolt the pin behavior. When the bolt hits the wall, pin it to the wall for position and direction.

  • An engine does not a great game make. A game earns respect for it's overall design. I hold flash games that are fun to play in the same level of respect as AAA titles (that are fun to play).

    There will be people who will think less of a game based on the engine it uses, but then again there are people who would complain if you gave them $10.

  • Like this:

    <img src="http://www.infinitepossibilitygames.com/demos/TouchCapture/touchexample.PNG" border="0" />

    As for the iPad sound issue...I actually don't have any iOS devices, so I haven't do any development there. I'm sure someone else can help more with that.

  • When you stop touching, Touch.X and Touch.Y become 0. Would be better to make global variables and store Touch.X and Touch.Y when the touch object fires the on any touch start event.

  • Actually, what he meant was if you delete the behavior and add it again, it will be set to default. Look at it's property and you'll see what the value defaults to as you can look it up in the future if you need it.

    To actually answer your question, it's 600.

  • 30FootForest Welcome to "Learning about Object Picking the Hard Way". :) That one bit me in the behind too and I added a few grey hairs because of it.

  • wretchedshark Only problem with that setup is if the random(x), random(y) put the monster inside the screen again. That event only will fire once when the monster is created.

    Now, if you were to put a while & monster is on screen as a sub even there and set the position to random again that would work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Generic Spaceshooter Mystic Power Turbo X 2 Electric Boogaloo

    kongregate.com/games/theubie/generic-spaceshooter-mystic-power-turbo-x-2-electric-boogaloo

    scirra.com/forum/forum_posts.asp

    Play Categories: (Choose One)

    50 - 100 Plays

  • If you've got your player behavior to stay inside the layout along with the scrollto behavior so that you never see outside of the layout, you can spawn the monsters outside of the layout (assuming you don't have your monster with the destroy outside of layout behavior).

    If you use rand(-500,layoutwidth+500),rand (-500,layoutheight+500), then check to see if the monster's X is less than 0 OR greater than your layoutwidth and the Y is less than 0 OR greater than your layoutheight. If they aren't, then move them outside of the layout and let 'em go.

    If you wanted to get even fancier you could do something like this:

    Demo

    capx (R117)

  • Not sure about using drop box or any other hosting option, as I own my own dedicated server and I use that for iFrame on Kong.

    I just set the api call back to the index.html file, and the iframe URL to the folder itself.

    For example, for GSSMPTX2 the API call back is

    infinitepossibilitygames.com/GSSMPTX2Kong/index.html

    while the iframe URL is

    infinitepossibilitygames.com/GSSMPTX2Kong

    If you can publish your game and get it to run, use the URL you used it to run to figure out those two. That's usually all you need to worry about.

  • Looks like the runaway behavior isn't actually using the custom movement behavior, so all of the values for that are 0 each tick. I would post in the behavior author's post to see if he could expose the direction it decided to move the sprite via system expressions. Until then, all you could do would be to try to trap the delta of the x and y via system variables.

theubie's avatar

theubie

Member since 13 Jan, 2013

None one is following theubie yet!

Connect with theubie

Trophy Case

  • 11-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies