tecbug's Forum Posts

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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?

  • Thank you!

  • Yes it is. I thought that i could do it faster, but it seems that i have to switch primary monitor to secondary monitor for game testing.

  • Hi,

    I'm making PC standalone game in Node Webkit. I'm working on a laptop and (bigger) secondary monitor.

    When I test my game it's launched always on laptops monitor. There's no way I could move it on the secondary monitor. How can I change this?

    Windows 8.1

    Game in fullscreen letterbox scale