mattdaly's Recent Forum Activity

  • I'm making a game with a till that you might use in a shop

    The till will work out how much change the customer is due and then displays both the number and pictures of the coins that they should receive

    I am wondering if there is an easier way to calculate what coins are due rather than 100's of if statements saying:

    IF change=1 then create object 1pSprite on layer 0

    IF change=2 then create object 2pSprite on layer 0

    IF change=3 then create object 1pSprite & 2pSprite on layer 0

    IF change=4 then create object 2pSprite & 2pSprite on layer 0

    IF change=5 then create object 5pSprite on layer 0

    etc...

    I have attached a basic capx attempt that will hopefully explain what i mean a little better...

    https://www.dropbox.com/s/3mdjl8l0bh6b1jw/visual_change_calc.capx?dl=0

    Many thanks

  • Thank you, that's really helpful

    I'll give it a try tomorrow and let you know if i manage to get more undo steps to work...

  • Hello,

    I am struggling to figure out how i can delete the last sprite that is created

    I want to have an "undo" button if that makes sense?

    It wont always be the same sprite that is created so i'm not sure selecting the instance will work for this purpose

    Here is a link to my capx:

    https://www.dropbox.com/s/f1yaaevkwna69sx/delete%20button%20help.capx?dl=0

    Hopefully that will explain what i'm after a bit better

    Many thanks

  • Thank you GamerGon for pointing me in the right direction.

    I actually found this tutorial:

    To be more suitable for what i was trying to achieve.

  • I am trying to make a coin recognition game for children.

    When a coin is dragged to the piggy bank the value of the coin is taken away from the piggy banks total.

    I've got the basics working as I want but I cannot get the text to display to 2 decimal places.

    For example;

    £2.33 displays fine but £2.30 displays as £2.3.

    How can i get the text to always show 2 decimal places?

    Here is the cap.x of where i've got up to so far:

    https://dl.dropboxusercontent.com/u/155402113/piggy_bank.capx

    Matt

  • Thank you so much Kyatric

  • Still struggling with this.

    Have tried BunnehBoy 's suggestion but now I just end up with the snake not only growing a section of body he also grows another body too!

    Has anybody else got any ideas?

  • I thought it would be something like that.

    Any chance you could show me exactly what i would need to change?

    Thank you for your (second serious) speedy response

  • I knew i'd end up with a response like that!

  • This is driving me mad!

    Trying to make a simple snake type game where the mouse cursor controls the snake.

    I have followed an excellent tutorial on how to get the snake to have multiple sections and I love how the snake moves around the screen.

    I'm really struggling with how to get the snake to grow by 1 segment each time he eats an apple.

    I have a global variable called "SnakeLength" That sets the length of the snake on the start of the layout and then I have an event that when an apple is eaten it adds +1 to "SnakeLength" but this does not affect the length of the snake during the game?????

    If anybody would be willing to take a look at my .capx https://dl.dropboxusercontent.com/u/155402113/Mouse_Snake.capx and see how i can get my snake to grow I would really appreciate it!

    Thank you,

    Matt

  • fm4fanAT

    [quote:2195oxxy]Here is a tutorial and the capx for a snake version that is almost like slither.io - without the multiplayer part.

    I don't see a link to the tutorial and capx but would really like to see it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If anybody would be willing to look at my project to see if the number of events could be condensed to make a more efficient project i'd really appreciate it.

    Thank you

mattdaly's avatar

mattdaly

Member since 27 Nov, 2014

None one is following mattdaly yet!

Connect with mattdaly

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies