Asmodean's Forum Posts

  • My guess you don't destroy some objects. So they increase over time.

    Start your game in debug-preview and look at the object count.

  • dop2000 wasn't there two apks generated with crosswalk? I think if you build an APK with Corsswalk there were always two builds. One for X86 on for ARM.

  • Before Android 4.4 it doesn't used the chrome engine and it didn't worked very well and it was a part of Android until Android 5. So all WebView versions before 5 are completely outdated.

    I don't know if PhoneGap still supports crosswalk. I used Intel_XDK that time but that doesn't exist anymore. Maybe with Cordova CLI you can compile to crosswalk.

  • I wonder why cordova based apk worked at all at Android 4.2. That time crosswalk was necessary. Before 4.4 it wasn't really working.

  • I like it, it looks a little bit like Parodius and your game is now featured on Indie Retro News.

    http://www.indieretronews.com/2019/09/narwhar-project-hornwhale-speccy-game.html

  • Construct 3 has unixtime, but I think you have to use the ExecJS in the Browser Plugin in Construct 2 and use Date():

    Browser.ExecJS("new Date().toLocaleTimeString();")

    That will you give something like: 12:40:50 (hour:min:sec)

  • I think your left and right are the wrong way around though.

    Not intentionally. :)

  • If you only want to know if it's Left, Right, Top, Bottom. You could use 'is overlapping at offset':

    + Goodie: Is overlapping Baddie at offset (1, 0)

    -> DebugOut: Set text to "right"

    + System: Else

    + Goodie: Is overlapping Baddie at offset (-1, 0)

    -> DebugOut: Set text to "Left"

    + System: Else

    + Goodie: Is overlapping Baddie at offset (0, 1)

    -> DebugOut: Set text to "Bottom"

    + System: Else

    + Goodie: Is overlapping Baddie at offset (0, -1)

    -> DebugOut: Set text to "Top"

    + System: Else

    -> DebugOut: Set text to "No collision"

  • It points to 0,0 (top, left corner) of the layout. That happens if you use touch.x touch.y without a condition. So, if there is no touch event the x and y values will be 0. I think this happens because auf event 6. You disabled the condition but not the action. So every tick the turret rotate to touch.xy and this ist 0,0 if you don't touch the display or click the mouse.

  • If you don't change it in the preferences and use editor.construct.net (without any /rxxx) it should be the stable r157.

  • I have the beta release enabled. try editor.construct.net/r163

  • I would simply use pin and pin the turret without angle on the tank body.

    I made an example:

    https://drive.google.com/open?id=108ZUT6WVjsKxZFtkQC-V_dn70c65WG-L

  • in my last example, the search is case insensitive. You can write upper- or lowercase and it will find the word. If you don't want that delete the lowercase expression.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It doesn't work because you have white spaces in your text file. You have to use trim to eliminate them and if your search isn't case sensitive I would also use lowercase.

    That should now work:

    + System: On start of layout

    -> Array: Set size to (0, 1, 1)

    -> AJAX: Request mproduct.txt (tag "produkt")

    + AJAX: On "produkt" completed

    ----+ System: For "" from 0 to tokencount(AJAX.LastData,";")-2

    -----> Array: Push back lowercase(trim(tokenat(AJAX.LastData,LoopIndex,";"))) on X axis

    + TextBox: On text changed

    -> Text: Set text to TextBox.Text

    + Button: On clicked

    ----+ Array: Contains value lowercase(trim(Text.Text))

    -----> Text: Set text to "found"

    Image Upload doesn't work.

  • contains value only takes a string.

    That should work: