harrio's Recent Forum Activity

  • game gallery?

  • i realized after i separated the enemy movement from the collisions with the side barriers, that i did not even need the side barriers.

    i replaced the checks for barrier right/left collisions with math conditions; enemy.X >= 600 or enemy.X <= 40, and it worked the same.

    less resources for the same functionality is always better i suppose.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • yeah, i was too lazy to change that. i actually meant the conjunctions of 'if/else' and 'and/or'. hope i did not confuse any noobs.

    and if anyone sees a cleaner/more elegant way of making it work, i'll be glad to see it. every little bit helps when you're learning new software.

    and thanks again for helping me with the 'capx' thing.

  • for anyone who may be interested...

    http://dl.dropbox.com/u/6707683/construct.../barney%20march%20test%202.capx

    it's not as if this was some great problem or bug that needed a solution, and the main reason it took me a while to get it right was because c2 simply doesn't have all the conditions that would have made it simple...yet. like "if", "else" or "or".

    but, as a noob with any engine, i usually start with implementing space invader movement to gauge how easy the software is to learn, and how simply it can create this straight forward movement type. and without being complete, it got the job done.

    i ended up having to separate the enemy movements from the side barrier collisions, to get around the picking thing. and i had to check for 'down' first, separately from the left/right checks. i also had two variables tracking movement; enemy_direction was a text variable that tracked down/left/right, while enemy_interval tracked just the left/right interval.

    so there you have it. a whole lot of hulabaloo over something not that important. but i hope it might be of some help to other noobs.

  • got it...thanks arima.

    i apologize to everyone who took time to help, only to be hindered by my boneheadedness.

    edit: i changed the link to the capx file for anyone morbidly interested.

  • sorry you could not open the cap. did i link the wrong file? is anyone else having a problem opening the cap?

    instead of the fake 'global' variables i did, i'm going to try a sort of fake 'state' engine, which will be similar to what you suggested yar.

    i'm going to have one text variable attached to the background sprite with the possible values of 'left, right, down' and i'll have different events for those values, which i hope 'all' of the enemy sprites will obey...in unison.

    thanks for the suggestion...

  • hello everyone,

    my problem may exist simply because i may need global variables, or some other nuance as not yet included in c2. so i'm asking if any of you know as much to be true.

    i have some enemy actors simulating 'space invader' movement. as they incrementally approach invisible barriers on either side of the screen, they are suppose to drop down in unison, and reverse course. i've got them to move incrementally, and to reverse course in unison, by sort of faking global variables, by creating the movement variables in the background sprite. but the enemies won't drop down in unison. only the enemy that 'collides' with the barrier actually moves down.

    i suspect this is some kind of 'picking' issue. but i don't know much about picking rules. i'm still very new to the engine. so i would appreciate someone letting me know if i am just doing it wrong, or if it is something that has to wait for an update before i can complete it.

    cap file... http://dl.dropbox.com/u/6707683/construct.../barney%20march%20test.capx

    thanks for any help...

  • just as i thought, something stupid on my part.

    thank you sir

  • hello newb here,

    just starting with c2. it's a simple shooter demo, but i was unable to get the enemies to spawn/create in the scene. so i had to place them in the layout, outside of view and change their positions at 'start of layout'. but i had the same problem with trying to spawn/create the bullets for the player ship.

    cap included here... http://dl.dropbox.com/u/6707683/kill%20barney/kill%20barney%202.capx

    am i doing something stupid? i appreciate any help.

harrio's avatar

harrio

Member since 24 Feb, 2011

None one is following harrio yet!

Connect with harrio

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies