R0J0hound's Recent Forum Activity

  • You can do most of your game with python, but you'll need to use events for stuff like triggers and all the system conditions. I'd say a full python game probably not feasible, but a hybrid approach, part events and part python, would work well.

  • I think I've found the formula to graph those curves. You could also use qarp or cubic but I was having difficulty getting a curve with the exact shape.

    http://dl.dropbox.com/u/5426011/examples3/bias.cap made in 0.99.96

  • I'm finding a problem with useing loops with subevents. I used for each and added a subevent to compare 1=5 (which should be never true). For some reason the subevent's actions are being run for all of the objects but one.

    ex: http://dl.dropbox.com/u/5426011/c2/bug.capx

    It seems to occur with any subevent condition.

  • A simple plugin with one action: Play sound.

    It uses html5 audio, so it should be able to play ogg, mp3 and wav files if the browser you use has it implemented.

    It only works with exported projects right now. Any sound files you use need to be in the same folder as the exported project.

    No sound will be played if you just preview the project. The preview can't find the files. I have no solution for this atm.

    Download:

    http://dl.dropbox.com/u/5426011/c2/simple%20c2%20sound%20plugin.zip

    To install extract to the "Construct2-Win32\exporters\html5\plugins\" directory.

    Feel free to modify.

  • This is a white level preserving color filter.

    <img src="http://dl.dropbox.com/u/5426011/examples3/filerex.JPG">

    Download:

    http://dl.dropbox.com/u/5426011/examples3/Advanced%20Filter.fx

  • I cannot accurately vote because I use both, XP and Vista.

    I wish I didn't have to keep upgrading my os to run new software. If I had my way I'd be using my old 386sx processor with an emulated math co-processor running dos and win95. Ah, back when a game had full control over the computer without the os causing the fps to be erratic...

    On a side note C2 crashes when it closes on xp after adding a sprite or loading a capx with a sprite. It's non-fatal since it happens after the project is saved but it still is a slight nuisance.

  • If you go to "Display Properties"->"Settings" tab, then click on the "Advanced" button you should be presented with a new window with a bunch of tabs. Most graphics cards have a tab called "Direct3d" or something like that. On that tab there should be some options to change the texture quality and/or mipmap quaility. Just set them to higher settings and that should fix the image.

  • What is your graphics card?

    You may be able to fix it by adjusting your cards settings.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I updated the example in my previous post. I found a way to generate the window shape faster, but more importantly I implemented the ability to save and load the regions to/from files. Loading is almost instant so pre-generating the window shapes into files is the way to go if you want custom shaped windows.

  • Here is the unacceptably slow way I have found to make custom shaped windows:

    http://dl.dropbox.com/u/5426011/examples3/customwindow.cap made in 0.99.96

    The main bottleneck is generating the region, so a fully dynamic window is not possible with this method. In order for this to be usable for large windows the region would have to pre-generated... yet another can of worms.

  • C2 already seems very versatile. Here is a slot machine game.

    http://dl.dropbox.com/u/5426011/c2/slot.capx

    edit:

    updated capx r99

    http://dl.dropbox.com/u/5426011/examples12/slot2.capx

  • All object types and all behaviors get their own OID in order from 0 on.

    The order of the object bar kind of shows what the order the OIDs will be a runtime, but no there is no way to set what the OID of an object type will be.

    It's best to avoid using the oid to identify object types in a save file because oids are only guaranteed to be the same for that object type for the duration that the game is run.

    What you can do when you save is ignore what the oid of the object is and use you own numbers:

    ex

    Sprite -> 1

    Sprite2 ->4

    Sprite3 -> 703 ...

    and when you load change from those values to what the OID of the object is:

    if loadedValue == 1

    then oidToUse = Sprite.OID

    if loadedValue == 4

    then oidToUse = Sprite2.OID

    if loadedValue == 703

    then oidToUse = Sprite3.OID

    ...and so on.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound