VIKINGS's Forum Posts

  • 1. K, I figured out how to check it, I was missing it cause I was looking at actions, had to add a subevent first. Thank you linkman2004

    2. Well that's what I am confused about, if I start both of them at 1(and keep going) will all 50 levels fit in an array with width=50? Do I have to start at 0,0 for them to fit or make the array width=51/height=4 if I want to start them both at 1?

  • Try these steps:

    1. Put your background picture in as tiled background, not sprite.

    2. Change it's origin point to 0,0 and then move it to position 0,0.

    3. Resize it so that it's y(if you want height) is twice the size of your layout.

    4. Add a bullet behavior to it.(speed= whatever you want, acceleration=0, gravity=0, bounce of solids=no, set angle=no, initial state=enabled)

    5. Add event: on start of layout>tiled background-set bullet angle of motion to xx degrees(90 degrees if you want it to go down or 270 if you want it to go up)

    6. Add another event: tiled background- y is less or equal to Self.Height / 2 action: tiled backround set y to Self.Y + Self.Height / 2

  • Awesome vids ArcaEd, keep it up please. Thank you very much for everything you're teaching us!:D

  • Hello World,

    So I have to use an array for my score values and this is how I plan to set it up:

    50 levels=50 array width

    3 difficulty levels=3 array height

    3 global variables: "Difficulty", "LevelNumber", "Score"

    Event: on end of layout Set value at(LevelNumber, Difficulty) to Score

    So what I have achieved there(unless I am mistaken) is that every time the layout ends the game checks to see what level you are on, what difficulty you have chosen, and then saves the current score in the appropiate place(level&difficulty).

    I have 2 problems so far:

    1. Is there any way to make it so that the score will be saved only if it's value is higher then what is already in that slot in the array?

    2. I am confused by the following quote from the manual:

    "Note like the rest of Construct 2, indices are zero-based, so the first element is at 0. In this example, Array.At(0, 0) would return the first number in the grid."

    What exactly does that mean? If I put 3 for my array height, does that mean I have 4 columns, one for 0, one for 1, one for 2 and one for 3? And where exactly do I store my values... cause I would like level 1 to be stored at x 1 in the array. So if you play level 1 on easy difficulty(lowest possible) then the value would be store at x:1 and y:1 in the array; would all 50 levels fit then if I don't use the 0,0 thing?

    Sigh, I am totally confused by this part, guess that's obvious.....

    Please help, thank you.

  • Looks similar to what I want LittleStain , but I'm not sure that that one uses the right algorithm for what I want to end up with.(still shopping around for the right algorithm)

    Ok.... I'm a bit confused Lordshiva1948 , what am I supposed to download from that list?

  • Hello World,

    Is it be possible to create a randomly generated maze with C2? And if it is, how would one approach doing such a thing? After a quick google search(I'll have to do a more serious one later) I was thinking of maybe using the depth-first search algorithm.

    Check THIS link out, scroll down and you can see a video of the depth-first search algorithm in action.

    So how would I go about doing such a thing? What plugins would I have to use? Maybe there already is a plugin that does all the work for me? Would I have to learn&use functions with it? Can I just trow togheter a couple of events that mimic what the wiki says about how this algorithm works? What's the process?

    As much info and detail you guys can give me would be very much appreciated.

    Thank you.

    P.S. Of course there are a lot of other questions that concern me and need be asked. For example how would the current mobile hardware handle this, would it take a long time to generate a maze? I know it already has problems with pahtfinding in that regard, and this seems to be much more complex. Another issue would be that while it draws the maze it would have to attach sprites to it's "walls", would that be doable?

  • Great, exactly what I wanted to know. Thank you very much.

  • I've managed to get game services to work with someones help myself. But it's a long and arduous process with a lot of steps...

    Maybe one day I'll try to gather everything I've learned and make a nice, easy to follow tutorial.

    But for now just private message me with exactly what you've done so far and where you are stuck and I'll try to help and guide you through it.

  • Hello World,

    If I use behaviors like platform and bullet, how can I add to the values I initially set?

    For example let's say the platform behavior of an object has max speed 300 initially. Then I want to have an event every x seconds add +10 to max speed. So I use system event every x seconds then set max speed action and then what do I write there...? Because I don't want it to just set a new max speed, I want it to add to the current max speed, or acceleration or whatever I choose.

    If I wasn't clear enough let me know guys and I'll be glad to clarify myself.

    Thank you everyone.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, thank you very much guys.

  • Well, sadly those that have neighter will have to create an account. I've decided to integrate both of them from now on.

    Thank you guys.

  • Hello World,

    Is there any danger in having 2 instances of C2 open at the same time? One where I work in, and another where I consult a tutorial for example? Any chance of anything getting... "transferred" for lack of a better word, or bugs popping up, etc. Any chance of anything going wrong at all?

    Thank you.

  • Yeah, I was thinking about that myself, as I've gotten mix responses on all the forums where I asked.

  • Hello World,

    I'd like to pick your minds please. So answer the poll please, and olso reply with why you chose what you chose, any pros/cons?

    Thank you.

    Which do you preffer in the android games you play, a facebook leaderboard or a google play/g+ one?

    a. Facebook leaderboards.

    b. Google play leaderboards.

  • Hello World,

    I have finally finished&released my very first game, yaaaay. <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> At the moment it's just for android, not sure when I'll have the money to get an ios license.

    You have the link below, I'd love it if you guys would check it out and let me know what you think. Any suggestions/criticism is appreciated, as long as it's constructive.

    And if you happen to like the game maybe you could please give it a review and rate it with a nice star, share it on your facebook, twitter, etc.

    https://play.google.com/store/apps/deta ... uttyFlyers

    Thank you all very much.

    P.S. This is sooooo exciting!! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">