prawnsushi's Forum Posts

  • Filter on all tiles ? Isn't it better to just fill the viewable area with a tiledbackground (you can paint a 1-2px width gradient as texture)? Then you just have to change it's opacity with a function, like :

    + Function: On function "FadeOut"
       + System: Repeat 100 times
         + System: Is global variable 'Opac' Less than 100
             -> Wait: Delay 10 ms
             -> System: Add 1 to global variable 'Opac'
             -> TiledBackground: Set opacity to global('Opac')[/code:2kt3afzb]
    
    Well, something like that anyway, i guess.
  • I don't know why people get so low FPS, i get 60-63 FPS on firefox 4, win 7 32bits.

    [quote:1ppbpoex]Maybe it would be a better idea to set the controls to WASD.

    WASD is a pain to play with on an AZERTY keyboard... like the one i use.

    But DXCV should work ok on both

  • Some crappy clock that doesn't give current time :

    http://prawnsushi.free.fr/bazar/C2/

    I don't know how to calculate angles so i think it's kinda wrong.

    Some zeropad function would be nice too :\</p>

  • Thanks Rojo, it seems to work... You really are the light in my bulb

  • mmm I think i've seen this answer before too. The problem is, i need python in my project, to display swf files...

  • Well, i know construct's transitions are buggy, actually i didn't even try them: i've read enough about them in the forums.

    That's why i said it was a custom transition, using my own events. And like i said, it crashes even when i don't use these events.

    I think the problem is somewhere else... at 1st i thought it was my app's events, because the debugger returned errors about object creation events... so i removed them and checked again, and got the bug somewhere else, just random stuff i think. Now i removed all code, and it still crashes.

    Just check the cap...

    Thanks

  • Hi,

    i made some kind of custom transition in my project and it seems to work ok, but after some time the cap crashes for an unknown reason.

    I've made a stripped down version of my cap file with only the transition and it still crashes after a while. I don't think the problem comes from my custom transition anyway because it still crashes when i remove it. I even tried multiple ways of doing it (with fucntions, fade behaviour, changing layer opacity, changing a tiledbackground opacity, using groups, etc) and all crashed.

    Does it have something to do with construct having trouble handling the layout switches? In my original project sometimes Construct says something about an error in Event 0 (which obviously doesn't exist) on a layout that wasn't even loaded...Is it a bug in construct?

    Can someone help me with this? My project will require a lot of layout changes in a short period of time because it's a multimedia app, each layout being a "page" (like: intro, table of contents, videos, questionnaires...)

    The version attached here switches automatically between layouts so all you have to do is wait until it crashes.

    [quote:2p7xap49]

    http://prawnsushi.free.fr/bazar/transition_bug.cap

    Thank you for any kind of help.

  • Hello,

    Is it possible to change the master volume of windows with construct?

    I used Xaudio2 and it works fine within the application, but the thing is i also use python to load flash movies. When i use Xaudio to lower the volume, the sound in flash movies remains unchanged...

    How can i change the volume so that it changes the application volume and the flash volume?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could also add :

    [Graphics]

    Mypaint http://mypaint.intilinux.com/

    ArtRage Starter http://www.artrage.com/artrage-demos.html

    ArtWeaver http://www.artweaver.de/

    Dogwaffle http://www.thebest3d.com/dogwaffle/free/ (Uses Particle brushes)

    Pixia http://www.ne.jp/asahi/mighty/knight/

    [3d]

    Wings3D http://www.wings3d.com/

    MakeHuman http://www.makehuman.org/

    And i probably forget some...

  • Personnally i just use a HashTable, and store variables as keys with their values. And then save it to a file in AppData when i need.

    For now it works really well, but i just hope noe bugs will show up later :\</p>

  • Hi everyone,

    I wanted to know if there was a way to choose a Printer before using the Print file command?

    I mean, when i use "Start Job", it opens the printer dialog box, and i can choose any printer i have installed.

    But if i use "Print File", it just prints on the default printer. I need people to be able to print the file to the printer of their choice, because the App will be used on school networks, and some people might bring their PC from another room, with their own Default Printer installed. I know they can change the default printer before using the app, but that's not always possible (profile restriction in schools).

    I know the command Print File always sends to deault printer. Using "start job" and then "print file" doesn't change that behavior. Is there any workaround? Maybe with Python?

    Thanks

  • I C A C.

  • The sprite object also has a "flash" action :

    -> Sprite: Flash for 0.5 seconds with 0.1 seconds interval

    EDIT : And the "on flash finished" event that goes with it.

    Dunno if it'll slow down everything though.

  • My guess is ... :

    1 - INI.itemstring returns a string

    2 - GetToken("whatever") returns a string too

    It might work if you convert to int :

    int(GetToken(INI.ItemString("Group", "Sprite1"), 3, "|"))[/code:1dtfcahc]
    
    Also, maybe you have to use INI.ItemValue instead of itemstring?
  • NP!

    Here's a screenshot from the G'Mic website :

    http://gmic.sourceforge.net/album/slides/Screenshot-G%27MIC%20for%20GIMP%20-%201.3.1.5-104.html

    It seems possible to create animations too :

    http://gmic.sourceforge.net/img/ss_anim3d.gif