JimmyMc's Forum Posts

  • 8 posts
  • Use the Browser object

    With the QueryParam expression, you can:

    "Return a query string parameter by name. For example, if the URL ends with index.html?foo=bar&baz=wan, QueryParam("foo") returns bar and QueryParam("baz") returns wan."

    With the Go to URL action, you can direct the browser to a new URL (if needed).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Kiira thanks! I can't wait to dig through these -- it's really generous of you to provide resources like these. Can't wait to get them into a game!

  • Looks amazing! Good luck on your fundraising / preorders!

  • BACLog, Nicely done! This is a great example of what makes Construct 2 so fantastic -- do you have any idea how long it would have taken to do that in flash?! (no need to answer, it's a rhetorical question <img src="smileys/smiley4.gif" border="0" align="middle" /> )

  • avinash, one way to look at it is that you want to pick a random number from 1 to 4, or 0 to 3, if you want to be zero-based <img src="smileys/smiley1.gif" border="0" align="middle" />

    Store this value in a local variable, and then use 4 sub-events to create the appropriate object based on the random number.

    For example, if the value is 1, create object A. If value is 2, create object B, etc.

    This gives you the flexibility of being able to do other object-specific logic at the same time, in case you needed to run an extra step whenever you spawned object 4 for example.

    Hope this helps!

  • Kiira thanks so much! This sounds great - but I'm unable to get your site to load. Are you working on updating it? Thanks again!

  • Thanks so much for putting this together (and keeping it updated!)

    It's a fantastic help -- and I know I'll be checking back frequently to see how the list has grown.

  • I'd be happy to help you or anyone else. I love using Construct, and the more folks we have using it, the better it will become.

    Feel free to PM me if I can assist in any way (this goes for anyone, too).

  • 8 posts