LittleStain's Recent Forum Activity

  • simplification:

    save the time and date

    and on start compare the current time and date with the saved one..

  • I guess in this case using containers would be helpfull..

    put the lifebar in the container with the enemy and it will spawn with it..

    Also instead of setting position every tick it might be better to use the pin behaviour..

  • That's what your event says isn't it..

    when in touch set angle, so when not in touch don't set angle..

    If you want the player to keep the angle, you should add some event for what to do when not in touch, or in this case it's better to set it at touch end..

    on any touch end player set angle to player.angle should work..

  • Something like:

    set timer for 3 seconds

    on timer set group scaling active..

    in the group scaling have your scaling events..

  • I'm not sure what you are trying to achieve, but would using the timer behahiour work?

  • You do not have permission to view this post

  • Make a new event

    common item -on created

    common itemid = 1

    -- set to random actions

    and remove the common itemid=1 subevent from the dropevent..

  • The issue is that after the path has been drawn, the bullet isn't at the starting position of the path anymore, so you should create events in which you tell the bullet what to do..

    Or you should only make it possible to create a path in the general direction the bullet is travelling..

    Question remains.. What do you expect the bullet to do when selected?

    Should it stop? Continue to fly but make a u-turn back to the path?

    Following the path immediately will be a problem because the bullet will have flown past the path start the next tick..

  • sprite is within angle - sprite set mirrored..

  • You do not have permission to view this post

  • Add a seperator after the amount of text that can be displayed in one textbox is reached, for instance |

    (choose a seperator that won't appear in your text)

    add a variable WhichPageAmI

    set the textbox to tokenat("YourText",WhichPageAmI,"|")

    on next page just add 1 to WhichPageAmI

    so if the text is

    With Scirra Construct you can create the most awesome games and if you need help you just ask on the forum.

    and you add | somewhere..

    With Scirra Construct you can create the most awesome games |and if you need help you just ask on the forum.

    now you have TokenAt 1 and TokenAt 2

    This way you could very easily chop your text up into pieces without chopping your text up..

  • It's all possible..

    Maybe you should use arrays for your weapons and use functions to calculate everything you want..

    What I would do is start making the basics you'd like and come here when you have issues that can be solved..

    Like the pin example, you say you've tried, so maybe you can upload a capx in which you have the problem so we can work on that?

    It's much easier to solve a problem, than to create a game..

    About the enemies:

    Give them line of sight behaviour or detect the distance between player and enemy..

    If player is not in sight move towards player..

    Minor stupidity would just be adding a bit of random to the shooting angle and such..

    Experience would either be a global or instance variable

    on enemy destroyed - add 1 to variable

    set experienceBar to experienceBar.width + 5

    A menu would be created visually from info in an array..

    Because you have so many possibilities I think learning about arrays is inevitable..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies