NECROKRIEG's Forum Posts

  • Hi sainsy & DUTOIT

    Great stuff!

    I have attempted to make the same 'Place The Picture Game' as Sainsy. But instead of using arrays I used Booleans to match the cards.

    The major difference to my version is that the cards only snap when placed near it's target (at the bottom)I wanted to give the player a surprise as they drop down their card.

    It's almost there but I have problems with the cards snapping underneath each other when you drop them to the target. I can't seem to work out how to write a snap expression with Touch in mind.

    Any Suggestions ?

    Capx

  • Hey yo'll!

    I made an Infinite Jump Game with mouse controls. (Move your mouse to move the player left or right, instead of using arrow keys)

    The mouse controls work well but when the player goes to the edge of the layout the game freezes and the player flickers. Usually when you play with just the arrow controls active the player would go (wrap) from one side to the next, which is great for gameplay.

    Any ideas on how to keep both Mouse and arrow controls in a way that makes the player wrap from side to side and not glitch? :)

    CAPX

  • Sup and 0plus1 !

    I put together a smoother rotating version. You can control the speed of rotation using delta time (dt)

    newt thought up this formula, his math is fabulous!

    is in touch

    set angle to anglelerp(self.angle,angle(self.x,self.y,touch.x,touch.y),1-0.5^dt)

    CAPX

    There's a bit of wobble as you rotate the circle but it's good.

  • Yo! Iv updated it so the player doesn't jump forever out of the layout (Same link) Do try out your theory to see if it works to exercise your problem solving and logic.

    Mess around with the variables to achieve different double jump heights!

  • Woops I'll update the caps later today.I think I forgot to put in a global variable.

    If You make a double jump global var that equals zero when you tap for the second time that would say the d-jump is on.

    If you then equal the d-jump global variable to 1 (off) It will deactivate the d-jump.

    After that you then have to reactivate it by putting a 'wait' event to delay the reactivation then turn the double jump global var to zero.

    Zero means On.

    One means off.

    You have to associate the global var that equals zero to the event that doubles jump.

    :-)

  • Sometimes if you have a physics object attached to the player controller it can make it flicker. My animation flickered when I attached physics to the player controller. To stop it I placed physics on the player animation instead. (I pinned the player animation to the controller sprite to avoid collision glitching)

  • Pode Oh I see! Its not the end of the world! Its a great plugin :D

  • Hey Pode !

    It would be great to preview SVG's in the viewport! :D

  • Hey Guys!

    I'm making a random Name Generator using Arrays...You press a button and it

    generates 3 names at a time.

    I want to implement a lock system where you can lock down a name you like but are

    still able to randomise the remaining 2 names that aren't locked with the padlock

    button.

    Capx

    I think the best way is to have an Array that temporarily stores the Name you want to lock. . . It will require an action to Push the Current Name that is stored in the 'Name Array' to the Temp Array.

    I Tried This

    On Lock button pressed > TempArray > Push Front > ArrayName.at(0,ArrayName.width)

    Once you Unlock the Name you are then free to generate 3 new names which will clear the Temp Array.

    I can't seem to get it to work, any ideas?

  • Thanks vee41 it works a treat! I understand the logic of the expression, it's quite nifty! You guys should come to Scirra's Meetup Event if you're in London!

  • Hey vee41

    I was wondering if it was possible to always match a randomised name with it's meaning.

    So when you press the button it will randomise a name but will always generate the same meaning for that particular name.

    Iv got 2 arrays. One for Names and one for Meanings. Is it possible to connect the Meanings to the Names sequentially? So the name and meaning sequence matches each other. :D

    Capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • eli0s Thanks. You know when you work on something for so long you don't see the most obvious problem? ...That's what happened. The image layer at 100,100 parallax made sure it aligned nicely! :D

  • inkBot BluePhaze DrGreenThumbCAN

    Hi Chaps!

    I'm also having trouble predicting where the parallax offset will be.

    Demo

    I'm creating a Slide Show system. My problem is that the slides do not align in the game window properly. I have to align it with rough approximations.

    Is there a way to get the exact offset co-ordinates?

    Capx

  • Hey vandinz Do you mind fixing the links? Did you use lerp and dt to make the health bar go down smoothly? Thanks!

  • chrisbrobs the link broke again :(

    Bl4ckSh33p shankar if you put in front of a user's name it will alert them :)