AllanR's Forum Posts

  • Seems pretty strange to me too...

    Construct2 does not export php code, so it shouldn't care about paths. If you want to pass data back and forth from the game to php/mySQL then you should use the AJAX object to call a php script that will read or write data to a database.

  • Great job guys! I have only listened to about half of the episodes so far, but have thoroughly enjoyed them. It was awesome to hear Ashley talk about how it all started, and what to expect in the future.

    It is also fun checking out the various blogs and web sites - lots of useful info on what has been working, or not working so well.

    Thanks! Can't wait to hear more.

  • I second that motion! : ) OnMouseDown would be very helpful with making more realistic buttons. It would also be nice to be able to implement several other events as well: onmousemove, onmouseout, onmouseover, onmouseup, onwheel.

    At first I thought about submitting a bug report. Because when I first started playing with Colludium's tutorial, I tried to use Mouse plugin events (mouse button is down, on button released) as a work-around. But found that the mouse plugin events don't play nicely with the button plugin. If the mouse button is pressed down over a button, but then the mouse is moved off the button object, and then the mouse button is released, the on button released event does not fire. So, if you move the mouse back over the button object, then it was acting like the mouse button was still down (when it wasn't). But, just using mouse events within the button plugin fixed that issue - but meant I had to hack the button plugin to add the onmousedown trigger.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Looks fine on my Windows 7 PC as well. Very good job on the game!

  • You can start with the free version, use it all you want (within its limit of 100 events). As soon as you start to make money with it, you should get at least the personal license. After you make more than $5000 you should upgrade to the business license.

    You can upgrade your license by paying the difference in cost. And if you can wait, they usually have a sale every few months. (Although, I feel Construct2 would still be a bargain at two or three times the regular price!)

    You own the copyrights for everything you create.

    Good luck with game creating! The community here is very helpful and friendly.

  • I am getting results similar to eli0s in Canaray - updated to today's release. I have run the test many times, and about 75% of the time I get mostly 16 and 17 ms. I don't get exclusively whole numbers, more like what TiAm got.

    But the remaining 25% of the time I do get a result that looks very much like IE results - centered right on the 16.7 ms line.

    I have tried full screen, maximized, windowed... disabled my second screen, closed down all other processes, etc...

    I have a Core i7, 8 GB ram, with a very old ATI Radeon HD 2600 XT (and a two year old driver). Windows 7, running on a solid state hard drive.

  • Nice work! the reflections look great!

    One of my favorite games is Jet Pack Joy Ride, and I really like the way they use parallax scrolling through windows to make the scene feel almost 3D. In some cases they only use two layers - when you are looking into a room or warehouse. And in other cases they use 4 or 5 layers - when you are looking out into the woods. Usually, the difference between layers is quite subtle, but it is amazing how effective it can be!

  • I built a calendar / scheduling app for a customer. (They use it internally on a secure area of their web site so I can't give you a link)

    I have seen other people post about apps they have made - I am sure there are all kinds out there.

  • p0tayters, it has been months since I did that, and I don't remember very much detail right now - but I do remember that it took a lot of tinkering to get it working right. It doesn't take much to confuse it and get strange results.

    My example tried to average the gravity angle when there were overlapping zones. You may have an issue with how your zones overlap, or a problem with calculating the angle. Or you may have code changing the gravity accidentally when you don't expect it (my 13 year old son is very new to programming and he runs into problems like that all the time).

  • Yes, it is possible. No, there isn't a template.

    I have seen several great threads in the forum that should help a lot, so try searching...

  • What is the starting value for curStory? and starting value for storyTitle? and value of numberStory?

    if curStory starts at 1, and numberStory is 5, then the first 2 times through the loop nothing will happen because curStory would be 2, then 3 - and you don't start setting the text fields until it gets to 4.

    Also, it looks like you are trying to set up a menu of 5 titles, but your json array only has data for 4. And since the loop may not be doing anything the first two times it runs, then after that it may be setting text fields on the 3rd and 4th times through - and then running out of data in the array...

    but I would need to see a little more code to know for sure...

    (well, I see jayderyu beat me to it, lol)

  • Congrats on launching your first game!

  • Yes, you can easily do all that - using AJAX to pass the info back and forth to php. There are several good tutorials on how to do it that helped me get started.

  • If you are moving, then you are probably telling C2 to play the moving animation before the attack one has had a chance to barely get started...

  • Someone posted about this a couple weeks ago.

    It is called Pointer Lock or Mouse Lock and is only supported in Chrome and Firefox right now. Once activated, all mouse movements are reported as relative values until the game releases the mouse.

    It should be quite easy to incorporate into C2, and until then it would probably be fairly easy to make a plugin to do it...