jbmoyer's Recent Forum Activity

  • Really hate to ask this as im sure its somewhere. Here goes

    Developing an app/game for a mobile device, ipad, android etc... Is there a way to make the game resize when the device is rotated so it fits the screen?

    In portrait the d pad a/b button are on the left and right respectivly. Rotate the device to landscape and the controls shift/slide left/right to fill screen.

    Thanks

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/8949954/neverfinish.capx

    Steps to reproduce:

    1. Create New from Template: Platformer

    2. Add Mouse, Sprite Bullet

    3. Add Bullet Behavior to bullet sprite

    4. Add on left click of mouse and spawn bullet from player

    Observed result:

    I added Mouse and a Sprite Bullet. Onclick of left mouse fire bullet from player. That works, BUT it fires offset like 100 pixels below the player. Not sure why, the logic is dead simple.

    Expected result:

    Bullet should fire from 0 0 of player

    Browsers affected:

    Chrome: yes

    Firefox: not tested

    Internet Explorer: not tested

    Operating system & service pack:

    Windows Vista

    Construct 2 version:

    Beta 149, but saw in last stable as well.

  • I am struggling bad to wrap my head around using arrays in C2. I am a database programmer and anything I build I put the data in a db and can eaily loop it to get data or hit a record direct. Can someone help me relate that in Array terms?

    What I am looking to do I think is dead simple, but my brain is fighting. Store the below values so I can access them later:

    Name   Type    Buff

    Sword Weapon   1

    Helm   Armor    0

    Three values for an Item, two items total. How does this look in an array?

    I was thinking Array Width-3, Height-2, but for the life of me no mater how I build/store and retrieve it, it dosent come out right.

    Tahnks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • They are about 5px away from each other, but in the end what I was looking for is more of a confirm type click, so what I ended up doign is adding a InstVar and onTouch add 1, when it equals 2, then GO!. Thank you for the help.

  • Thanks GeometriX I do have them a fair distance apart, I guess what I am thinking is what if they accidentally clicked one but meant another? Guess I need to add a confirmation type effect. Ok thank you.

  • Hello, I am working on a Touch application and a few of the touchable items are rather close to each other and I am trying to come up with a way to make it so that a user dosent inadvertently touch one thing and mean to touch another. Also thinking of adding a "are you sure/confirm" type effect but that could get real annoying.

    What are some ways that you have come up with to work around this issue? I can see it being a big problem, especially in my app where onTouch things happen and there is no going back, I can see where this can be a real pain point for users.

    thanks.

  • Hello, I have been working on a System for my Enemies where they will follow/approach the Player in addition to Evading/Moving away and even at times Pause/Hold their position at a distance from the player as if they were afraid and went to hide in a corner.

    It is going ok, but I tend to over complicate things, does anyone have any ideas or references that might help? The type of follow/Evade/Pause I am looking to build is very similar to how the Enemies in River City Ransom behave. Any tips would be greatly appreciated. Thank you

  • Yes, File access, is there anything on that subject? thanks JohnnySheffield will take a look at those links

  • Does anyone have a link to any tutorial on NodeWebkit inside of C2? Would love to leverage it but not sure where to start. Thanks

  • thank you So that might be the ticket, BUT what is THIS?

    Viewportleft(THIS)+(Viewportright(THIS)-Viewportleft(THIS))/2

    in the editor it says layer, does it mean a Layer I built like HUD? if so that is not working like I expect.

  • Let say I have a 1000 x 1000 Layout Size, but my Window Size is only say 250 x 250. Is there a way to get the current CENTER of the Window View?

    No matter what I try it measures the X/Y event from the top left 0,0 of the layout, I want it to get from the current Window view, so if I have moved my Hero down 50 pixels my window Center would be somewhere in the 175.

    Thanks

  • But how do you turn them on off? here is where I am confused. There is ONE PlayerBox, it has a InstVar Status (on/off).

    When I design the level I can place four of them (instances) and on 3 set them to off and one to on. But how do I say turn on #2, off is easy, but how do you designate which to turn on?

jbmoyer's avatar

jbmoyer

Member since 7 Mar, 2013

Twitter
jbmoyer has 1 followers

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies