LI0NHART's Recent Forum Activity

  • Playing around with the particals plugin the other day for the 1st time, i found that it wasn't suitable for fetteti as its made from only 1 image (which would be boring). So i would like to request (if possible) to improve it so its like a sprite object were the user could input multiple image frames. Then the user could select frames in their coding and serve a greater use.

  • I have one sprite instance and have 12 npcs with their different walking animations for each direction.

    boy1left

    boy1right

    boy1up

    boy1down

    boy2left

    boy2right

    boy2up

    boy2down

    How do i get it to play the correct direction with the correct boy?, i need the expression to say "whatever boy is playing and the direction".

    set animation to "boy1" & "up" (the "up" part is determined by a value)

    The above code works with fine with one npc per different object sprite but im trying to combine them all in one sprite. Can this be done?

  • Thanks guys,

    Aphrodite, your method worked but i work it out a different way b4 your reply which is:

    set width to enemychuchugreen.health/5

    since full bar is 20 pixels and health points is 100 the division is 5 therefore nomatter what value the healtpoints value is it sets the pixels width to that shared by 5

  • I have a health bar at 20 pixels width(max) and variable healthpoints of 100(max)

    if i want it the healthpoints variable to take 25 off how would i translate that to represent the width of the healthbar?

  • 3 mini games are now playable but nothing else major, sorted most animation on moves and made a few tweeks here and there and visual updates. I will be posting a video of the updated version soon.

  • Use Z ording

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm making a mini game like the one below.

    forward video to 3:20

    I've got 3 sprite markers in the middle of each band top,middle and bottom

    when an image scrolls past and overlaps it and a key is pressed, it "picks" that image. However sometimes 2 images will overlap the marker sprite and cause 2 images to be "picked". I've made my marker 1,1 in pixels to reduce the chance but it still can occur.

    My images are sprites with different images for each frame that wraps the screen

    So does anyknow of a way that it can never happen and therefore only 1 image from any 1 band can be "picked"

  • You also dont need to have it everytick as it stays on unless other wise commanded

  • Have you checked your collision box in the sprites animation frames, maybe they need adjusting?

  • Never used the touch before however if you try creating a variable called ("display") then do the following:

    on touch highscore then set "display" =1

    Then as a seperate set of events(not a sub of the touch event) do:

    If "diplay" =1

    system evertick

    highscore y>186 then (your actions)

    else set "display" =0

    Etc,etc

  • At work during reply i cant provide a capx.

    The duplicate sprite movement would be disabled and move out the pipe via another method(perhaps bullet object) then lets say your main (controllable player) sprite goes down a pipe(disabling its contol when fully inside the pipe) then you would have the second sprite move out from the other pipe and enable the controlls when its fully out of it giving illusion of the wrap.

    I think wrap work for edges of the screen only (exiting the screen on the left side will make the sprite appear on the right side).

    Hope that makes thing clearer

  • Could you not use system choose(layout1,layout2,etc,etc)? then store it and then call it?

LI0NHART's avatar

LI0NHART

Member since 11 Nov, 2012

Twitter
LI0NHART has 1 followers

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies