part12studios's Recent Forum Activity

  • sweet that looks great.

    Thanks!

  • ah good suggestion. i'll give that a try. i'm familiar with using Sine in other ways.

    Thanks!

    Caleb

  • Hi everyone,

    So I'm using spritefont and spritefont+ to see if it will work but i'm having no luck

    https://youtu.be/PDz6NZ6ZRs4 see how the score "boings" when you score a point? i'm trying to achieve that effect.

    i want to scale the SIZE of the number to create a "boing" effect. however it seems that this isn't effecting the font.. i believe what is happening in this case using LiteTween is it's changing the size of the box itself not the font within..

    So I'm wondering how this could be achieved. when i try to apply a value.. i'm not sure how i'd apply that exactly.. that seems like the possible solution but i'm missing the link to be able to apply a tween value to something like perhaps the "scale" parameter found in both spritefont objects.

    Thanks!

    Caleb

  • awesome thank you!

    Caleb

  • Awesome! Thanks a lot for clearing that up

  • ah the .set item value? ok good to know!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • awesome thanks! I couldn't find anything concrete in my searching although it did leave me confused a little..

    In his example i see that he does check "does it exist" and has a condition of "if it exists.. cool do this" if it doesn't exist.. cool do that.." but i don't see in here where they actually do "Create" the keystore so it exists next time. or maybe it's created at some point along the way without saying "Create this key".

  • so looking at this example.. i'm still a little confused.. in the past you had to check if a key existed.. and if it didn't you created it.. in the example above I don't see where you can create it.. or is it created in some other step?

  • Hi everyone,

    So I've worked with the previous web storage a good amount.. and one of the big things i remember from before is that you had to check if a key existed.. and using an invert condition "if key does not exist"... create the key..

    in this new system I see I can do something like this:

    on start of layout:

    check item "keyname" exists.. but then what? does it automatically create the keystore?

    then i want to do things like compare, but this too isn't feeling familiar.. just feels like while I get it's not completely different, it's different in how I understood web storage to work with C2. I haven't seen any

    even the C2 manual seems to still talk about the old plugin, not the new one so that wasn't informative. I saw some other questions out there, but none of them cover this..

    I just want to create a couple of local storage values so I can save thing like high score and volume on / off so far.. so when you turn off sound and quit.. next time you come in the volume will still be off.

    Thanks!

    Caleb

  • yea i see what you mean now, thanks for shedding some much needed light on how events like this work!

  • ah ha! man.. and i've been using c2 for awhile now and never realized this.. that did the trick (for each enemy).. that's awesome.. I'll have to remember that in the future.. i figured that the compare value was basically "Every tick" and any time the player position value changed it would update the comparison with each object.. or something auto-magic like that.. heh

    Thanks!

    Caleb

  • so yea as far as I can tell i'm pretty much doing it like you said unless i'm overlooking something:

    https://www.dropbox.com/s/jbade64tam4bo ... 2.PNG?dl=0

    https://www.dropbox.com/s/w365r2nem5fzd ... e.PNG?dl=0

    I feel like it's effecting all of them universally and something is preventing each of them from reacting correctly because of this larger inherited behavior.

    The only difference I can see is that i'm using a global variable instead of a local, but that wouldn't seem to matter right? I mean the var is still associated with the player object exclusively..

    Thanks!

    Caleb

part12studios's avatar

part12studios

Early Adopter

Member since 24 Dec, 2012

Twitter
part12studios has 1 followers

Connect with part12studios

Trophy Case

  • 12-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
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

20/44
How to earn trophies