BNF's Recent Forum Activity

  • Sorry but with free version, you can't export to *.exe.

    So you need upload it to any server and play it from index file there, or upgrade your license to personal, and export with NW.js so you get normal offline versions of your game for MAC, Linux and Windows.

  • Really nice one, good job.

    I know it's good for mobile, but moving with clicked LMB is tiring. I would like move without need to click first

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For Keyboard movement - yes, just make a solid transparent sprite.

    For Mouse movement - even with solid sprites, it will not work. But there is a way to make it.

    Just edit your ship/player sprite. Click "resize", and now add to the width and height, pixel values of your "walls/UI", Then change "Image" to "align center" so your ship will not be stretched, check "apply to whole animation" and your almost done. Now you have bigger image, but your ship is same size as before, so just "set collision polygon" just for the ship and thats it. That empty space in your sprite will now be working like extra walls, so your ship cant leave that your speciffic area.

    If every wall you have has diffrent width/height then just add value of each wall as blank/transparent pixels to your player sprite in photoshop or other program like this.

    If you want see how it works, then look at my brickout/arkanoid clone:

    https://www.scirra.com/arcade/action-ga ... brick-7787

    As you can see there, you move with mouse easly but you cant break thru the laser walls. (these are just simple sprites, not solid)

    And here you can see how looks my ship/player sprite. As you can see I have some empty space on both sides of this sprite. This empty space is just as big as my walls, so with behavior "bound to layout" these empty space works like invisible solid walls <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    PS. Sorry for my english <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz"> I hope you get the point <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • As error says, you can't play your game from index file in your operation system for security reasons. Just upload your game to any server, and run it from index file on server, then game should work fine

    If You want test your game from file in your system, then export your game as NW.js for desktop.

    Cheers.

  • Hi, I'm an amateur game developer. I use Construct 2 for a couple of months now, but just today i've made my account here.

    I'm now glad to be part of this community

BNF's avatar

BNF

Member since 17 May, 2016

Twitter
BNF has 1 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies