Tobye's Forum Posts

  • I had this exact same issue! I originally tried it the same way as you and got errors. Then someone recommended that I try using anglediff instead, and for reasons unknown to me that worked while comparing angles normally did not. I did this:

    First, add a variable to whatever is moving called 'Angle Tracker' or the like. Make it update every tick to that object's Bullet Angle of Motion.

    -For each + Bullet Speed 0 (inverted):

    -anglefiff(Object.AngleTracker,0) < 45: Set animation to 'right'

    -anglefiff(Object.AngleTracker,90) < 45: Set animation to 'down'

    -anglefiff(Object.AngleTracker,180) < 45: Set animation to 'left'

    -anglefiff(Object.AngleTracker,270) < 45: Set animation to 'up'

    -Object Bullet Speed = 0: Set animation frame to 0.

    And there you have it! Hope that helps.

  • I'm getting the same issue - first loading gets to the end and then takes forever to finish, then touch doesn't work. Strange thing is it works on all tests, this problem only happens after downloading from google play.

  • Thanks , looks like I have some reading to do!

  • rfisher - thanks for the updates! I don't know how to use the android SDK though. I have it installed, but so far all that happens for me when I try to use it is it comes up with a list of things I've installed. You can use it to make an APK of your Construct game?

  • rfisher - oh okay, I just looked at the website and am trying to figure out how it works. So far it confuses me a lot, but I hope to get the hang of it. But you were saying you created a controller plugin? Sounds as though you are much more advanced than I am :)

    I reckon I will just have to wait and see if something simpler comes along, although I would really like to take advantage of my promised free promotion by Ouya ^^

  • rfisher - sorry to keep bothering you, but I can't seem to find the plugin anywhere. Lots of people mentioning it, but I did a search on the plugin forums and got nothing. Also do you have any ideas as to how to monetise on Ouya? With CocoonJS I can use the Clay.io plugin, but have no idea otherwise.

  • rfisher - 0h really? I read a while ago that Phonegap had some big issues (I think not playing sound was one of them). I don't suppose you have details of any problems? This would be fantastic if I could get things going!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks rfisher! I'm looking forward to doing some testing.

  • I also got my Ouya, but have no idea how to put games on it! mattcoles, could you please give me a step-by-step?

  • Thanks guys! I have a few was of going about it now thanks to your help :)

  • Hey jayderyu,

    Thanks for the advice, but there isn't a a velocity option I can find. I take it I can just use speed though right? I tried it out and it kinda works, but at the moment a bit bumpier than my original method. I'll try tweaking it a bit!

  • Not sure if this is exactly what you're after. but:

    To make the angle of the player point towards something you can do this: Set angle > angle(player.x,player.y,desiredangle.x,desiredangle.y). To make it go in the opposite direction, simply swap the places of the player.X/Y with the desiredangle.X/Y.

    So: angle(desiredangle.x,desiredangle.y,player.x,player.y)

  • Heya,

    I am using the platform behaviour and I'm just trying to make it so that when the player is near a bush and they press a certain button, they will jump towards the bush and land exactly on the bush's position. I managed to get it to work in this capx, but I don't like the way the player just stops dead when they are above the bush. Does anyone know how I can make it so that the player will jump in a nice arc and still always land in the right position?

    Any help would be appreciated!

  • You could also try duplicating the animation, one with pong and the other without, then setting it to the required animation with events.

  • Hey all,

    I ran into so issues when using pathfinder plugins, namely performance issues on phones. So, I decided to see if I could event one! And I must say I am quite pleased with it. Since I have seen many people having trouble with pathfinding (particularly for RPGs), I decided to post it here.

    Now it isn't a true pathfinder, it is only concerned with getting around small obstacles that are directly around it. So while useful navigating a cleanly laid out town for instance, it won't be any good for navigating mazes or the like.

    Also I recommend using the 'moveTo' plugin to make movement fluid, or some lerping formula (I am no good with that, but have seen it used to great effect by others).

    So to sum up, it's a neat little system for a basic RPG and easy to tinker with if you want it to do some custom functions. Like in my project, if you touch certain objects it will set the target to a specified location. Or maybe you could do something with platforms and 'against wall' to help him get around large obstacles. Hope it helps someone!