Mr1H's Forum Posts

  • 8 posts
  • I do not know much abount construct, but Yes I started this converting process, was just wondering maybe there already is some kind of plugin or something what could make it easier. As far as I can somehow download text file with string (Xml code) I guess it will be fine .

  • Hello all, recently returned to Construct and I need to make prototype of one simple database like system, I know construct may not be the best place where to make it, but it was actually asked to be done here

    So The problem is I have several 2d arrays I need to export as XML, I know they can be exported as json files, but I need XML, is there any simple way to do it ?

    I did search a little and only found some posts about loading xml, not downloading it.

    All I need is to be able with clicking button to download xml version of array (much like when downloading json) to local storage.

    Xmls dont need to be complicated, just basic stuff, so they can be actually imported in another system (not my problem what happens at their end as far as I can get something what can be exported)

    Thanks !!

  • Nop, no backup activated :/ Sad, been a while since used construct forgot that this may happen.

    Always when my computer goes to sleep (due to low battery) even if it logs on right after construct always crashes...

  • Construct stopped working but has preview open, is there way to recover source file, I spent hours of work and did not save, pliz help me ~~kawaiii desuu~ please notice me senpai~~ help me lara , help me !

    My life ruined now, I cry,Is poor need potatoo tooo ~.~

  • Exported project as html webpage, but all items are grey after I import it, seems there is something wrong and game do not have access to all image files. Did I do something wrong ? And if so, is there way to change the html code or scripts to assign right place for image files. Clearly all scrips go right.

    There is quick example :it runs stright away.

  • I need player to move by specific amount of pixels , each step.

    I may set x +value, but that way, I ignore solids, how do I do it without ignoring solids.

    This may be dumb question, but I got stuck on it

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yea something similar, my first attempt was just having all map of these black squares, but it have me like 12-20 fps only.

    I have theory in my head how it may have done better, but currently I have no time to test it, but if fps are determined only by actual blocks/sprites what are rendered each time, then way may be to determine the angle of player and if he looks for example to the right all left side is replaced by one big squere and all black squares if combine together make bigger square and so on, but still it means having sprites fallowing player in several layers and total amount of sprites will be a lot bigger, I will test that and if it goes good I will post or upload something.

  • Hello Scirra community, I am quite new Construct 2 and I was wondering how I can easily make realistic flashlight effect ?

    I have been looking through forums and best I could find was having large image to follow you or to have image what subtracts opacity from dark image.

    So I came along with my own temporary solution :

    <img src="http://s21.postimg.org/rqv51ax4n/Untitled.png" border="0" />

    Basically all map is covered with black cubes and if player have line of sight to then, they have full opacity on them, so as all squares in radius of 75 pixels from player are visible too.

    Of course this may have been better with small cubes, but it seems they glitch out a little when copying (size are same, but they dont fit).

    So faster to the point - is there easier way to do this ?

    To have flashlight effect what do not work through solids ?

    How to make it ?

    Alternative - is there way to set several lines of sight ?

    For example at 75 degrees it is 0 opacity, from 75 to 90 it is 50% and from 90 to 120 it is 75% opacity and so on.. or this can be done in different way to achieve same goal ?

    Thanks ,

    Mr1H

    Update:

    The same method but with smaller cubes, problem this is really demanding for the machine and gives huge fps drop :(

    s24.postimg.org/5cxrkutat/Untitled.png

    It looks quite nice, I think it may be even more effective having enemies as obstacles for FOV too.

    I am sorry about default sprites, but I rather test game that way.

  • 8 posts