kenn's Recent Forum Activity

  • We currently have 11 casual games that we need converted into Construct2 HTML5 games. We have experience in Construct2 just need additional help due to bandwidth constraints. Looking for an expert in Construct2 to build out clean working code that we can expand upon in the future easily.

    To help define 'casual games' the games we have are things like:

    • Match the cards
    • Horizontal scroller
    • Vertical scroller
    • Object/Jewel swap
    • Spot the difference
    • Breakout
    • Etc.

    All visual assets for the games will be provided and a working copies of the live Flash games will be provided.

    To be considered please provide the following exactly in a private message to me:

    1. Cost quote PER GAME knowing 11 games will be awarded to winner

    2. Time estimate to complete all 11 games

    3. Examples of Construct2 games you have developed

    4. Special considerations/skills to know about you

  • Looking for the same thing and suggested the new feature here: scirra.com/forum/topic84907_post496513.html

    As a work around I created a global variable that is either 1 or 0 and then for all touch events (a pain I know and thus the feature request) I have an additional condition that the global variable has to be 0 where as my unique events I dont want touch to work I set the variable to 1 and when I do want touch to work I set it back to 0.

  • I have encountered this quite a few different times, mostly when spawned buttons overlap other buttons on different layers. Since there is no disable touch feature both buttons get clicked at the same time. I have simple work around using a global variable that is either 1 or 0 and then for all touch events (this feature would reduce the massive amount of repetitive code) I have an additional condition that the global variable has to be 0 where as my unique events I don't want touch to work I set the variable to 1 and when I do want touch to work I set it back to 0.

    This would be highly valuable to have a simple function that disables touch and most likely you would attach it to a family of objects you want to disable during some key event.

  • Yes just found that and was getting ready to reply - sorry about that looked for a long time and then right after I posted this I found:

    "Is on mobile device

    Tries to detect whether the current device viewing the project is a mobile (e.g. phone or tablet). It is difficult to accurately detect this so detection may not be perfect: there may be some mobile systems for which Is on mobile is not true, and (although less likely) desktop systems for which Is on mobile returns true. The condition always returns true when packaged via the PhoneGap/Intel XDK/CocoonJS containers, and always returns true for iOS, Android, Blackberry 10, Windows Phone and Tizen based devices. Beyond that Construct 2 will test a few other common mobile manufacturers. Otherwise, it will return true if the current system is not a desktop system, since there are relatively few desktop OSs; the desktop systems it checks for are Windows, Linux, OS 9, OS X, Solaris and BSD."

  • Due to the issue of not being able to play sounds on mobile unless the user initiates a click I want to add a sprite on each page I need sound that says "Start Level" however I only want to show this on mobile devices and thus looking for a way to determine if the user is on a mobile device. If they are I can just set a global variable and do the rest from there.

    Help is much obliged.

  • Yes to clarify there is nothing I cannot currently accomplish with the current audio setup. However there is lots of redundancy and extra code that could easily be eliminated with audio families.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This may already be built in but I wanted to know if there was a way to add multiple audio tags to one audio file. That way you can trigger events for for different scenarios that audio file may fall into. Or maybe my taxonomy of off in the audio tag line I was thinking it would be:

    "tag1"&"tag2"&"tag3"

    If this doesn't exist I wanted to request that it be added in the future. This could be solved two ways - multiple tags OR allow for audio families.

  • I have been approaching this the same way you started but I am using families and simplified it a bit. Each time I add a new button that needs a hover state OR a mouse over state I simply add it to that family and its logic is taken care of vs doing it for each button.

    <img src="http://neversettle.it/forums/contsruct-mouse-over.jpg" border="0" />

  • Thanks everyone for the input. Glad that the timer uses dt, ultimately I went with the timer plugin and found that I could add quite a few variations and variables leveraging what was already built into it. Thanks again.

  • Both are excellent answers, thank you I greatly appreciate it.

    One questions for clarification does the new timer behavior also work on dt so in the event the game was lagging it would behave correctly?

  • Have tried to figure this out using the timers here:

    scirra.com/tutorials/450/timers

    but have not had any success. In short I am wanting to spawn an object on a layout every say 30 seconds. However at the start of a layout I want to start over and thus the construct statement "every x seconds" wont work as that is a revolving clock.

    So I created a global variable "timer=0"

    Add 1 to timer every 1 seconds

    Set timer to 0 at the start of layout

    Now my only question is how to get it to spawn the object every thirty seconds using my timer variable above?

    I tried when timer/30 is equal to integers 1-50 but int doesnt work that way, I was basically trying to get it to only spawn when it was a multiple of 30. Any ideas much appreciated.

  • Did you ever make any progress on this? Looking to do something similar.

kenn's avatar

kenn

Member since 19 Nov, 2013

None one is following kenn yet!

Connect with kenn

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies