madster's Forum Posts

  • thanks!

  • you could do it the way they did before accelerated desktop compositing.

    That is:

    -Window with no frame (no problem!)

    -Drag window to move (events, no problem!)

    -On move, capture background and composite within application (Uhm.. python? :s I'm sure desktop capturing has been discussed before in the forums.)

    That said, capturing background isn't fast, so you shouldn't update each frame. This means that the captured background will not reflect changes until you move the window forcing an update.

  • :')

    I'm in tears man. Thanks for that. It's just perfect.

    Dual stick games, here I come!

  • I don't have a webcam either I'd like to know tho.... I did spy a "record" action and a "freeze" action. Does Record save video regardless of "freeze" ?

    I DIDN'T KNOW WE HAD A WEBCAM OBJECT! WOHOO!

    Construct rocks. So hard.

  • you could definitely use the ini object and then build the hash table from the data read from there.

    You'll have to save and load "manually", that is, going one by one using events.

  • I'll assume you mean using Construct

    You could use the FileSpy plugin to monitor a directory (folder!) and the File plugin to delete the offending files. You could even use the CommonDialog plugin to select a folder, and you could pick a folder to monitor.

    OR you could type ".persist" in the search field of your work folder and then hit ctrl+e to select all and del to delete

  • Whoa. Just whoa. Tomorrow I'm trying it out with a joystick but... it seems it has everything.

    Not everything I need, I mean EVERYTHING. I looked around SDL's control system before and I know what can be done, and I see it's all there. Congratulations, sir

    I tried the bundled demos and something weird happens when hitting F10. I just now realized it acts just like left-alt :O so I guess we shouldn't use it, as Windows freezes the application and focuses on the window controls.

    Everything works perfectly.

    Awesome. I can go and code player control logic for my game now

  • WHOA! So fast!

    Testing, RIGHT AWAY!

  • Here's a trick: Within the events you're running with Timescale set to 0, temporarily set Timescale to 1 and then you can use Timedelta as usual. Don't forget to set Timescale back to 0 once you're out of that block

  • I made a puzzle game once but with freeform pre-made pieces. Actually it was a map of the country with states as pieces.

    The pieces were frames in an animation, put in their destination spots in the editor, set to invisible on runtime startup and disabled for mouse dragging. Then a random piece was created by selecting a random frame. This piece could be dragged and upon being dropped it would snap into place if it was within a small distance of an invisible piece with the same frame number. Otherwise it would snap back to its original position.

    Maybe that gives you some ideas for your own game, cheers.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just out of curiosity, madster - did you benchmark these changes? And did it make any different to performance?

    I didn't, but it shouldn't make any noticeable difference, since it's still one call per tick.

  • A layer effect could easily achieve that. It wouldn't affect collisions though, and I don't even know if there are collisions for that object.

  • It's weird that event sheets are always included, but you can place them as subevents. This confused me.

    Then I realized it was being included always, even if the subevent wasn't firing. So I moved all of that code into a function object and call that function with the condition I wanted. I made the function object global so I can reference it from the event sheet and call it from wherever I want.

  • Oh okay!

    So there's no automatic rotation then? cool, no biggie.

    I like the "exclude from rotation" action ^^ it's very useful.

    EDIT: no sarcasm, I'm actually using it so my UI doesn't rotate

  • They pulled an Adobe

    _<