shoeb07's Recent Forum Activity

  • Hey,

    As the topic says i want to stop sprite colliding each other for example sprite A is having drag and drop behaviour Horizontal and sprite B is having Vertical drag and drop so whenever i try to move them they go through each other or they move other sprites

    So as you can see here i don't want Sprite A to collide With Sprite B or it should stop if it collides with B and same for Sprite B

    If Sprite A is having a Clear path than only it can be moved forward and same for Sprite B

    SOmething like this image

    Please let me know if i am not able to explain myself

  • hey, dop2000

    Thanks for the reply i think the way game is set is different and more complicated do you mind taking a look to my capx if i forward you on PM

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hey,

    I am building a word game and i have almost set up all the functions and it works great now i want to add a function in which ajax should load only words which are having 4 letters and if there's a word beyond 4 letters it should skip that word.

    I went to forum but didn't got anything which can help all i could find was how to load the txt file

    Example:

    Hello;

    |

    Tree;

    |

    Bridge;

    |

    Soup;

    |

    So here ajax should load "Tree" and "Soup" and should skip rest

  • Hi guys, my solution is the following. You can disable the "Auto font size" option, then you create an "Every tick" event (or you can set this on layout start), now you set the CSS style of the textbox with this values: property name = "font-size", value = (WindowWidth/YourLayoutWidthInPixel)*FontSizeYouWantInPixel&"px". I hope this solution help you

    Thanks for the tip works great

  • Finally got the time to release this.

    Description

    Alpha values below the threshold are converted to transparent and above to opaque with a smoothness control.

    It's useful to simulate metaballs when applied to a transparent layer and get fluid-like effects. When combined with physics can simulate a pseudo liquid, and with particles can simulate fire.

    Parameters

    Threshold: Alpha threshold from 0 to 100. Controls where to put the edge based on the opacity value.

    Smoothness: Controls the smoothness of the edge.

    Flat Colors: Set to 1 to unpremultiply the colors and make them flat. 0 preserves the black shading caused by premultiply.

    View Demo

    Downloads

    Download Effect

    Download Demo capx

    How to Install

    Just drop the two files under your "Construct2/Effects/" folder.Animmaniac2012-10-01 04:11:13

    Links are not working

  • OK, So now I want to get a Distance value between two stars. I have Local PlotX, PlotY and PlotZ values for each star instance. These are recorded when the star is placed in the Isometric spinning Star map. When you left Click on one star it records the instance and pulls those values. Then you click on a star with the right mouse button and it pulls a second set of coordinates. The Distance Global variable then tallies the distance. But if Global DistanceAB is Negative, it says NaN (because of sqrt I think)...   How can I get that value regardless of whether the value is + or -...

    Take a look. It is kinda cool looking... (Think about the cool spinning art you could create with this principle...)

    http://www.box.com/s/se75ku9mcgxxa5kevdkl

    Wow thats soo cool... <img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked">

  • Aliigames

    Global number GridSize is 32

    Sprite:DragDrop is dragging -> Sprite: Set position to (round(Sprite.X/GridSize)*GridSize, round(Sprite.Y/GridSize)*GridSize)

    Thanks man thats what i was looking for...

  • Yeah man. Should be easy.

    As long as you have the selected word appearing.

    The text box you click on to type can be reset.

    Set it to inactive when timed out, so you need to click it again before the typed words are acknowledged..

    Just need to start the timer when the text box is clicked.

    The word selection..... I have basic ideas. Like add individual words to the code with a random number selection to define what word appears.

    Ie if 1. Text =word

    If 2 text= true

    Ext

    Bit long winded. Plenty of easier ideas I just haven't trained with

    Without construct next to me I can't test. But there is a text comparison option, also option to ignore caps...... Use the manual or I will write tomorrow.

    As an interesting side note, you could use the text to speech to train people with a new language! Gd idea bro

    Hey, Thanks for the reply I got the capx file from scirra and over there it shows the coding and everything so it got much more easier for me and it helped me to learn about ajax and arrays but my new concern is i want this words to create every 5 seconds and if it is greater than 300 X with help of bullet behavior than it should destroy and also if first word is on screen we can only type that words and can't type the next one as it should be enabled after we completed the first one or after its destroyed

    This is the link i got the file from...

  • I think this tutorial will help you out

  • Hey,

    I want to make a game where words will load from the text file and we have to use keyboard to type the letters

    So the words will be coming randomly every 1 second so let's say hello came and we have to type hello but if we are typing letters for hello and if the second word generated and if that word let's say house so if we press H on key board it should only affect hello and once the hello is complete than another word should be enabled

    I know it should have array and ajax but I am very confused like how to set these things

    I am not so much pro in construct 2 and I didn't found any help on siccra for this

    Please help

  • Hey !

    1. I would suggest you use the "time" expression (check https://www.scirra.com/manual/126/system-expressions) instead of creating your own time counter. Also, there's a nice tutorial on displaying elapsed time, you should check it (https://www.scirra.com/tutorials/1374/h ... es-seconds).

    2. Accuracy is very simple. You create two variables (say, correctKeys and totalKeys). Every time a player hits a key, add 1 to totalKeys and, if the key is correct, also add 1 to correctKeys. When the level finishes, the accuracy (in %) will be correctKeys / totalKeys * 100.

    Hope this helps. Cheers!

    Hey thanks for the reply this helped me

  • Hey,

    I am making a keyboard game i have the game ready but i am stuck in 2 things time taken so when a player reaches to last stage a game complete screen will came and there it will show the time taken i have added globle variable and over there i have made every 1 second add one to timer but i am not able to stop it once the player reaches the last stage

    another issue is i want a system which can calculate the accuracy the player had on typing i don't have any idea to make these two things work can anyone please help i am new to construct 2

    I am sorry if i am not much descriptive and thank you in advance

shoeb07's avatar

shoeb07

Member since 28 Feb, 2017

None one is following shoeb07 yet!

Trophy Case

  • 7-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies