Bl4ckSh33p's Recent Forum Activity

  • Until now I created a new Textobject for every menu object or Textbox I needed. Didn't know that copy worked to set a different text for new instances. I thought it was shared. <img src="smileys/smiley24.gif" border="0" align="middle" />

    But I don't know which one is "best", sorry.

  • Thanks Ashley! I had the same issue. I tried to use OR blocks to add all mouseover>hand items in one block but that did not work either.

    I use one event for every button now and added Trigger Once and it works fine now. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hi! I learned about clay.io today and it has a Plugin for Construct 2 to use Leaderboards, Achievements, Inapp purchases and more! It's the best site I found so far and I will try their plugin in my current game. Hosting is free but they take 20% of all purchases.

    PS: does anyone know other methods to implement inapp purchases?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a question about global variables, too.

    I created one called "Pixelate" with value of 150 (number).

    I tried two events to remove -1 every tick and both seem to work:

    Set Pixelate to Pixelate-1

    or

    Subtract 1 from Pixelate

    and then it does:

    Set effect Pixellate param 0 to Pixelate

    I do this Every tick as long as Pixelate is > 1 and it seems to work well.

    BUT when I change layouts to go to another screen and then come back the image looks like it was in the beginning with Pixelate set to 150. Is it normal for Globals to reset on layoutchange where the global is defined on the events at the first line? But it does not subtract 1 on the second view and stays pixelatet. :/

    <img src="http://www.fotos-hochladen.net/uploads/globalsresetscgznbe1q0.jpg" border="0" />

  • Great idea! But this does not work with multiple points and objects, right? You cant add a loop like "for each point on SpriteA compare if near any point in Working area"?

    Let me explain: In the final game you have to select one object with X points (different for different objects) and you can have one or more (!) objects in the working area where you place it which have also the same or different amount of image points. There could be some squares, a triangle and so where the selected object needs to snap on.

    So I need to do "For ImagePointCount loops" for all objects and store them in an array to compare all values against the coords of the currently selected item? Or is there an easier solution.

  • Like:

    Get SpriteA.ImagePoint.X, SpriteA.ImagePoint.Y

    Get SpriteB.ImagePoint.X, SpriteB.ImagePoint.Y

    (stored in a local/global Variable?)

    If X and Y values are only +/- 10 Pixels apart snap/drop it there and pin it? (need to get the angle for triangles or rotated targets)

    I will try if this works when I am back. Thanks for the hint. :)

  • Thanks for sharing this! Clay.io looks interesting. I was looking for something like this to be able to add a "unlock full game" feature or add some bonus content. :)

    But does anyone know other alternatives? (without the need to know javascript or much coding) It's always good to compare.

  • Hi! I found a few examples how to pin/move objects to another objects image point like this (both lines work):

    <img src="http://www.fotos-hochladen.net/uploads/pintoobjectrz7edfplg1.jpg" border="0" />

    But is it possible to get a list of available image points of the source sprite to attach SpriteB(2) to SpirteA(1) for example? Right now it seems only the target can have a specific Imagepoint. <img src="smileys/smiley5.gif" border="0" align="middle" />

    For now I just tested it with OnClick and move SpriteB to SpriteA but the ideal solution would be if you could drag & drop objects onto the image points of another object and they would "snap" (and rotate held object with right click for example). So you could snap a cube to a triangle on any of their flat sides together - I hope you can understand what I mean. So can you get the source image points somehow to be able to drag and snap them to the target?

    Another alternative would be to click on the source object and then on the image points of the target to attach it there, but you still need to get the image points of the Source sprite to be able to rotate it and attach it to the target properly.

  • Steps to reproduce:

    1. Create a Group in Events

    2. Rightclick the group and select "Add > Add global variable"

    Observed result:

    The popup to set the variable details is for a local variable (windowtitle) and it creates an local variable if you proceed.

    Expected result:

    it should create a global variable OR the rightclick menu should say Add > Add local variable

    Browsers affected:

    no

    Operating system & service pack:

    Windows 7

    Construct 2 version:

        139 (64 Bit)

  • Thats it! And so simple, thank you very much spongehammer. :)

    I thought I have to copy all the things from the xeyes site to make it work but one line is enough.

    I figured out how to ratate towards mouse klkitchens but I wanted them to rotate inside the eyes (radius).

    The solution of spongehammer was:

    Sprite | Rotate 10 degrees toward (Mouse.x, Mouse.y)

  • Hi. Its an old topic but exactly my problem. Hope it is ok to "revive" it.

    I bought the Personal edition and tried to import some sound effects (wav) but in the import dialog it says the file is not in the proper format and cant be converted (yellow ! icon) but its from the official ressourcepack. It says I need Windows 7+ to convert it to AAC but I have Windows 7 64 Bit installed (running 64 Bit STEAM version of Constructor 2).

    I looked for new sound drivers but on the ACER (Aspire M3203) website there are no newer drivers (Realtek 6.0.1.5898 from 2009). Can I install other drivers to fix this or are codecs missing I need to install?

    /edit: oops, just saw it is in closed bugs. <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Hi, thanks for the hint.

    I have 2 eyes and it would be great if both could move around in the "eyecircle". Rotating with angle alone does not move them in the whole circle.

    I found this Xeyes site (http://arc.id.au/XEyes.html) but don't know how to add it to Constructor 2 properly. Any help would be very much appreciated.

    I need to learn more about math to use angle or sin/cos properly, its way too long since I used this at school. <img src="smileys/smiley9.gif" border="0" align="middle" />

Bl4ckSh33p's avatar

Bl4ckSh33p

Early Adopter

Member since 20 Jul, 2013

Twitter
Bl4ckSh33p has 5 followers

Connect with Bl4ckSh33p

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x7
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x2
    Lightning Draw First person to up-vote a new Construct 3 release
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies