sqiddster's Forum Posts

  • saiyadjin Unfortunately I have no idea how to write a plugin for C2... I really don't know any javascript

    I didn't see anything relevant to Twitter sharing in CranberryGames' plugins.

  • Hey all,

    I'm experimenting with making a little mobile game, just for fun (and to see what C2 can do on mobile these days)

    A lot of games these days have the great marketing strategy of allowing a user to tweet a screenshot at the end of every level/playthrough etc, along with some text, like 'I scored 1357 in [Game name here]!'

    I've looked at the Twitter plugin, but I don't really see anything along those lines. I also don't want to use the default Twitter button, but to make my own.

    Anyone with more experience than me know if this is possible?

    Cheers!

  • I was going to say the same thing as Ashley, but global layers have the same problem as global objects - what if you only want this layer in, say, half your layouts? you're stuck. (AFAIK anyway)

  • Yeah, it's pretty annoying to have to go into the XML and manually copy layers around.

  • Yes please! Especially for text, dealing with a top-left hotspot is really annoying when the text is left-aligned.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well I know that Chrome 38 has some serious Vsync issues, and the new NW is based on Chrome 38 so I don't really want to risk it, unless I hear someone who has seen a definite improvement over previous NW builds.

  • I don't even have an old node-webkit build (I keep to stable releases, last stable included NW in the build) so now I can't even update to the new stable because it'll break NW ._.

  • Interesting! Magistross great job! That's basically what I had in mind to do but it's just so... awkward to have to go to all that effort.

    I think for my currently planned application I'll just go with the 'replace a Unicode character' approach.

  • Basically, I'm trying to make a system which replaces tags in text with an image. For example, right here I can Include right inline with the text. I'd like to be able to do something similar to that at runtime in C2, but I've come across a problem.

    It's easy enough to identify the tags, read them, replace them with whitespace, etc. But, when I want to insert the actual sprite, I can't actually find the coordinates of the character it should be placed on top of! Basically, after doing the tag processing, I end up with a space character and the index of that character in the text. I simply can't find a good way to translate that text index into an actual coordinate. I suppose it'd be possible to loop through all the characters and add up their individual character widths, but it gets *really* dodgy when line breaks get into the mix. I'd like to potentially support this for regular text, too, and that's even more impossible since I can't even access character widths.

    One workaround would of course be just to substitute the icon in for an unused character in the spritefont file itself, but there are a few limitations there. It's a bit of a pain to keep track of (æ = etc) but the biggest issue is that I lose the ability to animate the icon.

    Any thoughts?

  • Good to hear I guess. I have no idea about any of this stuff, does this mean we'll be able to reliably deploy on Linux?

  • It's an interesting subject. I'm planning on learning 'real' programming fairly soon, and I'm a little worried I'll have some habits left over from C2 that don't translate well to classical programming. I'd *love* to see a guide or tutorial that would list helpful tips about what I'll need to look out for and change when I start exploring classical programming. I reckon C2 is a great stepping stone to programming for beginners and something like this would really help.

    Maybe it's not really feasible though since there's a big amount of variation in programming languages, and styles, like OOP etc.

  • Quatox there are numerous solutions available now for fonts, this thread is 3 years old

  • Congratulations!

  • Colludium have you tried your graph with GPU throttling? Any results?

  • 3821 at the moment!