Mayfly's Recent Forum Activity

  • >

    > > Maybe start picking from closest to first node?

    > >

    >

    > here's a bit more experimenting I did: http://1drv.ms/1KJjNL5

    > It probably isn't optimized as well as it could be, but it might give you some ideas. There still needs to be a way to prioritize which unit goes first when two or more are competing with each other, but this example has a movement that works better than the previous example.

    >

    I looked at it, but I don't know yet. Also I hope there might be an easier way, with less objects. I'll think of it more.

    Any chance you could re-upload? megatronx

  • Hi digitalsoapbox

    I was hoping for both cars to keep their existing speed and for the quicker one to move out and overtake it as it passes.

  • Hi,

    I am looking to create movement like the popular game 'race manager'. I have used the path finding example so far and played with this to get a good movement for a single car around the track. If I add extra cars when they overlap they pass through each other. I am looking at if its possible to have the cars go around each other like cars would on a real track?

    So far I've tried bullet bounce or custom movement 'push' which I found in a thread but neither seem to work.

    Thanks,

  • Ashley Do you know if there is a way to try to alter the physics to help improve this to make a pool game feasible?

  • R0J0hound

    Thanks for a quick reply. The version I was putting together must have been from an old example I found of yours on the forum. I then did a version in both Chipmunk and built in physics but it behaves the same in both. I added the aim line to your latest version and it gives the same result. I am calculating the aim by putting a ray at the 'hit' ball and angle towards the aimed ball.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi R0J0hound

    I tried a little pool / snooker test with both the normal physics and Chipmunk. I set it up so that there are aiming lines to show where the ball goes. My trouble is that on collisions (In both physics) the ball moves different to the direction expected.

    My aim line draws a strait line through the center of the white ball and red ball to show the direction it should take on impact. It works when a shot is strait but the greater the angle of the shot, the further away from this line the red ball takes. I noticed that removing friction and playing with elasticity helps but no settings I have found get it working correct.

    Do you know if its a limitation of the physics?

    Thanks,

  • Is it possible in C2 to create an app with a transparent background which is always on top?

    The idea being it could be a GUI over the users background windows.

  • Hey Necrokrieg,

    It worked quite well using the Ajax, Xml and array plugins.

    Requested a XML file from dropbox public folder, stored the content of the XML in an array using "for each node" loops (found in the xml plugin) and then loaded images in each objects (cards sprites) usin "for each node" loops once again.

    Here's the code :

    https://drive.google.com/file/d/0B-727M ... sp=sharing

    https://drive.google.com/file/d/0B-727M ... sp=sharing

    The URL in ajax is PickedLevelUrl because the previous menu was also importing stuff, so in your case it should be a regular URL.

    The only problem was the speed of the wifi while importing the images : I had to build a loading screen and the game wouldnt work if the bandwith was too low ...

    I'm no programmer so I dont know if it's a nice and tidy way to do this ! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    May I ask why are you working on ?Shapter2013-12-28 16:44:15

    Hi Shapter, is it possible to re-upload these examples? I am hoping it can help me understand to get images into my xml files / xls files in c2. Thanks,

  • Hi Yura G

    Thanks for the hint. I had a check but it seems text boxes do not list this option. Guessing its not possible. Ashley?

  • Is I possible to move a text object between layers when an application is active? (through the events sheet).

    It appears not but wanted to check if I've missed a trick.

    Cheers,

  • Hi mostafanastary

    My Short mat bowls on Android does online:

    https://play.google.com/store/apps/deta ... f&hl=en_GB

    viewtopic.php?f=148&t=97903&p=748016&hilit=short+mat+bowls#p748016

    viewtopic.php?f=180&t=103492&p=775931&hilit=short+mat+bowls#p775931

    I had started it before the multiplayer plugin was release and its made using the socket.io plugin. I'll be honest Ive never really noticed anyone online to play against but I have tested it playing my laptop vs android phone. There are 9 lobby rooms and a player can setup the match rules and host in one of the 9 lobbies. That should then show up and let the player join. (Youtube video in the above link shows it connecting etc..)

    I should really learn the multiplayer plugin going forward but at the time this was all I knew to work and get Android online working.

    Cheers,

  • I currently have a blank image and using NWjs to let the user select a picture on their PC and load it in place of the sprite. The problem I am having is that if you create a save slot the image does not save. Is there a way around this or a different way? I am trying to keep the image data in a save slot instead of online (ie save to a URL)

Mayfly's avatar

Mayfly

Member since 24 Feb, 2013

Twitter
Mayfly has 1 followers

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies