smitchell's Recent Forum Activity

  • (not sure if this will work)

    go to this link below and download the plugin 'Load image from URL at runtime'

    construct.net/en

    Then use the facebook plugin to get the user ID..

    Then call this link graph.facebook.com/19292868552:

    Replacing the id at the end,

    once you have this data, you have access to there profile picture,

    for this example -- http://profile.ak.fbcdn.net/hprofile-ak-ash2/276791_19292868552_1958181823_s.jpg"

    So you would need to figure out how to get this link once the data is received from the first link..

    Sorry if this was of no use to you, Im not sure of any other way to get it....

  • Thanks for making the timer better aswell(bet you though i wouldn't notice ) ;-D

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • encase that didn't show my appreciation, THANK YOU!!! :D :D :D

  • :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

  • Wow!! thanks, This is really in depth and usefull, im sure to allot of people.

    I manged to Get the lap counter part for the NPC's working(I Think)

    But the second part confused me a little.

    I changed it to instances of the one NPC, the others are still there just toggled disabled -- encase i cannot get this working.

    Can you look at my capx and let me know what i did wrong?

    Project

  • Simply because that is the only way i could figure out how to add a logical timer board type thing, I was planning on having the times of each npc, and position at the end of the race(This part i can do) Im just struggling on the logic for calculating the players position during the race.

  • If you need to reset a variable, just do something like this:

    system -- set value -- var -- set to 0

  • I have four variable's:

    PlayerPosition

    NPC1Position

    NPC2Position

    NPC3Position

    Every time they overlap a waypoint there next waypoint is increased until they hit the last one and the it resets to one, This is how i am trying to determine the players current position(for a racing game).

    But how can i determine which position he is in from this?

    I know how to determine if he's in last place or first place, but i need to know if he's in second or third also..

    Anyone have some knowledge they wish to share?

  • Look at the example i sent you....

    To get the y-position -

    I added a text

    made a every tick event

    on that tick event, I set the text to --- BG.Y

    on that same tick i set the BG.Y to Mouse.Y(you also have to add a mouse object)

    Then just look at the Text to see the y position that fits the place you want it and set it to that....

    This may not be the quickest/easiest way to do this but it works..

    Look at the link again..

    http://dl.dropbox.com/u/51270524/Platform.zip

  • I never thanked you for this! Thanks :) It worked in the end

  • You can still kinda shoot when paused..

  • i guess you could do co-op in the form of sharing the same keyboard, so one user uses the arrow keys, and another uses w-a-s-d

smitchell's avatar

smitchell

Member since 25 Nov, 2011

None one is following smitchell yet!

Connect with smitchell

Trophy Case

  • 13-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

16/44
How to earn trophies