lucid's Forum Posts

  • instead of using on-control, or controldown

    you can use 'Always', and the 'GetControlState' expression in mouse/keyboard

    (I will also add it to my custom controls plugin, I left it out by mistake)

    for instance,

     Always-Set Velocity X to  GetControlState("Move Right") * 10[/code:12uw5klu]
    Get Control State returns a value between 0 and 1
    also, many behaviors automatically set the speed depending on the 0-1 value
    
    also, if you want to set up your actions more similarly to how you said
    you could use the system-compare condition
    if GetControlState("Move Right",1) is greater than 0 - Walk
    if GetControlState("Move Right",1) is greater than 0.5 - Run
  • I was using the "control is pressed" in the plugin, not the mouse/keyboard. It does not work in a my game or in your example CAP on my system with version 0.99.42 vof construct.

    use new link in original post

    problem fixed

    thanks for reporting it

    also, I was going to ditch the deadzone tweaks I had added to the 360 controls because I thought that was fixed in this version. there should be an update soon that fixes those problems where you press left and it goes up.

    also, I'm going to change the way you set images for 360 controls

    it's a ridiculous pain. tell me what you think of this system

    you load all the images into an animation, so you can just import them from a directory

    there is a specified order you put them in, and then you just tell it which sprite it is

    you will also put blank frames if you're missing an image or don't wish to include one.

    it is a slight inconvenience to have to rearrange all the frames in the animation editor to the correct order, but nowhere near as annoying as loading all the sprites individually, or setting up individual actions for each image

    what do you think?

  • can the bone behavior source be put on the cvs....sometime soon?

    maybe even, right when you read this?...a personal pm to a dropbox link of a RAR file would be just as good

  • normally I wouldn't do this, but holy goddess this has me all excited

    please do not reveal even the tiniest bit of the plot if you're aware of it

    it would be easy to go look up details for anyone who's interested.

    I myself want to go to theatre knowing no more than I do now.

    anyway, for those who haven't seen this yet:

    http://www.apple.com/trailers/fox/avatar/

  • <img src="http://dl.getdropbox.com/u/1013446/New%20folder%20%284%29/phys.PNG">

    when you go to type numbers into the boxes for anything, like where you would set a private variable or check a value (like where the red arrow is pointing), you can double click an object's icon to get a list of expressions.

    If your object is using physics, there are Get Velocity X, and Y expressions. Although they aren't in pixels per second, it's physics's internal scale of speed.

    if you need to combine these two into one speed, it would be

    sqrt(Sprite[Physics].VelocityX^2+Sprite[Physics].VelocityY^2)[/code:ayxlwcfm]
    
    if the answer must be in pixels per second, then you would have to make a LastX and Last Y private variable
    and 
    [code:ayxlwcfm]-Always
    -----PixelsPerSecond=distance(sprite.x,sprite.y,sprite('LastX'),sprite('LastY'))
    -----Set LastX to sprite.X;
    -----Set LastY to sprite.Y;[/code:ayxlwcfm]
  • there are plans for a directinput plugin in the future that supports more controllers

    but for now, it is only the 360pad and other new xinput pads

    there are drivers to make your directinput pads emulate 360 pads though, if you just want to try your own game, although that's obviously not an option for the release of a game

  • thats true, I reported this as a bug/feature request before

    it just treats it as a box that fits the line in it

    the only solution if you need collisions is to use a sprite of a small black square

    and set the image point to the middle left

    and to set the StartXY of the line, you just set the position of the sprite

    to set the EndXY you set the

    Width of the sprite to Distance(Startx, Starty, Endx,Endy)

    and angle to Angle(Startx,Starty,Endx,Endy)

    and as long as you're only going to be using lines in 2d it will look the same, but with pixel perfect collision

  • im not sure if you can type in the characters or use them in the dropdown, but no, as i said. i just wasnt sure how to support them.

    when i was first starting this plugin i asked for anyone to please explain to me how to even type them to screen with a regular keyboard as a start, but i had no friends at the time and no one answered me. i also asked google, but i guess everyone who needs to alreadyy knows how, or i wasnt asking the right questions, cuz i couldnt find anything relevant to my searches

    as far as adding it in the future

    its possible, but it would be much further in the future if at all

    if anyone can tell me if you can type the nonstandard characters into constructs textboxes, itd be a start

  • no support for nonUS ascii characters, unfortunately. that was a programming inexperience result..not a design decision.

    it should (and it works when i use it) set character width to the frame width automatically if you dont set it manually

  • true

    thanks guys

    was gonna start a new thread, but, naaaah.

    nvidia?

    or

    ati

    and why?

    also

    I'm getting the cpu for free, so I'm not really deciding...just curious:

    for cpus I'm upgrading from

    this

    to

    this

    how much of a performance gain should I expect?

  • windows 7 (or vista if you've tried it, should be similar)

    will I ahve to reinstall when I get a new motherboard changing from amd to intel?

  • no then?

  • I apologize for the lack of progress everyone

    really at an important part of my personal project though

    and I need to take advantage of some unanticipated free time while I have it

    but I promise I haven't given up on perfecting 360 controls

    just give me some time

    and yes, I did copy/paste, but don't take that as insincerity

    also alspal, david said directx controls were coming in the future

  • I apologize for the lack of progress everyone

    really at an important part of my personal project though

    and I need to take advantage of some unanticipated free time while I have it

    but I promise I haven't given up on perfecting spritefont

    just give me some time

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • it works in photoshop for me

    haven't tried it with construct

    but honestly, if you're using a wacom

    and you're good enough to take advantage of it as an artist

    you'd really be wasting your talent in constructs paint editor

    you should use a more powerful image editor

    no diss to construct, it's just not made to be a fullfeatured image creation tool