sizcoz's Recent Forum Activity

  • +1 would be another asset.

  • TRAILER 1:

    Subscribe to Construct videos now

    TRAILER 2:

    Subscribe to Construct videos now

    FREE: https://play.google.com/store/apps/deta ... om.sn_demo

    COMPLETE: https://play.google.com/store/apps/deta ... .snakebyte

    FACEBOOK: https://www.facebook.com/malkbyte

    Nice, I've always liked snake.

  • I want to set and change a text object based on several different choices. Something like this:

    But, I want to have a lot more choices, say 100 for each blank. What would be a good way to go about doing this? I thought about using arrays but I don't know where to start.

    Thank you.

    Here is a Version using an Array, it should be easy to understand 3 Events 1 project file.

    The only advantage in using an array is that you can change the data on your server easily, as it is only a data file.

    http://www.sizzle-games.com/choose_array.capx

    I used this method for the levels in my game https://play.google.com/store/apps/details?id=com.sizzgames.BushyBall&hl=en_GB, to set the positions, width and size of the platforms e.t.c

    To edit the project file just double click it, it should open with notepad, then you can change the file data, just make sure if you change the size, to specify it in the file.

  • [quote:1dg5dc8p]

    Hey,

    I took a look at it and I think the problem is that the buttons don't have any z-order actions...

    If you could replace the button objects with sprites then you could rearrange the z-order, but I don't know if your CSS code will work with sprites.(I never used CSS in C2)

    Thanks for your reply,

    I can use Sprites, but that's a load of animations to do that, to achieve the same effect, that's achieved with one picture file only.

    In css the browser does all the work, so its fast, normally even on mobile.

    Form controls sit on top of the canvas, so the only way to z order is through css, but I cant work out how to implement this into construct2's expressions, in css there is a z-order command, but I cant get it working, maybe I need to attach a .css project file with javascipt?.

    Hope someone can give some guidance?

    Cheers

  • >

    > hmm, have a look at the capx, i wil send it to you, pm

    >

    I didn't receive any pms...

    Resent.

  • >

    > > I'd appreciate a capx, yes.

    > >

    > > I don't know how you perform the flipping atm, but I'd just simply lerp (or qerp, whatever you prefer) the width to zero, spawn a new Sprite with the appropriate card face and width 0, destroy the cardback and then lerp back to the initial width.

    > >

    > > You could simply put that card on top of the z-order at any point of the lerps.

    > >

    >

    > capx sent

    >

    > Hope, it makes sense?, Z-order construct does not apply here .....!

    >

    Try when you click on the card to set it's z order to top of layer/in front of the other cards:

    (Ex code) On left clicked on object "card" -> card - z order - move to top

    hmm, have a look at the capx, i wil send it to you, pm

  • I'd appreciate a capx, yes.

    I don't know how you perform the flipping atm, but I'd just simply lerp (or qerp, whatever you prefer) the width to zero, spawn a new Sprite with the appropriate card face and width 0, destroy the cardback and then lerp back to the initial width.

    You could simply put that card on top of the z-order at any point of the lerps.

    capx sent

    Hope, it makes sense?, Z-order construct does not apply here .....!

  • Ok

    Been thinking about a card game, I have sorted out how to flip the cards with css, but when I flip them the z-order needs to be reversed?, i will provide a capx, If anyone can seriously help?

    look at where I am at, you can pick any card, and they turn over, but then they keep thier z order (which is not what I want), so have a look and see if you can come up with a solution?

    Example here :http://www.sizzle-games.com/card2/

    So to recap, I want the picked card to be on top

    Probably only works in chrome at present

    Many thanks

  • Looking sweet

    did you do the boat floating on water with actual collision or is that boat position scripted?

    This is the basics of the code I wrote a long time ago, could do with optimising a little.

    http://www.sizzle-games.com/run.capx

    Dont forget to leave a review on google play !!, be kind ---- cheers-----

  • "Who are you!?"

    "I'm Boatman!"

    cool, thanks for looking

  • I also use admob with xdk without any problems.

    When adding the 3rd party plugin in xdk, the package name has changed to 'cordova-plugin-ad-admob'

    this seems to work for me, I don't think this is clear in the c2 manual, and needs to be updated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just submitted this to google play.

    https://play.google.com/store/apps/details?id=com.sizzgames.boatman

    Let us know what you think?

sizcoz's avatar

sizcoz

Early Adopter

Member since 19 Apr, 2014

Twitter
sizcoz has 8 followers

Connect with sizcoz

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x12
    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
  • Email Verified

Progress

16/44
How to earn trophies