hugone's Recent Forum Activity

  • Woah, hugone! Just noticed your example with perspective jumper and was in... awe, mucho!!!!!!!!! 8-) Close to what I was intended, thanks.

    you are welcome!

    Tweens and Bullet: Bullet is dynamics, would not vote for it anyway, as it is suitable for different gameplay concept.

    complete agree!

    Why would you avoid LiteTween? I thought that LT would give more intuitive control over trajectory adjustments, like for variable jump heights, quicker to set up.

    well also true depending on the case... as I showed to you lerp do the trick with complete control over the animation (or trajectory, etc), depending on the case.

    in general, in my modest opinion, if you could do anything not using third party plugins (as is this case), the better. In the past, I was a huge fan of any new addon/plugging and I was using it even if it had no sense to do it.

    Example: you were using the tween for both objects, the BoxChar and the Shadow... this could lead to problems (you got two independent procedures that you will have to sync) and when the game gets more complex you can end up with performance issues. As you can see in the example the shadow do take values from the BoxChar.. so you don't force the CPU to make extra work (when the game is not still complex there its not problem, but if you don't plan it good, then eventually may happen that you will expend more time optimize than doing it)

    tween its really nice to use too, especially it's so simple to use it in bounces, etc... in very strict 2D, but for this special case (where you have to combine and concatenate tweens) it will be more a headache than a help.

    I like your Case (move) branching, makes entire code more structured.

    well, in my example I don't like that I used global variables for everything (I used for the initial screenshot before you updated C2 to show all in one image)... if it is about the movement of the BoxChar I advice you to make an instance variable of that object (move,startX, etc). That way will look even more clear when you got much more objects around.

    Is this still hardware independent, since you use dt increments?

    yes using dt you got the hardware independence.

    Your example made me completely reconsider my approaches to the code, as I naively thought that everything must reside under everyTick. I will post an update with what I ended up. Gracias!

    I am very happy I show you another way of doing it! es un placer amigo!

  • You do not have permission to view this post

  • Hope this screenshot it's useful for you both

  • Yes, that would be possible,

    is not that its possible, its the way... and its "automatically"

    but, there is a way to do it like automatically? Because, whenever is an enemy on screen, the bar is automatically

    ... when the bullet hit the Enemies family <--- this is a trigger

    -----> use "on collision", its a trigger event for that specific enemy.

    anyway... I could not solve better without further information, we can help you but to make it that blind its kinda impossible... its better to make a screenshot or even better a capx on drive or dropbox so its simple to see where you are stuck at (this way can be seen your use of family, that can be appropriate or not, etc).

    And by the way, the use of the family or container was not originally a prerogative in your question as far as I can see you said:

    I tried using container and family ( idk if i used then wrong ), but, I couldn't do what I'm trying.

    so based on your words "family" and "container" were two means of reaching your goal...

    in further questions, I would suggest you explain the problem much clear so you will get an answer, this about: "can be done like this, but" "it's not the point" it's not polite when someone uses his time sharing knowledge with you... and then we play that we know more than the other, I have no aim to show I know anything better than you or the other guy, I would be glad if you could help me in my questions about something you know better than me...

    so less show and more try before answer...

    thanks for your time and hope will be useful for the screenshot with an example made in 2 min... if any doubt, don't hesitate in asking. If I understood you correctly this should work for you.

  • the best way to communicate will be by WebSockets...

    C2 have a plugin very simple to use.

    Server... for NodeJS try: github.com/websockets/ws

  • Hello its really simple, look:

    you need to create a instance variable on that object. when you create a new copy you just have to change that instance variable for something that identifies, for example:

    create new spriteBar

    spriteBar.variable = "player"

    create new spriteBar

    spriteBar.variable = "enemy"

    when you want to hide only player bar:

    system/pick by comparation/ pick spriteBar which SpriteBar.variable = "player"

    ---- > spriteBar set visible to invisible

    so you can pick any copy of the same object identifying it by variables and treat for the most cases as a different object

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Damm, this I didn´t try and make a whole lot of sense!

    thank you!

    P.S. and about erase canvas (as in scratch games or lemmings) do you know anything?

  • a) rotate canvas - not possible. Vote for the idea to add it:

    https://construct3.ideas.aha.io/ideas/C3-I-1050

    I already did before I wrote this comment.. I am too desperate about it :)

    d) paste offscreen objects - it works for me.

    about d) do you have any sharing example?... the way I do (as worked in paster) do not work... and I squeezed my mind in order to try everything up to my knowledge.. ;(

    thank you very much for your support!

  • blackhornet, I see... pity, thanks for your reply..

    can I ask you how could I make kinda scratch game with this canvas plugin? I tried so hard and can not find the way...

    do you have any example about in c3p?

    another question its regarding other uses I make of paster..

    1) pasting objects offscreen

    2) pasting object and then resize canvas

    3) rotating canvas after pasting...

    would you be so kind to try to help me on this? I need to move to C3 but this is making me really crazy.

  • Hello!

    does anyone can share a way yo make work the canvas plugin in the same way as paster?

    I mean I need to

    a) rotate canvas,

    b) change resolution of canvas,

    c) change size of canvas after pasting objects

    d) paste offscreen objects

    what of this things can be not achieved and which ones can be achieved?

    any c3p will be really apreciated

hugone's avatar

hugone

Member since 21 Nov, 2018

Twitter
hugone has 1 followers

Trophy Case

  • 6-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies