GeorgeZaharia's Forum Posts

  • you can also do append text as "& newline & 'new text' "

  • in Construct 2 there was this plugin r0j0hound made, was able to create and setup aI by levels etc and difficulty, not sure if is ported pretty sure might be... but i put together something in C3 by events only, hope it helps.

    the process is similar you give waypoints to a object and make it move by waypoints.

    Advanced

    ai car example (extras inside there for making a racing car being dependent on modular powerups like engine, turbo, aerodynamics, grip, weight, acceleration.) to understand what i did in there, it might require some time to go trough each and understand how they work, but il send you a simpler example, to make ai just spin no extra stuff.

    Beginner

    AI CAR easy example Bare Bone mechanics of AI CAR

  • In event 5, create a text object with the fade behavior at enemy, and set text to damage amount.

    event line 5, 1st action, and 8, 1st action, one for the player turn and one for the AI turn, spawn object text at the respective enemy/player character XY or imagepoint and set the text value to the enemy.dmg or player.dmg and as oosyrag said, having a fade out behavior on the text object will make it disapear after an amount of time, you can also set the bullet behavior and set angle of motion to 270 when text object is spawned, and make sure to untick the "set angle" from the text.bullet behavior default settings everything else you can leave as is.

    if you do it corectly, you should have a text object popup on the damaged party that will say the dmg done and the text will go upwards while slowly disapearing over 1 second as the default value of fade behavior is.

  • Our game on FB Instant Games - facebook.com/instantgames/203072127510377

    We are also selling Construct 3 source codes for these board games. Interested people can download them here - scirra.com/store/bundles/board-games-4209

    You can also download them from itch.io - itch.io/s/33698/shepherd-games-source-codes-construct-3

    snake&ladders is glitched you can continuously click the dice and it will just speed trough the game in 1 player mode.

  • You do not have permission to view this post

  • > change every 1 second to 0.1 or 0.2 seconds. that should do it. but it might be to CPU intensive... "thread" carefully

    I think maybe I didn't explain what I meant properly. I want the lines that the new bullets draw to overwrite the previous ones. And maybe change line color with each new line. To create a rainbow effect that I can modify further in the process.

    ahh i see you want the colors to change while redraws... well for that you have to change those RGB colors i think so lets say you have a max value of a color at 255 for red would be RGBA (255,0,0,1) and for GReen and blue the same 255 but in their respective RGB order.

    now you can do try this and see what happens

    you can try to count if Red Green or Blue reached 255... since we will increment all at 1 time the same speed so we have that rainbow psychedelic seizure inducing effect.

    Red < 255 add to RED 1 # add to Green 1 # add to Blue 1

    Red >= 255 set RED to 0 # GREEN to 0 # BLUE to 0

    this way you always loop the colors you can run this before your drawing on the everytick

    it should overlap or atleast be at the edge of each other based on your drawing updates, to overlap them you have to also move the XY position a certain distance so when you draw that from sprite 1 to 2 you can also make all the debug dots move since you are using them as drawing position i guess?

    hope it makes sense. il try put together a example file but im a bit color sensitive cause is like 12 am here and didn't slept.

    but to get that effect you have to move the XY and color values in a loop for sure.

  • You do not have permission to view this post

  • Thanks!

    Will check it out.

    Here is a more simple example than the one in that link above, that one might of been a bit to complicated but overall probably the same? depends on what you need to do with the moment, here is my approach to it.

    Qarp ping-pong loop in an ARC between A C B by t

  • Hi, hope this is what you mean, enjoy, it's using Quadratic interpolation, you could also try using Lerp? or Cos or Sin... depending on your movement and if you want to alter it anytime .. but the quadratic interpolation should be what you need, is a bit of a "advanced" way, but never fails.

    simple parabola?

    Cause to move from A to B in a semi circle or arc... you need also a C ... and a time variable to make it travel or control the movement.

    so the movement doesn't really happen as a straight line from A to B directly it goes A to N to B by Time(or a fluctuating variable, we use time is the most useful.)

  • change every 1 second to 0.1 or 0.2 seconds. that should do it. but it might be to CPU intensive... "thread" carefully

  • Thanks. Really grateful for the help I've been getting.

    Off topic : hehe, don't worry he will be taking his fair share of blood soon >.> when the equinox blood moon happens, he will be doing a sacrifice ... newbies are a "must" attendance >:)

    Still Off topic : yea community is like that here, helpful :D Welcome to the familly.

  • Hi, depending on how you trigger the damage on the same line you need to spawn a text object and asign the dmg done to it's text function like bellow

    //lets take a "on clicked sprite" condition, with a variable "health" variable on a sprite object.
    
    on clicked Sprite > spawn text to sprite origin point 
    ----------------- > subtract from health 20
    ----------------- > set text.text to 20
    

    something like that, and then you can customize the text movement and damage done by adding more variables, like the 20 to be a randomized variable based on enemy armor/defence/health etc... but to spawn the actual visible damage you will eventually have something similar to above pseudo code.

    Hope this is what you meant.

    for a more concise solution, we need a screenshot atleast of the code area where you trigger the damage done to characters.

  • Hi, just sharing a RPG style Radar Chart based on Stats using the new Mesh ability of the sprites.

    See it in action here

    You can download it in the above link, or on the bellow link that is hosted on my drive, it will never be deleted unless google decides to stop gDrive in the future.

    Download from google drive

  • you need to place a bullet behavior on your turrets bullets so they can move. they have no movement behavior as i see on their behavior as is.

  • GeorgeZaharia I thought this was working...maybe its not? but I noticed there's no way to say not-onscreen in the evaluate expression. Any ideas of what I should do instead?

    right click on "is on screen" and select inverted that counts as not on screen

    Edited: you mean the Else? i think Else needs a secondary condition in order to work properly like

    Else
    Inverted X Is on screen
    

    add me on discord if you have more questions :) i got a coffee and nothing to do, il be around for a couple more hours.