STKM Question

  • Simon
    22nd Feb 2012 Administrator 0 Permalink
    Keyboard controls for stickman are in a function called "sdl_poll", this function is in main.c or interface.c
  • m_shinoda
    22nd Feb 2012 Member 0 Permalink

    Simon:

    Keyboard controls for stickman are in a function called "sdl_poll", this function is in main.c or interface.c
    @Simon:

    What about controls for how photons change color when the bounce off of
    stuff.
  • jacksonmj
    22nd Feb 2012 Developer 0 Permalink
    Starting stickman element is in main.c
    player.elem = player2.elem = PT_DUST;

    Photon colour when bouncing off stuff is in powder.c, search for
    // this should be replaced with a particle type attribute ("photwl" or something)
  • ForumTroll
    22nd Feb 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • vanquish349
    22nd Feb 2012 Member 0 Permalink
    @ForumTroll (View Post)
    wouldn't that just be in elementdata.c in the struct
  • tommig
    22nd Feb 2012 Member 0 Permalink
    @ForumTroll (View Post)
    ^^ What Vanquish just said. Just chance the red text in elementdata.c
  • ForumTroll
    22nd Feb 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • vanquish349
    22nd Feb 2012 Member 0 Permalink
    @ForumTroll (View Post)
    i tried to do that before, failed miserably
  • jenn4
    22nd Feb 2012 Member 0 Permalink
    @vanquish349 (View Post)
    Just for curiosity, how long ago?