UltimateArceus3's Recent Forum Activity

  • Did you check the font section on the properties bar to see if it's listed in C2?

    yup

  • newt

    Oops, I was writing this late at night, I meant a Text object, not a text box. Sorry.

  • I set a text object on Construct 2 to have the font "8 bitoperator JVE" but it doesn't seem to work.

    I made sure the font was properly installed on my computer, I even checked the Font section of the Control Panel on my computer and it's there.

    It has been going on for days!

    Any solutions?

  • Here's a one-event version!

    Ashley

    So many possibilities with your one event!

  • lunarray Fixed it up for me! The Problem is solved.

  • krisnk

    I tested on chrome browser and it worked fine, can you be more specific about the steps to reproduce the problem? And also, this is a wild guess but it is a behaviour, not a plugin, so you should put it into behavior folder, not plugin folder, maybe that is why?

    UltimateArceus3

    It does work with expression to some extent; Though you need to know how to convert numerics into strings and vice versa.

    I don't really understand the problem you encounter, are you using Set Target X and Set Target Y? Or are you using create/initialize tween? Sometimes using Set Target X and Set Target Y would be more convenient, depending on the case. I could help more if you could provide me with a simple capx describing what you want.

    I am not sure either. If it is on the weaker device with less processing power, it might be because LiteTween is using precalculated array instead of having to calculate the lerp every tick, so it is lighter on the CPU. But if it is on an adequate PC/mobile, lerp/dt should have about the same smoothness with linear LiteTween.

    lunarray

    Thanks! That fixed it up!

  • lunarray

    Can you make your LiteTween addon work with expressions?

    I'm trying to make an object move from 1 part of the screen to another. Variables don't work because I'm trying to use Positions, which is both X and Y, and I can't include a "," in the variable, or it will screw it up.

    Here is a link to my forum post of my problem.

    https://www.scirra.com/forum/how-do-i-make-an-object-go-to-an-x-y-of-the-screen_t180346

  • Also consider that a third-part addon may have issues, and in that case you may need to report it in the official topic for the addon.

    Kyatric

    Okay, I might try posting a comment to them.

  • I have been meaning to check out LiteTween lately - but I've been finding it just as easy to do them manually - so I'm not sure exactly what results you're getting.

    When you say "it does work, but not with the plugin" what do you mean? What part works and what part doesn't?

    If it's moving to the position, but then it's kind of "floating" around when you move - that's easy to solve. If it's something else, then try to explain specifically.

    ~Sol

    I got angry, so I decided to see if the viewpoint expression you gave me actually worked. So I made that if I clicked L, it would spawn that Heart at:

    X: ViewportLeft(0)+45

    Y: ViewportTop(0)+452.5

    And that worked. But Litetween doesn't take expressions, so I turned to variables, but that didn't help, either.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Canvas2Layer and Layer2Canvas thing I was talking about is more specifially used to track objects between varying layers of parallaxing. For example in my project I have a light source on a parallaxed layer, but the object that gives the illusion of it actually being "light" is on a non-parallaxed layer. I had to make the "light" follow the source between the varying parallax values... so this is the use of Layer2Canvas and Canvas2Layer.

    UltimateArceus3

    If you set your heart to something like:

    heart.x = ViewportLeft("whatever layer name or number")+5

    heart.Y = ViewportBottom("same layer name or whatever as above") -5

    It will place the heart at 5px from the left and 5px from the bottom of the current layer (UI layer?) and always stay there no matter where the player moves to.

    *EDIT*

    Kyatric ninja... ninja, RAH!

    ~Sol

    SoldjahBoy

    It does work, but I can't make it work with the plugin I'm using that makes it move to that position.

    The plugin I'm using is LiteTween.

    Here's the link:

    https://www.scirra.com/forum/behavior-litetween_t70700

  • You want the viewport expressions.

    [quote:njsazsfi]ViewportBottom(layer)

    ViewportLeft(layer)

    ViewportRight(layer)

    ViewportTop(layer)

    Return the viewport boundaries in layout co-ordinates of a given layer. Not all layers have the same viewport if they are parallaxed, scaled or rotated separately.

    oosyrag

    But how do I make it on a specific coordinate of the layer?

  • Why search an alternative to the system expressions that are exactly doing what you are attempting to do and requiring ?

    Also I'm confused by what you said : "so if I told an object to move that the player spawns in with that specific x, y coordinates, it would go there and not be on the player's screen."

    Could you detail exactly, and in order, what you are doing, what you are attempting to do, what you'd expect to do and what you are currently experiencing ?

    Posting a capx is not a bad idea either.

    You mention spawning something.

    [quote:2x09wlyx]Understand the picking of newly created/spawn instances since R101 - LINK

    as per the How do I FAQ

    Kyatric

    I'll explain.

    I'm trying to make some Undertale fangame, so I'm trying to make that heart thing when you encounter a battle go in a specific spot in the screen. The problem is, I don't know the expression for the X and Y of the screen, just regular X and Ys.

    The Regular X and Y that I'm using for the heart to move to is: 45, 452.5

    Here is a video to explain my problem: https://drive.google.com/file/d/0Bw7SYAAkapF1MFJrQnpfa2YtMGc/view

    On the first section of the video, it shows where the heart is supposed to move on to the screen, after I refreshed the page, I moved away from that section of the layout, and then the heart went to those regular coordinates.

    I'm trying to ask is, Is there a expression I can use so I can move that heart over to that section of the screen, like the X, Y of the Screen?

UltimateArceus3's avatar

UltimateArceus3

Member since 7 Jun, 2015

None one is following UltimateArceus3 yet!

Connect with UltimateArceus3

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies