jojoe's Forum Posts

  • Hi,

    In unity we can have variables with multiple vales called vectors. A good example of a vectors use is a Vector4 for a RGBA color value. (fff,000,fff,fff)

    Vector 4 can be handy for designing UI's, every button can have its X,Y,Width,Height all in one convent package.

    I have a feeling this would be a very popular plugin.

  • Would be nice to see the arrow keys bound to scrolling. Hold shift + Arrow keys to move X amount of lines. (X defined in the C2 preferences)

  • Nah, it's definitely a limitation of the editor. I don't even know if js supports them.

    Was looking into this further and JavaScript does not even have an integer. It just rounds float values. I have a feeling vectors where something extra special that they added to Unity or Mono.

  • hi <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://www.scirra.com/manual/172/tilemap

  • Awesome. I might try a Sonic the hedgehog clone

  • blackhornet

    Have been using your utility quite a bit. It really is a time saver

  • Thank's for the share

    In what software you make this.

    Hi, I used Blender for this with the default rendering system. http://www.blender.org/

    They have a great community here to help get people started : http://blenderartists.org/forum/forum.php

    I am happy you like my controller

  • I really wish C2 had these

    Do you think someone could do it with a plugin? I wonder if HTML5 uses them?

  • Hi,

    I made an onscreen controller template. The objects are pre-rendered in a 3D application.

    [attachment=1:3drozm7n][/attachment:3drozm7n]

    The Joystick does not mimic an analog stick at the moment. If you would rather use it, just place the sprite under the D-pad button hotspot.

    The color effect is turned off by default, let your users know that it is intended for fast computers.

    Some uses for it:

    • On screen controller
    • Graphic to display on your keyboard config menu screen
    • Just use the re-bind-able keyboard system and toss the graphics.
    • As a template for your own graphics.
    • Toss the code, and just use the sprites.

    The usable states are all located in the purple "Controller state" sprite instance variables.

    • Move left
    • Move right
    • Move Up
    • Move Up left
    • Move Up right
    • Move Down
    • Move Down left
    • Move Down right
    • Button A
    • Button B
    • Button X
    • Button Y
    • Button Start
    • Button Select

    The default keycodes are on the keyboard input event sheet's global variables.

    Known issues:

    • Can not use both touch and keyboard at same time. It automatically switches when it gets keys or touches.
    • If window looses focus in node webkit, the inputs get "stuck" sometimes. (windows 7 only)
    • No joystick or controller bindings yet. (Might come soon.)

    The sprites are for HD games by default. You are welcome to scale the images, as long as the image remains 2x the actual sprite display size.

    I am thinking of doing a commercial version for the Scirra store. If you have any requests please let me know. If you want something Custom for you game, please PM me. Do you guys think that $5-$10 is a fair price to ask for the non-free version?

    Hope you enjoy it

    [attachment=0:3drozm7n][/attachment:3drozm7n]

  • Problem Description

    Misinformation in the example file states that all we have to do is change the blend modes. It says nothing about he "Force own texture" . All it says is: "Sprite's 'Blend mode' property can be set to the following. Note the cog has an area of transparency around it to make it clearer what each blend mode does."

    Got tired of it not working, so I sat here until I figured it out. 6 Hours later I saw that the "Force own texture" was different.

    Attach a Capx

    [attachment=0:3kgoc8vh][/attachment:3kgoc8vh]

    Description of Capx

    Leaves out important information.

    Steps to Reproduce Bug

    • Step 1
    • Step 2
    • Step 3 etc.

    Observed Result

    ____ What happens? ____

    Expected Result

    ____ What do you expect to happen? ____

    ...

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

  • Thank you codah

  • Here is a great way to make seamless textures.

    http://neotextureedit.sourceforge.net/

    I made a simple 3 color retro camouflage starter.

    [attachment=2:12198s4e]camo.zip[/attachment:12198s4e]

    Just open it from inside Neo texture edit. It makes old camo like this:

    [attachment=1:12198s4e]kamo.png[/attachment:12198s4e]

    Here is an example of the settings needed. Just look at the red arrow. There are 3 bars in the center that are maxed out. The rest are turned off.

    [attachment=0:12198s4e]Settings.png[/attachment:12198s4e]

    That is it!

    You can change the colors by adjusting the color swatches, on the gradient editor. I am going to be making some desert and some Europe WWII color schemes later.

  • Here is a tool that makes seamless patterns:

    http://neotextureedit.sourceforge.net/

    Can save lots of time. They have a great brick generator. The perlin noise would be a nice base for cave walls ass well <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Very bright

    I like the terrain the most i think.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    In Unity C# we can use Vector 2 and 3 to set varibles that contain more than 1 value. A great example is if you want one variable to hold an RGBA color value. You would set the Vector4 to:

    myColorVariable = New Vector4(000,000,fff,fff);[/code:v4en9d8v]
    
    This is extremely helpful when drawing boxes or setting something's position... (just use a Vector2(X,Y) for the X and Y value.)
    
    What I am wondering is if we have something like this in Construct2?
    How would I set a single varialbe to an objects X and Y position?
    
    I can see we have something to set and return RGB values. This is why I am asking.
    
    Thanks in advance for any help.