inkBot's Forum Posts

  • That is awesome Animmaniac. Looking forward to trying it out once you release it. :)

    A way to get data for which button is/was pressed would be good for both the gamepad and keyboard objects. There seem to be expressions for the gamepad object to get some input data. But that seems to be returning a value from 0 to 100. I'm guessing this is simply checking if the button is pressed (since you have to specify the button in question it seems), and by how much if analog. Interesting, but not what I was looking for.

    EDIT: All of that was available in the manual. XD

  • Good news!

    inkBot - unfortunately which controllers are supported depends entirely on the browser - we can't do anything to add support.

    I was afraid of that. Guess we'll just have to bombard Google and Mozilla with emails about better gamepad support.

    Good point about the missing triggers - added to the todo list.

    Sweet.

    Alternatively the events you gave can be rewritten easily using a subevent:

    Left arrow down

    OR

    D Pad left down

    ---- Player on ground (subevent)

    ---- Do stuff!

    That is a good solution, not sure why I didn't think of it immediately. Broader OR conditions would still be nice though. :)

    Since Gamepad was mentioned in the new build I decided to give it a go. Hooked up my Dual Shock 2 and put in some events for the gamepad and previewed. Nothing.

    So I tried something else. I put x360ce in the Chrome folder and tried it that way. Now it works.

    So it seems to me that it's Xinput only (at least in Chrome). Though I don't know if it's because of the browser, or because of C2. If it's because of C2 I'd highly suggest broadening the gamepad object to support more than just Xinput. If it's because of the browser... then I don't know what could be done. Maybe someone else does.

    In any case, while Xinput is decent, it doesn't cover that much of the possible peripherals people use. While enthusiast like us here at the Scirra forums may feel comfortable mucking about with experimental drivers, third party software and whatnot to make stuff work. More than likely, the common user won't, and I don't expect them to (as already stated).

    Aside from the obvious Xinput issue, there're some things that I'd like to see which would make the gamepad object more useful.

    The gamepad object lacks some conditions that the keybord has. Namely "on key pressed" and "on key released". Gamepad versions of these would be great.

    Setting up events for both gamepad and keyboard is a bit clunky currently. I'd have to copy the entire group and redo the events in it for gamepad. If the "OR" blocks supported more than one condition per ... uh.. block(?), it would make supporting multiple control types easier. Like this:

    Left Arrow Down

    Player on ground

    OR

    D Pad Left Down

    Player on ground

    This was mentioned in another post a while back, not sure what happened to that thread though.

  • It does. To run Windows 8 on my Netbook, I had to set a resolution, that is not native to my screen size (it has a weird size). After setting the resolution to a value the system supports, the desktop became stretched to fit the screen. While working in normal programs, everything looks fine, but in my installed browsers, images and text looks not weel.

    Well, I can't speak about Win 8 since I don't have it (and most likely never will).

    It did work somewhat when it was first introduced (though even then it was iffy) but currently I think C2 has changed too much for it to work at all.

  • A resolution change wouldn't cause this type of distortion.

  • When you're writing an expression in the expression editor you'll have another window at the side with objects that you can pull variables and such from (if you don't, press F4 to show it). In that window double click on the System object and you get that list from the picture. Double click on whichever expression you want to add and it's added to the expression (along with helpers if needed).

    Notepad is not, in any way, more useful and handy than this.

  • I honestly don't know what it is you're trying to suggest. Is it a tab in the ribbon that allows you to add commands and such into expressions? If that's the case, what's wrong with this?

    <img src="http://i79.photobucket.com/albums/j135/mr_norris/thought_this_was_fine.jpg" border="0" />

  • I could just be that your machine isn't powerful enough to run fraps and play the game. Fraps is a very CPU heavy program. What are your system specs?

  • I haven't tried recording any Construct 2 stuff with fraps, but if you want to try an alternative you could look into FFSplit. It's mainly a streaming application but also allows local recording. Though afaik the program saves it as mkv's so you'd have to convert them to whatever format your editing software wants (you might also need to do some cropping when editing), should be doable in VLC. FFSplit is pretty lightweight so it might give decent results.

    ffsplit.com

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you can prove that, take them to court.

    "All proceeds from this fee (minus taxes) will be donated directly to Child's Play"

  • I agree that $100 is pretty steep to pay for the possiblity to maybe get your game on Steam. It's good at least that it's a one time fee, but $50 would have been more reasonable.

    At least the money is going to charity.

    I don't think the downvote is necessary. If it doesn't impact the votes, why call it downvote at all? IMO they should just change it to "Ignore".

  • AI in its simplest form, and generally what we think of when we say AI in regards to games, is a state machine. In short "in this situation" "do this". So take the example you used. He moves towards the player, then attacks. So you have one event (or several, depending) that checks if the enemy is close enough to attack. If he isn't you move him closer. When he's close enough, you have events that makes him attack. That's about as basic as it gets, but even the smartest game AI follow similar foundations.