Mithrill's Recent Forum Activity

  • scirra.com/forum/effect-outline_t75574

    Thank you very much!!

    -M-

  • Is there an easy way to apply 1 pixel (or any pixel) wide stroke around sprites on run-time?

    I have searched WebGL effects already but I could find any effect to suit to my problem. If there is an effect, please let me know.

    Quick example what I mean:

    h*t*t*p*s://www.dropbox.com/s/00d5u6z6n13xd5s/example.pdf?dl=0

    Of course I could create a new sprite 2 px bigger than the target sprite and place bigger one behind the target sprite. That would create a "fake" stroke effect to the sprite. Problem is, I want to apply stroke around sprites which are animated. That means, I need to make 2 px bigger versions of every possible animated sprites. To me, that sounds not very efficient way.

    Ideas and examples are welcome ^^

    -M-

  • Nice! That was also one of the points to have in the chain creation but I forgot to wrote about it. So your method is actually what I was looking for ^^ Thank you so much for your help!

  • R0J0hound, thank you for your quick reply

    Yes, your method is much more simpler and easier to follow. I just learned something new, again ^^

    I found a bit difference how the chain pieces are positioned between startsprite and endsprite comparing to my method and your method. Here are the screenshots:

    my method

    your method

    I was wondering, what is causing this? Maybe something to do with the --- loopindex/(startsprite.chainAmount + 1)) ---part?

  • Hey everybody,

    I have a bit different problem. I made an experiment for my upcoming game. I wanted to create chain between 2 objects. Also, I wanted that the amount of chains is adjustable AND chains are divided in equal distance between two objects. I hope that makes sense.

    Here is a screenshot what I'm talking about:

    Problem is, I don't understand how the math works in the event. Odd, ehh? I can create something but I don't understand it.

    Here is a screenshot from my code:

    I'm referencing to line 3 and precisely this: chain: set lerpNB to ---> (1 / StartSprite.chainAmount) * loopindex

    Here is capx -file if somebody want to check the code in Construct2.

    h*t*t*p://www.mediafire.com/download/dohmd4d3wjtbdqv/chain_creation_between_2_objects_tutorial.capx

    I think everybody knows that first you need to understand the problem, before you can solve the problem. I can understand both but I can't understand why results works. In particular in this case.

    So, if somebody could explain to me why my code (line 3) is working, I would really appreciate it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you very much mindfaQ for your effort!! ^^

    Now when you mentioned it. Dunno why I didn't think of doing the "spreadsheet" in Construct2 :/

  • Hey everybody,

    Currently I’m making an adventure platformed game. In game, player collect coins (how original idea). After every level, player can use these coins to purchase 1 ups. Every 1up purchased will increase the 1up price by 1 (one). From levels player can also find items which will decrease the current 1up price by half.

    I ran into a problem of calculating 1up price. I’m designing and figuring out, how many coins and price reduction items I need to place in levels for best balance. So I thought that easiest way of doing that is to create a spreadsheet, where I can input coin amount per level. That way, I could (in theory) easily play around with the coin amounts to find the best balance.

    I tried and failed. Math isn’t my thing for sure. So could anyone help me to figure out how to make that spreadsheet? Even correct math formula is enough.

    run-down:

    At the beginning of the game: 1up price = 1 coin.

    Every 1up purchased increases the 1up price by 1.

    Item which will reduce the current 1up price by half.

    Any kind of help is highly appreciated.

  • Mithrill

    > Posting a comment to mark this thread

    >

    Why?

    There is a 'Bookmark Topic' link at the bottom of the page. Bookmarks are then managed through the 'User Control Panel' at the top of the page.

    Oh, I didn't knew that. Thank you for pointing that out

  • Posting a comment to mark this thread

  • zenox98, Thank you. I misunderstood you. English isn't my mother tongue.

  • Yrondi hasn't been on this forum since making the original post.

    Thank you for informing me.

    I've amended the scirra.com/tutorials/308/cl ... ics-pacman tutorial in question to include the original .capx so all can download.

    Thanks <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /> Lets hope that someone still owns the original .capx -file.

    I sent a message to Professor Stemkoski. Maybe he still own the original .capx -file.

  • yrondi , do you still have the original capx -file from that tutorial? If you do have, could you share it?

Mithrill's avatar

Mithrill

Member since 17 Jul, 2014

None one is following Mithrill yet!

Connect with Mithrill

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies