Milanbaudelaire's Recent Forum Activity

  • I'm importing it as a sprite strip into a sprite; 1 vertical cell, 8 horizontal.

  • I know that when a Sprite Sheet is imported, Construct 2 chops it into identical squares. How big are the squares?

    I have a sprite, H: 320px W: 102px. The strip I am trying to import is H: 2560px W: 102px.

    However, when I import it, Construct 2 only imports a fraction of the strip. I take this to mean that my sprites are too big?

    Do I have to make my sprite smaller, or is there a better way of importing it?

  • I feel like an idiot! That worked perfectly.

    I thought I had read somewhere that Solid Object was only a function for Platformer mode. Thanks so much, I was totally overthinking this.

  • I'm having a bit of trouble here... This is my first time using the 8-direction behavior.

    On certain layouts, I want the player to stick to the path, so I'd like to create some invisible barriers that the player cannot cross. I tried adding events where the player stops on collision with or overlaps the barrier, but then the player never moves again. If this were a platformer, I'd just toss in a couple of invisible solid objects and be done with it, but I'm having trouble with this.

    Any suggestions?

  • I understand, which is amazing because i am math-challenged! Thanks, randomly!

  • AWESOME SAUCE! It worked. Thanks, randomly!

    One more quick question if you don't mind... can you help me understand how the angles work? What if i wanted the center fireball to shoot at 0 degrees, and the other two to be 30 degrees distance from it?

    In one of your above answers, you said that the -20 is the highest angle, and the *10 is the distance between the angles. Would the code be -30+loopindex*30?

  • Thanks, randomly! But I am so new to this that I really can't comprehend what I'm supposed to do with the code you typed above! Here is the code I have so far...

    -------------

    Keyboard | On SPACE pressed --> Player | Spawn FIREBALL on layer 1 (image point 1)

    -------------

    Where do i put the "Repeat 3 times" condition? Where do I find that condition; under System, player, or fireball?

    What is

      ? What is this multiply sign
    • ? Where do I put those? What is a +loopindex and what does it do? Sorry for my lack of understanding.
  • One of my power-ups is a fireball that fires a set of 3 projectiles in a fan.

    How do I achieve this in the event sheet?

    I want to spawn 3 projectiles, all on the same key press, and have them fan out in different directions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That is totally what I have done, except for me it creates all sorts of weird bugs! Do all of your layouts draw from the Main event sheet, or do some layouts draw from different sheets? I will go crazy if I can't figure out the problem. After I code things I ask the program, "Work, please?" and it's like, "No, screw you."

  • Zenox98, how do you order your event sheets so that everything runs smoothly?

  • Hmm. So the advice about funneling all event sheets into one main event sheet was bad advice? What should I do? I have half a dozen event sheets now, and will have more.

  • This is going to be difficult to explain, but I will do my best: I'm having trouble understanding event sheets.

    it all began when I asked for help with positioning my player sprite correctly during a layout change:

    User LittleStain blessed me with a capx file that should have cleared it all up:

    https://www.dropbox.com/s/19ghhao7ql03au5/LayoutChangePosition.capx?dl=0

    I copied LittleStain's events TO THE T in a new project and could NOT get it to work. Let me be clear: When I ran LittleStain's program, it worked. When I ran my own, carefully-copied program, it did not work. It took me DAYS of wracking my brain on how my program could have a bug when I copied every step PERFECTLY until I realized that LittleStain used 2 separate event sheets. I, however, had combined everything onto one event sheet.

    Then I did a little experiment. I altered LittleStain's program by combining all the events onto one event sheet. The program ceased to function effectively. Then I went to my program and separated it between two event sheets, and included them both in a third, Main Event Sheet and ran the program using the Main one. The program did not function effectively. Then, on the Main sheet, I rearranged the order from:

    Include Event Sheet 1

    Include Event Sheet 2

    to:

    Include Event Sheet 2

    Include Event Sheet 1

    and it ceased to function, but in a totally different way than before.

    The problem is, with the main game I am creating, I have like 6 event sheets (so far) all included on a Main Event Sheet that I run the program from. I learned to do it this way from a tutorial I watched, because of saving RAM or something. No doubt this has been causing some of the bugs in my game that I haven't figured out yet, but what should I do? I seems that running the program from 6+ event sheets will be unorganized and confusing, and I really don't like the idea of having a new event sheet for every level that I create. What if I have 50 levels? That's 50 event sheets, plus the sheets I have for the player, each enemy, items, the HUD, pickups, etc.!

    Can someone please educate me about how to get multiple event sheets to work in harmony?

Milanbaudelaire's avatar

Milanbaudelaire

Member since 31 Dec, 2015

None one is following Milanbaudelaire yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies