part12studios's Recent Forum Activity

  • pringrod Hey so I'm really liking Clay.IO more and more from my experience so far, but i'm a bit behind you on some of this.. I will be wanting to do the same thing you are, but i'm working through another question that maybe you can help me with

    I'm trying to understand how to handle when popups (specific case, the X button in the share fb post). It seems fine if the player clicks "share". that's no problem. but what happens when someone clicks the X on a popup? It seems to go away and I don't see how you can capture that event.

    The sooner I can wrap my head around the Clay.IO basics the sooner I'll be in your boat publishing to windows 8..

  • i would look at the platformer template as a starting place.. your ball would be the character.. the real challenge (and its not too bad with a little effort) would be to have the platforms spawn randomly at the bottom and all have a behavior to move upward (because you're ball is going down).

    Also look at the infinite jumper template which is kind of the opposite of your game, but the mechanics are very similar. that should help you understand how to move your pieces vertically.

    If you can analyze those two template games i would imagine you could pieces together a game close to what you showed.

    good luck!

  • I can't imagine how that would be possible. when you add a new image to C2, that's it.. C2 auto collision detects and you have to edit from there. Perhaps you could look into looking at the images perhaps and see if there is anything you can do to them to make the images more defined?

    I don't know what the images look like that you're using and I know that C2 can definitely mangle images sometimes, sometimes ones that even seem pretty clearly defined.

    Sorry I don't have a solution for you that would help your situation. Someone else might know something I don't (not unlikely) but my gut tells me the answer is no.

  • Hi there,

    I'm exploring Clay.IO which seems very powerful and full featured.. I'm new to it and know very little about it. I've got a game uploaded pending publishing but it's not using any Clay features just yet.. that's next.

    I was able to get a share popup to occur which is cool, it works and that's always exciting to see. However what I'm noticing is that I don't see any way to capture an action if the player clicks the X button to make the popup go away.

    If I click the X... it just goes away and i'm stuck in the "post" layout view i created (just easier than doing a bunch of UI disabling).. The popup is not dynamic so the idea of hiding some kind of invisible clickthough button behind the X to do a "go to layout" command would not work.

    I'm just not sure where I would "listen" for the X being clicked so I could take the appropriate next action.

    Thanks!

    Caleb

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i think you need to have windows 8.1 to use 2013.. you might want to consider upgrading as well.. there is little reason (that I know of) to stay on windows 8. It's a free upgrade.

    Also you might want to back up and just publish as is before making any changes just to see if you do in fact get a the build file and that would help isolate where the problem is.

  • gonzdevour I'm not using CocoonJS, I have been using Ejecta as my wrapper of choice. it works very well (other than this plugin) overall.

    I was using the courier new font. I believe I tested another font and it didn't matter. Just seems like this plugin gets ignored by the Ejecta wrapper.

  • you might want to explore a instance variable.. imagine "Is_Solid" and you put in the conditions that require an object to have that be 1 not 0.. or if you want to use a bool.. though i've found just using numbers works fine.

    there is an "initial state" which seem like a good thing that you might be able to toggle.. or maybe you could have a duplicate object one that has solid and one that doesn't.. and when you switch, you destroy one and spawn the other..

    That's what comes to mind for me. There are other ways probably that I don't know about. I'm not an expert C2 user.

  • do all of these devices have different resolutions or aspect ratios? you might want to look at your project properties.

    the default is "letterbox scale" which is usually good, but when dealing with different resolutions it can create some black spaces appear.

    what you're showing makes me think its not set to letterbox.. maybe something else. I like (for landscape) scale inner.. although this does cause some information on the left and right to get cut off, it always fills the vertical space so you have no black space. just takes your game to be a centered design that accounts for missing space.

    This is a bit extreme and shows a lot of different aspect ratios, but it does demonstrate how the black boxes can appear when you use different screen sizes and different aspect ratios http://www.rtings.com/images/black-bars ... mawide.png

  • basically what would be easiest would be to set a series of single frame animations.. each named a particular color.. "red" "blue" "green" for example and then when you click your store color options.. it would tell the particular player shirt color or whatever to reflect the choice they made. This would instantly cause the shirt to change from whatever color it is.

    There probably is a way (i just haven't bothered to look deeper) to set specific colors.. starting with white objects, then allowing C2 to dynamically change the color. This would be be a little more efficient, but I haven't done it before so I can't tell you how this is done or even if it's actually possible with C2..

    The how to make a shop question is too vague.. and could be very simple or complex.. are you implying that you want this stuff to be saved and recalled later? You probably should start with doing the webstorage tutorial https://www.scirra.com/tutorials/266/we ... nformation

    If you can understand the color system I explained above and understand how to do webstorage, you should be able to connect the dots to build the store how you want it.

  • It should be there.. do you have an actual phone to test with or are you using the emulator?

    do you do anything to the settings at all when you open the .sln file? i don't.. i'm wondering with all your package.appxmanifest stuff you might have changed something?

    I change absolutely nothing.. i open.. and build..

  • yea i took a stab at it, but my math skills suck.. but i made this really rough and dirty almost right capx you can try out.. it isn't properly setup, the coordinates are out of whack but notice that it does track with the mouse movement without flying off the screen https://www.dropbox.com/s/noiijo4afpbbf ... mouse.capx

    i think there just needs to be some better math to establish where X and Y of the mouse and the X and Y of the sprite are to insure they move in unison.

  • I'm not familiar with that game. Can you link the game you're talking too? To do a basic zombie game from top down.. just follow the https://www.scirra.com/tutorials/37/beg ... onstruct-2 tutorial.

    If the zombies do something different in that game please offer some links to the game you're referring too.

part12studios's avatar

part12studios

Early Adopter

Member since 24 Dec, 2012

Twitter
part12studios has 1 followers

Connect with part12studios

Trophy Case

  • 11-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

19/44
How to earn trophies