Mayfly's Forum Posts

  • 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.

  • 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,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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)

  • R0J0hound

    Thanks for the ideas. I found a nice video about a MTB game written in Box2D which explained something similar to what you had. I guess I was too ambitious to try it with skeleton only joints / limits. Is the link to the correct CAPX? It is for a ball physics example.

    Cheers

  • Can anyone help with limits to set up a nice joint in these physics to complete a rider skeleton? If I fix the feet I cannot seem to find the right limits on min and max to get a natural feel.

    I also have a problem trying to set up the cranks. If I set up a gear ratio for the cranks to the rear wheel the rider resists the turning and locks up the rear wheel

    Subscribe to Construct videos now
    Subscribe to Construct videos now
  • Bug?

    Looks like a bug. How did it happen? I know the buttons at the top that effect the graphics can go funny when restating. I need to change how I handle that as it changes the game scale to a lower res but seems to go zoomed in or out sometimes.

  • Thanks R0J0hound that works in principle. My issue is once I connect up the rest of the rider it stops the front wheel turning for some reason. I'll have a search for some guides on Chipmunk as even if I fix the pedals so they do not spin my rider does a crazy 'dance' wobble at the moment. Seems to act quite different to how it did setup under C2 physics.

  • R0J0hound

    Would you mind checking this example? https://drive.google.com/open?id=0B6SE3 ... mJTemxHOUE

    Hopefully I am doing something obviously wrong but I can't seem to spot it. I am trying to attach the crack to image point '1' and then have it turn. It seems to always setup the joint to the origin through and cause it to move strange.

    Thanks,

  • As routes are good, but is not registering the record, which is quite possible to implement.

    Missing the end of the routes, put an option to return to the menu.

    I've updated the main game version to make sure the lap timer works fully now. Just one track at the moment but I'll make some more soon for testing and have a simple title menu to choose. Once I develop the basic physics more I will add a high score board for lap times. Hopefully I can learn Google play leader board for Android version.

    Ha ha, man! I was having fun since 10 minutes by just trying a backflip transfert.

    And I did it, after 10 tries. I really like those kind of games where you hardly Die & Try, and get so excited about doing successfull transferts.

    Well, I think it's already a very good start. Physics is good, I'd love to be able to test more map.

    Congrats! ????

    Glad you Enjoyed it. I do actually plan a backflip mini game once I've sorted the racing. I was thinking a Cool boarders 2 style way where you hold to prepare for a flip. The longer the faster you spin. I was going to keep it hard though so you need to learn the perfect timing for single / double flips etc... Get it wrong and you land on your head! I did also make it do C on the keyboard does a no hander but you cannot land one yet =P It's still entertaining though