Cipriux's Forum Posts

  • I have signed up...but cannot share the link to file from my computer via right-click like in dropbox. I have to share it from website:(

    [EDIT] If you have a mobile device and a dropbox account, download their app and get extra 48 GB (or maybe is just for Samsung devices). worth a try

  • You can customize the IDE and put the search box in the Title Bar

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/search_bar_00202.png" border="0" />

  • I am using the official Sprite Font and trying to set character width to a double quotation mark, but I get this error:

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/Error_3454.png" border="0" />

    How to solve this ? Do construct uses escape characters? \" ????

  • Agni It is time consuming, but you do it one time only for every font that you want to use. I had made a template in CorelDraw and make my life easier when I want to change the font type. I just select the individual characters and change font type.

    [EDIT]

    Example 2

  • Agni If your font sheet has enough space around the fonts, you can use Photoshop to make multiple selection and then use move tool. I am not expert in PS but this will do the trick.

    You can see an example of what I mean.

    Example

    P.S. I am pressing arrow keys to move the selection pixel by pixel

    and sorry for my lame selection technique :P

  • ByR even Ashley advice that replacing the old SpriteFont with the new one should be done on a new project...well, I was desperate about my fonts and I had to replace 90-100 instances. I am glad my project is not broken:D

  • Ashley Thanks for explain it.Is good to know the reason behind this decision. I hope this choice stays the same for future upgrades so I can make my Sprite-sheet modifications.

  • ByR I had problems with the old SpriteFont. In my case, I had my SpriteFont text taken from instance variable and when tested in CocoonJS 1.4 All instances of SpriteFont had the same text. I didn't investigate too much the problem because tried the official SpriteFont and everything is working well. I had spend 4 hours of replacing the old SpriteFont with the official one and it is ALL GOOD !

  • Ashley I like the new official SpriteFont but I think "set character width" should be symmetrical . For the moment it cuts only from the right side of the character, forcing me to modify the PNG itself and offset narrow fonts to the left. (Or is there a better way to do it?)

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/spritefont_34543.PNG" border="0" />

    I made each char 64x64 px and have "Character spacing" set to -20

    For the second text I also set the width of "I" char to 52 at the start of layout

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/spritefont_678.PNG" border="0" />

    Character map in Windows shows characters centered on the containing squares

    Cheers

  • WOW...my game frame rate increased from 20-30 to 60. Great job, Ludei !!!

  • Try Construct 3

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

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

    I think it will be great is someone will develop a plugin for USB, similar to Gamepad but with the possibility of mapping specific commands, that way you cam make specific mapping for different USB controllers and devices. I know Gamepad plugin is best suited for Xbox controllers and from what Ashley say about it, firefix and chrome interpret the commands from the same controller differently.

    An ideal way will be to have user defined commands in and out(out for vibration). I know is difficult because of the specific driver configurations, but is just a thought.

    Thanks for you interest in that !

  • This is not the library I was using, but is the same thing

    chrome.usb

    I am thinking of testing it using my USB mouse, in theory it should work without using Mouse or Touch plugin. For the moment my PicMicro motor controller is not working, but after I see Construct can be used to communicate to USB I'l be taking the next step.

    My final goal is to use Construct not only as a game environment...but also as a brain for a small robot, where I use my Android phone for decision making

    I know visual processing is alot complicated, but for things like 3d accelerometer Construct makes it really easy for me.

    For the moment I am unable to build my own JS plugin but I plan to get started after I finish my current game project.

    Can you give me a simple example of how to use your plugin to capture mouse movements for example with the above lib? (for now all is chinese language to me)

    Thanks,

  • Thank you for confirm it .Bright sun is rising on my street:)

  • rexrainbow Can I use this plugin to call and external JS library that is used for USB communication? I want to be able to control some motors from Construct. It is working with web browser using this library.

    Thanks, and sorry for the lame question, I don;t know javascript but I want to learn it.

  • Joe7 I am starting to learn JavaScript and I habe this lame question:

    Can I use an external js library for USB communication ?

    I am playing with motors and controllers using USB port directly from web browser and it is working like a charm. Is it possible to send/receive data/text through USB using Construct or I'm dreaming to far?