gingpete's Forum Posts

  • Problem Description

    When i have added items to the layout, and have teh grid on it may appear all aligned correct.

    I then press cntl, and drag to make a copy object and change its size, it still appears fine.

    however when i now move this object it jumps to between the grid lines.

    Hard to give an exact example as i have copies of copies but playing around with making an object from size 100, 600, then clone it and make it 25,600 on a 25 grid and it does off grid.

    origins are all correctly aligned.

    A good test actually, make a 25 , 25 grid.

    then make a sprite, resize it to 25,25, check origin is 12.5 and fill it black. on the layout it now sites between your grid of 25 lines.

  • I have tried adding fastclick.js to the html file after export before building. no difference.

  • HI

    Thanks, however i am not sure i follow or we misunderstand each other.

    I need the object to move with the finger, the user needs to see this occuring as real time and upto date as the game can.

    I have made a very simple demo ofjust a sprite and moving it with the finger, but always when the finger moves faster it begins to drag behind slighty. I wonder if this is actually C2, cordova, intel xdk or simply a common hardware / ios issue effecting native and hybrid apps?

  • Hi

    I need a sprite object to move as close to the real touch drag as possible.

    At the moment there seems to be s slight catch up from me dragging my finger over the screen and the object following.

    When testing in a browser it appears alot faster by the mouse drag, so does this mean its a touch setting i can adjust, or a sad truth that using this tech I will not be able to get the game upto scratch to give the experience i need?

    I am building using intelXDk, use cordova plugins, not game project.

    Also to add, I am moving the sprite to the players finger using..

    Touch-> Is touching (player obj) -> Player obj - Set X to Touch.X

    Set Y to Touch.Y

    Are there any other ideas or tips for getting the response to touch a little faster?

    thanks for any help

    Pete

  • Ok great thanks tried that and it seemed to work, however we are instead now altering the stepping stones to a bridge instead ( easier!)

    Thank you for your help.

  • HI Guys

    Based on the persons decisons in a game we need to generate a PDF document.

    I have done something like this before using http://wkhtmltopdf.org/ as a HTML page which makes a PDF copy.

    So how can i go about having my game generate a HTML page and or plugin this tool.

    Or of course any other tools or thoughts would be really appreciated!

  • but what if someone presses a key against your wishes? left while your simulate right?

    thanks

  • HI Guys

    I have a scenario where the computer takes over and the player jumps over the stones to the next phase.

    ( The game is played by young children, and the purpose is not skill but adventure).

    So what i need is the game to simulate the act of jumping over the stepping stones for him before giving back control?

    Goto and move to just moves the object directly to the coordinate, without in between or animation, i do also have a jump animation i can use.

    so my issue is i dont want the player to miss the stone! or fall of screen, which is why i want the game to handle it.

    any thoughts are very welcomed

  • Thanks for the reply.

    But doesnt scrollTO require a pixels value? the center will depend on the screen device size?

    I have made an image to help demonstrate the wish :)

    <img src="http://clientwebdevelopment.co.uk/c2setup.png" border="0" />

    So in effect you design the core important stuff in the game window size, and the rest of the layout artwork is simply pretty if seen.

  • I understand the scale outer and inner pros and cons, and feel scale outer would be better as it provides more view if available on device, not less like inner. However the "more" on the iPad air for example is just a few hundred pixels of at the bottom of the screen if designed at 16:9. and its sort of obviously the game is designed in the top upper 1/3rd of the game then?

    Ideally you want to select scale outer , keep your core game content to the vertical center in designing with the extra view at top and bottom. keeping the game at least appearing to make sense in its positioning on the 4:3 tablet devices.

    Is centering possible to force on scale outer?

    This is a big draw back to C2 as i see it, when developing native you can create views for different devices to adapt, here your stuck.

    Thank you for thoughts.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HI

    Rather than have a user input a username, is there a defualt username / email or user ID we can pull from the android device itself?

    For example user downloads the game from the play store.

    On run you store the UNIQUE USER ID, this is then used to track their progress?

    Thanks

  • We found this useful.

    infinitepossibilitygames.com/how-to-implement-your-own-leader-board-in-c2-without-a-plugin

    PHP scripts are pretty basic but you can see how to setup C2 with it

  • Im viewing the game from a top own perspective.

    i.telegraph.co.uk/multimedia/archive/02010/kick_off_06_2010102i.jpg

    for example..

  • HI

    Could anyone lead me on the best way or a tutorial on creating this function? I have played around with the event sheet and instance variables zHeight, zVelocity and a global var gravity. But I am not sure using each tick on the event sheet is the best way to do this? Should i make a plugin or custom behavior? where to go next!?

    Thanks for any guidance guys.

  • Thank you for your reply.

    But surely there is an easier way? Gravity is in the game already, can I not allocate the properties to a new Z variable instead of the expected y variable? Or somehow create the new variable and initialize with the box2d engine?