EpicRaid's Recent Forum Activity

  • Yup, an option Right click > Close tab would be great to have, I still ocassionally accidentally close one of the tabs, damn that one click x! So far my only solution is to give the layouts and event sheets longer names, so you'll less likely click that x, but that can easily double your tab row, which also eats up your work 'space'.

    P.S. A bit off topic but I had some random C3 editor tab 'lockups' before, after choosing a new image in the sprite editor, and closing the sprite editor, it would forever show a loading cursor, and you can't do anything anymore in the C3 editor. Which is basically a total loss of work. I didn't encounter that anymore, but I didn't see any stable release update. Something was changed/updated in Chrome perhaps?

  • I would definitely recommend uploading a trailer to Youtube instead. You'll get more views and currently it's a bit cumbersome to download it from someone's Drive without knowing what the video is about. You can insert the URL of the Youtube video in your original post. Just a tip ;)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks man!

    Your latest example is exactly what I was looking for. I've nothing to add.

    That made my day! :)

  • Hey no worries, thanks so much for this! It works like a charm. I only changed the code so it always points at the target.

    Wouldn't it be great to have tick box in the Tween behavior that says 'Update Tween until at position' or something? That would've made it a lot easier!

    Is it possible to have the Arrow to be always positioned top left by X and Y -100 pixels from the Target and Player position, so that it doesn't point at their centre all the time when it's not 'tweening'?

    Also, can the Arrow 'tween' slower? Tried changing the Timers but I couldn't see a difference.

    Thanks!

  • Hey, you should click: Add event > System > Compare variable. In order to get the variable you should right click at the very top of your event sheet and choose 'Add global variable'.

    I could explain it all step by step but I'm thinking if you try the Construct 3 beginners Tutorial, you will learn all of this and much more :) Otherwise it would be much too time consuming for me.

    construct.net/en/tutorials/beginners-guide-construct-1

    Of course, if you get stuck with something you can always ask here.

  • Yeah so my code basically works like this:

    Event 231; Arrow should always point angle at Target2

    Event 232 speaks for itself

    Event 233; I have an instance variable on the Player car, which starts by default at 1. I had to add this variable because otherwise the arrow would start tweening from Target2 towards the Player when the layout runs or position of the Player is reset and those two objects are far apart. And it should do this only once for each time the position of the Player is reset.

    So that's why the instance variable is set up like that.

    Even 234; This is where I want the arrow to keep pointing at Target2 when the tween finishes, only when within LoS. The -50 X and -50 Y is so it won't point at the centre of the object but I'm sure you got that.

    The remaining events are basically a 'copy' to make it tween back that's correct.

    Hopefully I was able to make it a bit more clear.

    I'm going to try and see if I can make it work with your new example! Thanks!

  • I'm not sure you can modify a game like that, by using Chrome's devtools. Wouldn't be nice if someone could.

  • where and how i do this? can help me please?

    The 'Set time scale' can be found when you add an action. Double click on 'System' after clicking 'Add action'. Then search for the 'Set time scale' action and add it. You will need something that triggers it; add a condition for that.

  • I can open them all no problem.

    They are all 3D projects, coincidence?

    What device are you trying to open them with?

  • It's hard to say, could be anything. Also hard to say since we can't look into your project.

    However, the moving block might already have been 'activated' (moving) when the game is being played through something in your events. Make sure it only starts moving when the cutscene layout is accessed.

  • Hey,

    Thanks for posting that example.

    I fiddled with it a bit, but am not able to implement it just yet. This is what my code originally looks like;

    Had to code it so the arrow keeps at a steady position around the Player when it is moving and doesn't have its Target in sight.

    The tweens work, its just that they finish at an outdated position.

    It's hard to implement a different code example in your own!

    I fiddled with it but I'm not able to make it work, bit confused where to put the code, since I have an 'in' and 'out' tween so the events work differently. The arrows should move smoothly to/back when its in/out of range.

    P.S. The instance variable 'ArrowTween' in my example, I used a local variable for it first instead, but that didn't make it work. It wasn't until I replaced it with an instance variable that it worked. Maybe a bit off topic, but was wondering why that doesn't work? It should do the exact same thing.

  • Something like this?

EpicRaid's avatar

EpicRaid

Member since 13 Feb, 2015

Twitter
EpicRaid has 17 followers

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies