Djordhan's Forum Posts

  • Yeah I know the tutorial covers the basics of any kind of plugin.

    The problem is that handling the keyboard device seems to be a bit more complicated than having 2 color values. I know that the same concepts apply no matter what your plugin does but after looking at the standard mouse and keyboard plugin, I don't have the skill to do it from scratch, so I'd like to modify the standard plugin and add an expression to retrieve which key is pressed. (Even that I'll have to dig the internet to find out how to do it, I'm no programmer )

    The problem is that I can't build the plugin, some things must have changed, for example, there's no action/condition/expression files, they're all in the main.cpp.

  • Hello guys,

    I've been trying to add an expression to the Mouse & Keyboard plugin but I failed miserably.

    I downloaded the plugin but I can't get it to build with VS2008. I just download the latest SDK so I guess some things changed since the last official build of that plugin.

    All I need is an expression to retrieve the key that has been pressed. Even that, I wouldn't really know how to do it since the only tutorial I found about making plugin was about a coloring sprites.

    I checked in the main.cpp and I quickly realized that it was a bit more complicated that just ADDEXP(Bla bla bla ExtObject::GetKey()).. And I wouldn't have any idea what to put into GetKey() anyway..

    Should I have to get an older version of the SDK to build the plugin ?

    Thanks a lot folks.

  • Well at first I thought that was it!

    But whenever I want to retrieve the key name or the key code, I must provide either the key name of key code, there's no way to simply get pressed key..

  • Hi there,

    Is there an update for the Keyboard plugin that would have an expression to let me retrieve the key that has been pressed ?

    I want to trigger different events on each keyboard key and I don't really want to make a separate event for each. If I could do something like that:

    On any key pressed

    -Sprite: Value 'Letter'

    -Equal to Keyboard.Key

    ..would trigger action on that sprite.

    Thanks!

  • Yeah you're right, but I agree that couldn't open all .cap if I don't have all the plugins used by everyone, only to verify that people aren't violating THE rule.

    I trust you guys!

    Well, I updated the main post and that's how it will remains until the end.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Alright then, forget the .cap.. I agree, I wouldn't provide the source myself..

    But I keep the One Layout rule. Don't worry the rule will be different each time.

    That specific rule came to me while trying to create a game menu, options, credits and tutorials within the game level itself. So I'm curious how people will introduce the game without a separate menu layout. (even if it's not that hard to make it in the same layout..)

    Does it make more sense ?

  • It will be Construct Classic only for this one. We'll see if C2 gets more plugins for the next comp.

    I'll need the .exe and .cap to make sure there's only 1 layout.

    I'll add these details to the main post.

  • Djordhan, I was joking about an avatar!!! jk

    So if I understand, double negation, you weren't joking about the avatar ? Or you're joking you're joking you were joking about the avatar ?

  • .Thank's you gave me a Great idea for a local game here

    Try to stay alive until the end of the challenge

  • Are you talking about Limbo (Hell) ?

    In that case, yes, the theme can mean everything you want as long as its reflected in your game

  • Yeah that's what I meant by "where you shouldn't be" and "somewhat unhealthy".

    When it comes to urban area, it can be qualified as a sniper playground like in Enemy At The Gates.

  • Good idea. Since I already posted a thread (shame on me ) I'll use it to check the interest in my idea. But I'll surely use the thunderdome for the next (if my One Buck thing doesn't work).

    For people who might be interested, the One Buck Challenge will always have one single rule, which will be different each time (even if an old rule may come back later).

    The theme will also change and it might be based on actual events or something. I always liked games with deeper meaning than just good old dirty plain fun.

    Whoever succeed in amusing me, wins one of my precious dollar! Nah just kidding, there will be a voting process, as mentioned in the thread.

    If you guys have any idea to make that comp more interesting just tell me, or start your own *%&% comp! Nah just kidding again..love you all.

  • There you go, added brief description.

  • For those who almost drown in their own creativity, for my first OBC, you're challenged to make a short game based on the "No man's land" theme. Any genre allowed. Construct Classic only for now.

    Needed files: Provide a working .exe only. No source required.

    Theme: "No man's land" refers to a place, zone or area where you shouldn't be. Usually, those places are somewhat unhealthy.. So the theme is not "A dangerous area" but your own interpretation of No man's land.

    End: You have until June 19th 23:59 to submit. Vote will run until June 24th 23:59. (GMT)

    After upload, make sure the download link works.

    Rule: Made in a single layout.

    Prizes:

    -One Buck! (via PayPal)

    -A brand new forum avatar courtesy of procrastinator

    If Ashley.Accept(Procrastinator.Bribe(2)) == False Then
         Procrastinator.NewAvatar(EntryRank[2])
    Else
         Procrastinator.NewAvatar(self)
         Procrastinator.Money += 1[/code:2vmw5hfo]
    
    [u]Post[/u]: Please post a [b]single post per entry[/b] (multiple entries allowed) Just edit your post to update game status. Games will be judged with latest version available in your post.
    
    To make sure I won't forget any entry, add the tag [b][u]OBC ENTRY - YourGameTitle[/u][/b] at the top of your entry post.
  • Thanks a lot Ashley!!!! Very appreciated!