Carbincopy's Forum Posts

  • The variable is just the number of the actual lane.

    1 for left lane

    2 for middle lane

    3 for right lane

    You dont need the exact coordinates unless the car is able to change its position inside its lane.

    If the car is fixed on its lane it should allways be the same distance to the next lane.

    I think what carbincopy wants is to actualy move the car to the next lane instead just "teleporting" it.

    yes! I would make it look like the car is driving to the next lane.

  • I would make a variable called lane.

    left lane =1

    middle lane= 2

    right lane = 3

    on D press

    if lane not = 3

    set position car.x+50

    lane+1

    on A press

    if lane not =1

    set postion car.x-50

    lane-1

    I like your information about changing lanes, but I would use moveto and rotate towards or set angle while moving.

  • This is my attempt at creating a calculator with construct 2.

    Know issue on = tally total (does not work) so removed it.

    on switch (add, minus, mutiply, divide) totals results

    works great if you input numbers then hit (add, minus, mutiply, divide)

    also works great when repeat (add, minus, mutiply, divide)

    https://www.scirra.com/arcade/other-gam ... o-wip-5522

  • Carbincopy: Cool job (although it is a bit of a monologue you have there), but please next time, do edit your post yourself instead of multiposting in a row.

    Bumps of 24 hours are the only one accepted.

    Sorry about that. Just had way to much fun with this topic.

  • is overlapping rail or use nodes

    nice image code or capx would help better to see where your issues are.

  • newest video Understanding global vs local variables, keeping score and totaling multiple scores.

    Subscribe to Construct videos now
  • I know you could replace tilemap on click with tilemap 2 object

  • Thanks Carbincopy

    But I wouldn't to use a loop for this. I want something like:

    On touched tilemap & tilemap.tileTouched = false> tilemap.tileAt(something.else.that.I.don't.know): set tilemap.tileTouched = true

    Not sure if Tilemap would be able to do that, but you could try compare tilemap at mouse.x mouse.y if touched = true or false, but again you would have to be able to check each tilemap block individually

  • for each tile

    if touched = touch = 1

    if not touched = touch = 0

    it will have to be an object variable

  • Here is a demo of what I said to do.

    https://www.scirra.com/arcade/tutorial- ... topic-5495

    if text score on screen set text = Score

    updated demo as global's transfer between layouts and local's do not.

    see demo for more details.

    so if you need to have local's for each layout they need to be set on scoring event sheet

    then on layout total / finish pull local scores then add to total score.

    like seen in galaga where to total ships destroyed = total score.

    I have 3 event sheets for the 3 layouts and a ""score"" global variable copied on each event sheet but it doesn't work. Can you please make an example very simple project? Help Please

    only have to set global on one event sheet to call on all layouts

    Edit1: Updated demo to add total scores both for global and local.

    Edit2: Ok! I have not made the mod for this part, But you could also use something like subtract 1 from score lv1 add to total score if lv1 score =0 do event subtract 1 from score lv2 add to total score. if lv2 score = 0 do event subtract 1 from lv3 score add 1 to total score.

    Thus you would see text scores for each displayed score and total = 0

    Then as each score zeros out and add to total

    The next would start to zero out and add to total

    for a more cool total effect.

    Edit3 : Ok! I added a trigger button to total all scores and subtract from other scores.

    Edit4: Ok! I went as far as to make a video talking about this topic and added it to my collection of video tutorials. see them here. my-construct-2-video-tutorials_t168236

  • > there is a 3d plugin, but don't know the name nor the price for it.

    >

    I think you may have misread the question.

    happens from time to time.

  • you would have to have an event sheet like score where layout 1 and 2 also call event sheet score also.

    so it would be an external event sheet for global's and stuff reused through out the whole game.

    layout1 = event sheet 1

    layout2 = event sheet 2

    on event sheet 1 and 2 include event sheet (score)

  • there is a 3d plugin, but don't know the name nor the price for it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • no problem

  • adding to if ammo = set frame to bullet count.