lamar's Forum Posts

  • Well there is the capx showing it done:

    https://www.dropbox.com/s/5l65bwdugjuby27/Tap%20Example.capx?dl=0

    There are the events:

    Works like a charm guys!

    I'd say you need more coffee.

  • I have spoken to Tom about the problem:

    Tom wrote:

    Having problems with arcade right now because we're using a huge amount of bandwidth (around 300GB a day). This was way more than we ever anticipated. As a result we've implemented Cloudflare CDN. This has created a few caching bugs here and there which I am fixing as they come up.

  • >

    > If it always runs it is because he is not using the trigger variable properly.

    >

    > If he wants to post an image of his events or a CAPX I will gladly look at why his tap event is always running.

    >

    Unless ive not had enough coffee this morning, it doesnt matter. If you put a tap and a double tap trigger on an object, the tap will always run.

    No and there is my events using the same sprite with tap and double tap. It sets the variable to 1 on tap and 0 on double tap.

    If you have a sprite with animations it will run one animation when variable is 1 and another when it is 0 and can be used for many other triggers.

  • > Tap and double tap can be used on the same sprite.

    >

    >

    >

    > Use tap or double tap to set a trigger using a global variable.

    >

    The OP is already using this. The problem is the tap gesture always runs

    If it always runs it is because he is not using the trigger variable properly.

    If he wants to post an image of his events or a CAPX I will gladly look at why his tap event is always running.

  • Tap and double tap can be used on the same sprite.

    Use tap or double tap to set a trigger using a global variable.

  • yeah I understand the 3d part. I know that the Unity Asset store has a lot of 2D assets. The only reason I am asking this is that it seems like the Unity store has more 2D assets available than the Scirra store.

    I just want access to as many resources as possible, being that I am not really an artist that can cook up nice looking animation/bgs/sprites.

    OK then yes you can use any assets that look good in 2D for your own games. Just be sure you have the rights to use them in commercial games if you are making games to sell.

    I use assets from all over and you should also check out free sources like Kenney's sprite sheets.

    http://kenney.nl/

  • C2 is a 2D engine. So you could feasibly use any images that would look correct in 2D but it does not do 3D.

  • Side tip:

    lamar "Every tick" with an "ON..." event has no effect. Drop it and it will work the same way it did with it.

    Oh I forgot to take those out when I was testing it. No you don't need the Every Tick in there and works fine.

    I removed them so people are not confused.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sounds like you have a Stop All or Set Silent sound command somewhere in your events causing the problem?

  • I made my game so hard I can't get past level 8- damn game creator anyway!

    If anyone uses the CAPX to create a different version be sure and link it here so we can see your modifications.

  • I hate it when sprites will not do what I tell them lol!

    OK so I set up a simple test and the reason it overshoots and wobbles is because of the acceleration and deceleration formula 8 directions uses. I played with those numbers and could get it close but not perfect and you want perfect apparently and wobbling is not an option.

    So here is is a simple trick I use all the time using a blank sprite to stop a character sprite exactly where I want them.

    You need a clone of your player sprite with no behaviors and place it where you want your player sprite to stop (in the middle for your game).

    Here are the events:

    I have the player sprite set at 400 speed, 400 acceleration and 0 deceleration. That 0 deceleration keeps the sprite moving back to the center.

    I set the speed to 600 when I release a direction key that way the player goes back faster than it moved away from center and when it overlaps the clone sprite it stops perfectly on center.

    Make the clone invisible and you can use that to have your player return to a specific spot anywhere.

    EDIT: I added in a Start Ignoring Input command to keep your user from clicking keys in rapid fashion that throws off the direction the player is traveling.

    This may be a problem if your player is shooting and you are using arrow keys to shoot. You may need to use a different key for shooting.

  • You do not have permission to view this post

  • Just a guess since you don't have a capx to look at.

    I would separate them by using right click for rotate and left click for drag and drop.

    If you are using a touchpad it could be On Object double tap for rotate

    On object tap and hold for drag and drop

  • lamar

    well done sir.

    you are definitely showing yourself to be an asset to the community.

    Thank you Harrio!

    I remember how hard it was starting out designing games with any new engine and having a few CAPX scripts to follow is probably the fastest way I know to learn so I hope this helps.

  • Ah yes! This was the first game I ever made with C2! It was based on an amazing youtube tutorial by Lee Stemkoski. I still credit him in most of my games because of the inspiration and great knowledge gained from that beginners tutorial. I recommend it to everyone starting out with C2.

    Funny- I had never heard of him or read any of his tutorials before creating this. Just had these tiles in some I downloaded from Kenney so I made the game based on memory of playing breakout and put in my own twists.

    I just looked him up on youtube and will study his technique for ideas!

    My game is alot less complicated but you can add any tricks and features you want. This is an example of what can be done in just a few events for those people using the free version.