part12studios's Forum Posts

  • Hi there,

    So while I know that the overall game has a time speed which can be frozen effectively making the game totally lock up, I have a situation where i'm working on a pause mode for a game, but I have things that must still continue to animate..

    Overall I have a pretty good grasp on some workaround solutions for some things, but one thing i have is a fade in / out effect which isn't (as far as I can tell) something I can pause. I can easily stop the rotate speed of an object, but that rotating object while freezing the spin in the pause mode, continues to play through the fade in/out parameters as defined in the behavior..

    I've been working on a "roll your own" fade effect but this is getting hairy / unmanageable / unsuccessful with the fact that there are multiple of these objects on screen.. which i'm now experimenting with making a family but still struggling and is starting to feel like I'm over engineering a fix and becoming a bit of a time sink.. which takes me back to my question:

    can one object or family of objects be frozen in time while other things are not? If I didn't have to pause the game my fade in / out effect would be perfect.. but the fade behavior doesn't have any parameters that i could see that specifically dealt with "pause"

    Any advise / tips would be welcome. It's probably a simple "no you can't do that" but I'd love to be told something different!

    Thanks,

    Caleb

  • oh yea man that's pretty awesome. yea i should have searched more thanks for the lead! I didn't realize how much good stuff people are doing with webgl effect.. so few games i see with C2 every seem to incorporate them. I get it though since sometimes some browsers vary in their support for them. i had trouble with IE (awhile ago mind you) for windows phone using webgl effects in WP8.1 which was suppose to be webgl enabled.. but easy enough to disable for some platforms that might not support the effects fully.

  • Hi everyone,

    So I have this game that simulates an old VHS (work in progress) but yea I wanted to see about making the pause effect which is currently working BUTi wanted to give it a kind of paused VHS look..

    This is a perfect example. I didn't know someone did this till I found this in my searches for images so someone beat me too it but whatevs. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Subscribe to Construct videos now

    in my game i'm using layout webgl effects but they effect the entire screen.. i was wondering if there is a way to apply an effect on a specific part of a layer perhaps? maybe some kind of blur effect but only effecting a strip of the screen or something like that?

    i know that i could attempt to use graphics to represent it but it wouldn't really look as good because it wouldn't distort the image behind it. just making sure i'm not overlooking a good technique i haven't discovered yet.

    Thanks!

    Caleb

  • two relatively short songs wasn't a problem but yea if you wanted lots of music it could become an issue maybe.

    yea i'll have to try that approach next time and see how it does.

  • ah ok yes now i get it.. yes the touch.x did the trick.. don't know why i didn't think of that.. ugh.. thanks!

  • blackhornet ok i see those. i'll mess around with it.. yea the visual isn't terribly off but the issue was irking me because of this kind of situation:

    take the player finger quickly over to the far right of the screen.. then quickly shoot to the left and the issue is that the arm is still pointing upward which would be unnatural for the player relative to the position of the body shadow. I'll research those and see if those do the trick and report back!

    Thanks,

    Caleb

  • Hi there,

    So I have a situation where I'm trying to make it where I can track where I am in the Window to control visual display. However at any time in the game my layouts might be much bigger than the window... so if i have a window that's say.. 1136x640.. but my layout is 3000x3000.. the problem i face is that i only seem to be able to get the layout x and y of my Touch position..

    http://part12studios.com/temp/Games/Fin ... gerKing01/

    notice how if i move over to the right of the screen.. the arm adjusts its position.. but this is currently based on the X of the layout.. which would be fine if my Window was also the same size but the logic breaks down when layouts become bigger than the window.

    Thanks!

    Caleb

  • jobel the only solution I have found is to use "effects" instead of music for playing songs.. this means basically that music will loop seamlessly.. i think the only trade off is that the music is uncompressed so it might add some size to your game.. so keep your songs short.

    I don't know about a giant gap, but yea if you want smooth looping music import the music as a sound effect not as "music" and it should be fine.

    if you need to start / stop music it gets trickier.. but for my last game http://www.kongregate.com/games/part12s ... video-game i actually (because it was slowing me down) just played both songs all the time and simply control volume of both turning down the audio on one as i turn up the audio on the other.. not ideal, but it gets the job done.

  • Ashley thanks for confirming. I think that anyone using a serious leaderboard system for a large scale game would be better off using facebook or some other service like that.

    Walessio yea I was talking with my buddy who made our leaderboard system. For now we'll leave it be, but yea if a game were ever to go large scale something airtight would be good.

  • austinblackbelt thanks for confirming. i was hoping maybe i was just overlooking something, but yea your suggestion is what i ended up going with.. as it is i'm making an integer between 1 and 1 million. I figure that's plenty for now.

    How exactly are you tracking google user id?

    I'm also wondering about a facebook plugin, though I know that might be a can of worms for basically one point of data.. but yea I'm just exploring all options at this point.

  • Hi there,

    I have a simple leaderboard system that my partner has developed. it uses a simple ajax call to send a score. the idea is that it doesn't require any kind of login to connect and get data for it. When you submit you do need to provide some kind of unique ID and the phones UDID would almost certainly be the best way to insure this.

    However I also am open to other ideas that might not be so air tight but likely in most cases to be ok. one idea I had was to have the app when first launched do a time check and timestamp as the UDID. This isn't perfect. Technically two people could install at the same time, but it should be very rare.

    There are likely better ideas that this though. Anyone have experience with this?

    Thanks,

    Caleb

  • ah yes, bah so annoying.. you never know.. like i'm on XDK now because i was dealing with the black screen problem that mysteriously decides to happen now but totally didn't happen once with a prior game.. and now even with THAT prior game the black screen happens.. always something.. i'd go back to cocoon if i could just figure out what's up.. i was using C2 v 227 which might be the issue but i'm in the newer version so there is no realistic going back.

  • Ahhhh ok understood, I didn't get that. sweet!

    Just asking though, it appears to be working with the existing plugin payh / plugin id.. are you saying the link above works better? in what way? just more reliable or is there something else special about it?

    I'm asking just because I'm usually in the mindset of "if it ain't broke.. don't fix it"

    Also yes I do see the event and layout following those directions. fantastic, so badass.

    Thanks!

    Caleb

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks for the filter tip. that did help! i see some activity..

    one question about the git link. there was no "plugin" for c2 that i could see. just source files and such. is there a trick to making it a plugin somehow? I'm not a javascript coder so while i see the files, i don't know how that would be made into a plugin that c2 would recognize.

    also if i could impose one more question on this subject.. how do i find the specific names of "event" and "layout" values I pass to GA? it seems like there is a sea of options and tabs and choices and nothing jumps out at me as "here is how many of those dings" you got.. which ultimately is all i need to know (i think) from this monstrous service of information that is GA

    I do see information, which is huge.. i'm glad i'm not crazy.. but in my case i had two events firing off numerous times.. where / how do I isolate those values it captured? like.. one question is how many times did the game replay? how many times did a player enter the layout.. two very different events to be captured but i guess this screenshot shows all events that came in from 2-3 people who have played it:

    Thanks!

    Caleb

  • Hi there,

    So I'm using XDK with a project and I have the cranberry plugin setup.. I have the Track ID "UA-bla bla bla" and I have it in the iOS and Android slots since I figure I don't really care to track each individually for now.

    That said I also have audible cues set to fire off when I get "on event track succeeded" and "on screen event succeeded" so this (in my mind) tells me the messages are making it to GA.. and yet after many plays and confirmed calls, no activity is showing up.

    However I was getting mixed messages with the cranberry cordova plugin.. in the read me it says:

    "3.Install plugin

    Now all the native plugins are installed automatically"

    so there are no instructions to how to add the GA plugin to XDK... I googled around and found one that I'm currently using which is a plugin id "cordova-plugin-google-analytics" assuming we're using cordova 5.0 or better..

    found here:

    https://github.com/danwilson/google-analytics-plugin

    Does anyone have any ideas on this? I may try flurry as an alternative, but I just thought google might be more straightforward