AllanR's Recent Forum Activity

  • I downloaded your capx, the issue is that a new game creates new squares over the existing ones - without destroying the old ones first.

    so, at the beginning of the "latin_karesi" function, add a "Yan_resim - Destroy" action.

  • very nice! :)

    one bug I discovered is that the "tool tips" don't update when you start a new game - which makes it hard to tell what the numbers are after you put the 5 buildings on the grid...

  • this is a thread from 3 years ago that talks about how to aim like Angry Birds. Down near the bottom there is a post from me with some links to samples I made the year before. (the math in there was derived from earlier posts from ROJOhound).

    I think the one that uses Chipmunk physics is slightly better, but requires the chipmunk physics plugin... the regular physics one should also help...

    https://www.construct.net/en/forum/construct-2/how-do-i-18/apply-gravity-concept-angry-113751?kws=angry%2bbirds

  • you would have to adjust the layout scale to make everything fit on the screen, take a snapshot, and then set scale back to what it was. that is how people have done similar things (like split screens)...

  • to move at a constant speed, don't use the object's current location as one of the lerp parameters.

    and you will need a variable to keep track of how far it has moved (from 0 to 100%)

    so, if you have an object ShopP1, and want to move if from 200 to 0 in one second you would use:

    Global number PercentDone = 0

    PercentDone < 1

    - System Add dt to PercentDone

    - ShopP1 set X to lerp(200,0,PercentDone)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • are the user's providing the questions? or is it random? how are you going to avoid duplicate questions? How complex will the questions get?

    the next thing I would try is to randomly pick the numbers and the sign (+ - / *) (unless that is chosen by the player). Then you can construct the question text and calculate the answer.

  • You would only need to parse the questions if you are letting the user create questions. if you are supplying the questions, then you can just as easily supply the answers:

    QuestionText = "5+5|2+1|3+3|4-2|3*2|10/5"

    AnswerText = "10|3|6|2|6|2"

    r = int(Random(6))

    quest = tokenAt(QuestionText,r,"|")

    ans = tokenAt(AnswerText,r,"|")

  • I tried several different combinations of your events, and added else conditions...

    the D key does not register as down sometimes.

    so, it is either a bug in C3 or a bug in Chrome... (I didn't try other browsers)

  • having one family would simplify your code a lot - I would have Mobile hold all the variables: Type (Knight, Rogue, etc.), #ofMoves, health, strength, whatever, ...

    If you have more that a dozen variables, you might want to make Mobile a Container instead of a family and put an array (or dictionary) in the container. That will get created/destroyed with the object, and automatically picked with the object - and can hold as much data as you want.

  • the easiest way is to use a paint program to make a different coloured version of your sprite and put that under a different animation name... no effects, very cpu friendly - as long as you only need a couple of colours.

  • you can't recover then file from the exported version...

  • look in the folder where you save your files, and see if there is an autosave or backup file with your project name. Rename that file so that it ends with .capx and then try to open that...

AllanR's avatar

AllanR

Member since 21 Nov, 2013

Twitter
AllanR has 23 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies