Wastrel's Recent Forum Activity

  • To expand upon newt's response, it is a logical operator, in the same vein as AND and OR. Here is a hastily constructed truth table:

    | p | q || p AND q | p OR q | p XOR q

    ------------------------------------

    | 0 | 0 ||    1    |    0   |    0

    | 0 | 1 ||    0    |    1   |    1

    | 1 | 0 ||    0    |    1   |    1

    | 1 | 1 ||    1    |    1   |    0

    Basically, XOR says if either p OR q is true, but not both, then the result is true, otherwise it's false.

    EDIT: newt already updated his post with a link, and i forgot the forum is displayed in non-fixed font, so blah

  • I agree with the idea of a market place for assets (sprites, animations, audio, etc.). I do, however, see a problem with a template market: support.

    Say I want a tower defense template, so I pay $10 and get the template. Now I want to make some changes because, being a generic template, it's not exactly what I need. Since I didn't code it, and it can be assumed I don't know how to code it since I had to buy it, will the developer provide the kind of support I need to add features, change logic, etc?

    I know many of the developers here offer free help now on the examples and plugins they've made, and I know a lot of them would feel compelled to offer support on something they've sold, but how much and for how long?

    If you look at it from the reverse point of view, I'm a developer who made a template that I am selling for $10. But now, since money has been exchanged, I am expected to support that template. Bug fixes are one thing, but what about modifications? How will I be able to work on my own games or create new templates if I am continually being asked to make modifications to my original template?

    This is just my opinion, but I can see how that might spiral quickly out of control.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have been trying to capture a player-pressed key from the keyboard, for the purpose of allowing the player to select their desired key-mappings in a game. I tried searching the forums, but only found references in the CC sections.

    I imagine something working with the Keyboard plug-in, using the OnAnyKeyPressed condition, then setting a variable (global, local, or instance) to either the ASCII code or the keyboard scan code. I would imagine the scan code would be more useful, so that non-alpha keys could be mapped.

    Something like: On Keyboard.OnAnyKeypressed --> varKeyPressed = Keyboard.KeyPressed.

    Unless I am missing something, this functionality doesn't exist. I was wondering if this was intentional due to some technical reason, or if it just hasn't been addressed yet.

    Has anyone figured out a work-around, or created a plug-in for this?

    Thanks!

  • I agree, it doesn't seem like it should be that way. I just assumed it was that way for reason and never questioned it. <img src="smileys/smiley24.gif" border="0" align="middle" />

  • I might be misunderstanding what you are saying in your first post, but if you wrap the global or local variable with int(), then it accepts the value, i.e. unit.targettedby = int(value).

    As far as I know, it has always worked like this in C2. At least, that's how I have always had to do it.

  • Ize

    I would also like to see a capx.

    Cool game! I just wanted to point out that on your second opening screen, the word "Construct" is missing the "s". I really like that opening credit anyway! :D

  • It's working fine for me also, on older projects, and new ones.

    Windows 7 x64

  • Run's very smoothly on Windows 7, Chrome 14 (haven't updated yet).

    Nice, original concept. My only complaint (which has to do more with the web platform than your game) is that on the higher levels, when i was thrashing the mouse around to keep up, the cursor kept moving out of the game window. Maybe an option to go to full screen would help with that.

  • Magistross, do you have a quick example you could post showing how to use this plugin?

  • No crashes when saving or previewing.

    C2 r64, 64-bit

    Windows 7 Enterprise, 64-bit

    Chrome 14/15

    IE9, 32-bit and 64-bit

  • I was working on my entry, but a project at work hit a bad road-block and I had to spend all of my time working on that. :-< Very frustrating.

    All of the entries look great. Good luck everyone!

  • Nice job, Nickydude!

Wastrel's avatar

Wastrel

Member since 21 Sep, 2011

Twitter
Wastrel has 2 followers

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies