part12studios's Forum Posts

  • Hi everyone,

    I've been using XDK for awhile for all of my C2/iOS/Android needs and it's been fine, but I know that this C.IO is a new option now and wonder if anyone has found it performs better?

    I'm happy with XDK's Cordova for iOS, but Crosswalk is so bloated (19mb + your game) I can't help but wonder if there might be another solution to create a smaller APK. Perhaps C.IO uses Crosswalk also?

  • ok thanks! i know spritesheets save on memory.. i just wasn't sure if maybe 2048x2048 was too much for non-ipad (retina) devices. It seems reasonable though that newer iPhones that would still add the support for said resolutions with the release of iPad3 at that time to insure cross compatibility. Thanks for confirming Ashley.

    Sincerely,

    Caleb

  • Hi everyone,

    So I have a game that's not that big... roughly 12mb as an HTML5 project.. when I upload it though iOS Safari and Chrome crash when I load the game but it plays fine on PC..

    From what I can tell I believe the issue is that the output of the game is generating several 2048x2048 imagines which are likely not making the browsers happy.. What I'd like to see if it's possible is to make these get broken up into several smaller sprite sheets to address the likely memory problem

    Any time I've seen browsers fuss or flat out close is when memory issues. it could be something else, but this looks suspicious.

    Thanks!

    Caleb

  • hmmmm i'm not sure.. what errors?

  • don't use CocoonJS for Ouya unless you want to do a totally free game with no IAP, etc.

    I honestly don't remember and it's been over about 8 months since i did it so CJS has likely changed since then.

    My suggestion is if you want to make an ouya game you should use the official ouya way.. https://github.com/ouya/ouya-sdk-examples

    there is an c2 plugin.. although you should bear in mind that you have to overwrite the controller and audio object (the official ones) to get proper ouya control mapping and correct audio. any update will overwrite these when you upgrade C2.. so remember to keep re-overwriting them.

    Good luck!

    Caleb

  • ok i got it to work using LiteTween.. i'm not sure it was the most efficient way to do it but it defiitely helped seeing your 'every tick' approach.. i just had to make it conditional to manage when the grow and shrink tweens fired off.

    Thanks!

    Caleb

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Awesome! Thanks a lot for clearing that up

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

  • 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