NECROKRIEG's Forum Posts

  • Great!! Iv found a few good posts with examples already, I'll start categorising them <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Drawing a Trajectory Arc Trail

    Can someone point me in the right direction of how to make a trajectory trail that helps you aim an angry bird. Could the dotted arc be drawn with Canvas?

    [Edit]

    I found a formula that could do the trick. I'll see if i can replicate it in C2 :)

    <img src="http://mcdn3.angrybirdsnest.com/wp-content/uploads/2010/08/Angry-Birds-Golden-Egg-23-Trajectory.jpg" border="0">

  • ...Hey!

    I Just discovered after a year that you can officially introduce yourself! I like making games and doing graphic design, perhaps I can marry up the two subjects!?

  • Kyatric has done a good job listing game mechanics in his FAQ.

    Would it be a good idea to start an FAQ of common expressions?

    EG. A capx could show how to use the Lerp, Clamp & Delta Time expressions to create a Smooth Slideshow Transition

    I feel there's a jump from learning basic coding logic to advanced expressions.

    Learning how expressions work by playing with a Capx could make it easier, especially if there's a categorised list of examples. Iv learnt the Definitions of Native Expressions but it's hard to visualise how they would work together in a game mechanic.

    :D

  • It's a shame the images containing the events have disappeared :(

  • Try Construct 3

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

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

    Has anyone had any problems connecting to Facebook as of this date?

    I hosted the C2 Fb template and went through the Fb app procedure but I can't login.

    I get this error:

    <img src="https://dl.dropboxusercontent.com/u/20299415/pictures/fb-social-login-dont-work.png" border="0" />

    I don't even get this error response when I use the 'Prompt to share' action.

    I was successful 2 weeks ago but now the game I made does not want to connect to Fb.

    :(

  • Hiya!

    I'm making a Breakout game and I want to play it on desktop and mobile. I thought the game could include both Mouse & Touch controls but I can't get them to work together. I tried to activate and deactivate them using groups & triggers but it got very complicated. Is there a simpler way?

    Desktop Mouse Controls

    set X to Mouse.X

    Capx

    Touch Controls

    Using Drag Drop behavior

    Capx

    Thanks!

    AleX

  • I tested Kyatric's Tilt_example2 Capx on a Nexus 7 using chrome and get the same inversed controls. (R138.2)

  • Can you post you Capx?

    I would like to see what you've done, maybe I can help. There's no tutorials about aplha, beta & gamma tilt functions surprisingly!

  • Thanks Ashley! Upgrading to R138.2 is in progress, your dev cycle is fast! I was hesitant a simple upgrade will cure it. Can't wait for Ouya! ....well impressed!

    I'm going to book mark the Revision list.

  • R136

    I get the same error on my Nexus 7 tablet. I can press OK and then it will load to the game but has unexpected glitch

    I'll upgrade to R137 to see if there's the same error

    <img src="https://dl.dropboxusercontent.com/u/20299415/capx-forum/Pictures/Javascript-Error/Particle-error.png" border="0" />

  • Thanks Whiteclaws!

    I hit the elasticity up from 0.8 to 1.

    I then increased the Ball's Impulse to 1100.

    Seems to do the trick! I think I was over thinking, simplicity is the key!

    Now I'm going to add a one-click only Ball launch. Maybe an Instance, Boolean variable will do the trick!

  • Thanks Whiteclaws!

    So I have set the World's Gravity to Zero. That has made the Ball stand still which is good.

    Iv added 'Impulse Towards Position' to the Ball so it will increase the speed every time it ricochets off an object. (My understanding of Impluse)

    DEMO

    <img src="https://dl.dropboxusercontent.com/u/20299415/capx-forum/Pictures/Physics-Pics/Ball-Impulse-Towards-Angle.png" border="0">

    dl.dropboxusercontent.com/u/20299415/capx-forum/Pictures/Physics-Pics/Ball-Impulse-Towards-Angle.png

    BUT

    The ball seems to decrease in speed overtime, even though the ball is rebounding off objects which should increase the speed.

    What do you think the problem is?

    I think it might be to do with the Touch controls as the force is based on the click or touch of the player.

    Capx

    Cheers!

    -AleX

  • Heya!

    I can't seem to get a stable thrust with the 'Physics Behavior' when I launch the ball. The ball's force is too strong.

    Capx

    I tried the game with the 'Bullet' Behavior but it was just too slow and less bouncy, not as fluid as using the 'Physics' behavior. Slower Breakout Game Demo

    I did manage to launch the ball by using the Touch behavior but the ball launches too fast.

    To set the force at a reduced speed I tried:

    System: Every Tick > Ball > Apply Physics: Force 1, at angle 270? (up direction)

    ...But no luck. Any ideas?

    Thanks!

    -AleX

  • Cheers Guizmus I think I get this now. . .

    The 'Speed' Global Variable adjusts the movement speed between 0 and 1.

    (I didn't type in a decimal number like 0.1)

    Set progress to clamp(progress + dt*Speed, 0, 1 <--Breakdown

    1. Clamp regulates movement between, under or over the minimum & maximum (0 & 1)

    The value will return to a position if X-Value is lower than the minimum, hence being able to scroll back if you press a button for the 2nd time.

    2. 0 and 1 represents non-movement & movement. When I added 0.5,1 at the end of "dt*Speed" it seemed faster because the scroll began in mid-movement (0.5)

    3. I'm not sure what the 'Progress' variable does. I initially thought it was the Speed Global Variable. I then thought 'Progress' meant movement or non-movement, like a toggle switch. 0=false. 1=True

    I really appreciate your example, I'm enjoying learning how to solve these logic puzzles. I hope I understand the concept of Clamp now, I read the manual.

    AleX