prawnsushi's Recent Forum Activity

  • For some reason my mouse pointer always often goes outisde the game window so i can't really shoot the green thingies.

    I thought it was because of dual screen, but it's the same with single screen. (1280x1024)

  • [quote:2ov52yfr]The game runs fine on my old pc (1.6Ghz pc + geforce 8800 gt).Winxp seems to run some games faster than win7 does.

    I'm ot sure about XP and win7, but i wouldn't be surprised:) The fact is that the geforce 310 on this PC is complete crap... I'm glad it's not mine

  • Looks like a nice game

    However, all the blur effects on the backgrounds makes it unresponsive and slow on my work pc (core i3gkx@2.93ghZ + geforce 310). It runs fine if i remove them, so maybe you could preblur them?

  • It's probably because they are duplicates of the same sprite object. Changing the picture in a frame will change every instance of the sprite.

    I couldn't find how to add a frame to a sprite at runtime, but if you add them in the editor, you can then do something like this :

    + CommonDialog: File dialog: OK
        -> System: Add 1 to global variable 'ids'
        -> System: Create object Sprite on layer "BG" at 0,0
        -> Sprite: Set 'ID' to global('ids')
        -> Sprite: Set animation frame to Sprite.Value('ID')
        -> Sprite: Load frame from CommonDialog.FirstSelectedFile[/code:a6py8u1x]
    
    Of course that means you'll have to define a max number of frames to your sprite.
    
    But now i have to ask this question : is it possible to add an animation frame at runtime?
  • This looks fishy to me :

    + Block_Green: Y Equal to Block_Green.Y[/code:2kwxxfup]
    
    When i remove it it says : connected 60, not connected 2.
    Maybe these 2 not connected are the ones on the left and right of the chain?
    It's lunch time, i'll investigate  a bit
  • Newt did all the work

    I'm not a coder either... actually i don't even know how to use lerp hahaha... haha.

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

  • Try Construct 3

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

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

prawnsushi's avatar

prawnsushi

Member since 25 Oct, 2010

None one is following prawnsushi yet!

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies