gingpete's Recent Forum Activity

  • Hey guys

    How can I detect if the center point of my playeobj is overlappng with a wall/object.

    The reason is I allow a little overlap of the player object to walls to cause damage but if the center of the player overlaps the wall i trigger death.

    thanks

  • I think i have solved it, it was user error.

    My window is 640, but i thought it was 800.

    So with window been 640, i set my text as follows..

    Add anchor object

    Make Horizontal align center.

    Make hotspot center.

    position is 320.

    Hope this helps someone else.

  • Hi all

    I have a hud layer which of course I do not want to move while the camera then scrolls around my layout.

    However I want messages as text to appear in the centre of the screen on all size devices.

    I have tried to make sense of the mish mash of tutorials and comments on how to do this, but it never seems to work correctly. At the moment I have a HUD layer, and my text object has an anchor behaviours on it.

    I tried then setting this to a position but learn anchors ignore this so when i set X as WindowWidth/2 - Self.TextWidth/2 it does absolutely nothing.

    So how can I guarantee that when this text object contains the string "Welcome" it is centre of the screen, and also when it contains the string "Loriem Ipsum dipsum do" of a different length this is also centered?

    At the moment I have an anchor behaviour added, and hotspots and horizontal align all set to center.

    But its never center when i load it on different screens/browser widths.

    thanks for any guidance.

  • Hi Guys

    I have a condition

    If PlayerObject -> collision with BulletObject Do....

    However assuming i have 40 BulletObjects on my layout at one time, but lets say only 5 on screen at one time should I improve this adding ..

    If BulletObject onscreen.

    (sub condition) If PlayerObject -> collision with BulletObject Do....

    Basicly does this process add additional checks to see if objects are on screen now, or does it improve the speed as it now only checks for player collisions when they are on screen?

    thanks

  • Thats what i thought and why i wanted to play thetrack as music.

    Should i flag this as a seperate bug then?

    To recap

    Same track only works on ios 9.2 as sounds not as music.

  • Its odd, the same audio track works when its a sound, but not when its music in IOS.

    Music is streaming as i understand it, so it does not have to load all the music in first?

    Does it really matter if i play a background music track as a sound instead of music?

    Thanks for feedback guys

  • HI Guys

    I am experiencing sound triggers working ok, but my game music is still silent?

    All is imported ok.

    Does this fix apply to both types of audio the same?

    Really struggling to understand why my music track wont play on IOS?

    Any file size limits?

    Thanks

  • Well perhaps I am doing something wrong or missing something as I stil get no sound at all.

    Browser plays sound, andriod plays sound IOS no.

    I am building using intel XDK , is there anything else i need to add plugin wise to get IOS sound?

    Thanks

  • HI Ashley, is this something we can implement now our something we need to wait for you to do with a beta version.

    thanks

  • Try Construct 3

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

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

    We are working on a game for the mobile market, IOS and Android.

    At the moment we have simply imported a WAV file of a music track we have made, C2 makes it own mp4 and ogg files and we play this via the start layout and play audio tool.

    However on android it works fine, but on IOS devices we either get no sound at all, or sometimes a broken distorted tinny sound for a few seconds before the sounds disappears.

    Is this related to the same issues in this thread? we are runing IOS 9.2

  • is this the simple system every X seconds action?

  • Hi

    Lets say want to fire an event every 0.48 seconds in game play regardless of teh games FPS on devices.

    Do i need to use delta time for this, and how would I set this up?

    Thanks for any help on this, i can find a time tutorial . but it does not mention delta time which i assume i need to make this 100% accurate?

gingpete's avatar

gingpete

Member since 18 Nov, 2013

None one is following gingpete yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies