tecbug's Forum Posts

  • Problem Description

    After triyng to open any project or start new one I'm getting error message:

    It says that failed to initialize DLL (error 1114)

    Description of Capx

    Works on any CAPX and even new projects.

    Steps to Reproduce Bug

    • Menu > new
    • select any option

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    Release 211 (64 bit)

  • The game has evolved into Mooch.

    It has now hand crafted graphics, darker mood and main character <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Controls changed to WASD + mouse or gamepad.

    Check out Mooch on the Steam Greenlight for more details, story, artworks, map examples and feature list:

    http://steamcommunity.com/sharedfiles/f ... =472275197

    We've reached top 50 in 2 days <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • I'd like do exit to in-game menu when my NW game looses focus.

    I used browser "On suspended" and "On resumed" conditions and it worked in the preview but after exporting the game this isn't triggered.

    Is there possibility to check if the game looses focus (that works on exported NW game)?

  • Does anybody have this kind of launcher for their C2 NW games?

  • I'm planning to publish my game on Steam (exported via NW).

    I have 2 problems:

    1. choosing between 32 and 64 bit version,

    2. changing the resolution.

    Have you published C2 games on Steam? How did you managed to solve those problems?

  • I'd like to ask if anyone has idea how to solve this?

  • Im familiar with manual. Unfortunately it's not doable with 8Direction. Have you tried or are you only guessing?

    Please note that player is moving at various directions (360 degrees), not only 8.

  • How to strafe (A and D) with 8Direction?

  • I made my own WASD + mouse movement:

    • player looks in the direction of mouse pointer,
    • W moves towards mouse pointer
    • S moves backwards mouse pointer
    • A and D moves sideways (strife)

    Have a try (please open in new tab): https://dl.dropboxusercontent.com/u/17601731/forum/c2/wasd_movement/index.html

    But there's 2 problems with this movement:

    1. In situation like this:

    When pressed W - player (red arrow) goes towards mouse pointer (blue X). Green path shows direction.

    When player collides with the wall (black rectangle) it stops. I'd like him to slide along the wall.

    2.In situation like this:

    When I rotate my player:

    He gets stuck, because bounding boxes overlaps.

    CAPX: https://dl.dropboxusercontent.com/u/17601731/forum/c2/wasd_movement.capx

    How to modify this movement to fix those problems. Or maybe you know any plugin that would give me same functionality without those problems?

  • LittleStain - thanks that's best solution.

  • I have 2 instances of one object - sprite "bouncingBall". I'd like to make a sparkle when they collide in the point that they collide. So i made:

    bouncingBall - on collision with bouncingBall: 
      1. System - create object sparkle on layer 1 at abs(bouncingBall.x-bouncingBall.X),abs(bouncingBall.y-bouncingBall.y)[/code:1v97klbm]
    But it doean't work as C2 takes the same instance to position sparkle - that is of course logical, but how to make it to create object between those 2 instances of bouncingBall?
  • When C2 imports audio it imports in 2 different audio formats to support different browsers (m4a and ogg). But as NW.js is based on Chrome engine, can I delete m4a and leave only ogg?

  • Thanks for your answers.

    Unfortunately in my game the perfomance loose is very big.

    I'm using 1366x768 px and when game is played on 1920x1080 px monitor in fullscreen (on a laptop i5-2410M@2.3GHz, 4GB RAM, Intel HD Graphics 3000), framerate drops to 25FPS (from 60FPS).

    Indeed additional launcher is a eventual possibility, but I'd like to make it look more professional and enable player change screen resolution (not scale game canvas) ingame.

    Like I said I'm focusing on NW.js exporter.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there technical possibility to change screen resolution in C2? Maybe via plugin?

  • Fullscreen option doesn't actually change the resolution of the screen but renders game in desired resolution and then scales it to fill entire screen.

    I'm planning to make game for PC's with NW.js and I'd like to support multiple resolutions.

    Is it possible to change screen resolution in C2?