insanesnake's Forum Posts

  • Ashley it seems to load everything in when I debug. but that it, program wont run a single line. screen is black.

    as soon as I take the turret out of the container it runs like normal again.

    due to other reasons I can't share the project publicly.

  • You do not have permission to view this post

  • So I'm still working on a towerdefense game. now I didn't want my towers to rotate. So I decided to make an invisible turret using the turret behaviour on top of the tower sprite.

    Now I just ran into the issue of how to destroy said turret when destroying the tower. A quick search led me to using containers. But as soon as I made a container of a tower sprite and a turret with the behaviour the preview stopped working.

    So am I doing containers wrong, or is this a bug?

    if so, does anyone have a workaround?

  • Ah the problem for me was the " character was in there as well. I do not know how to space this character using spacing data, but I also don't need it for this project. so solved for now

  • can't you just use a sprite to overlay the los? seems like simplest solution to me

  • I'm trying to use this spritefont.

    opengameart.org/content/cool-sprite-fonts

    but for some reason I can't get spacing data to work.

    I'm using the following:

    [

    [21, "i"], [22, "'`"], [23, ".,;:!"], [24, "I°"], [28, "l1)"], [29, "("], [30, "u"], [31, "cjv*"], [32, "Ladfknoqxy[]"], [33, "bghpsz"], [34, "er-"+=<"], [35, "JUV#>"], [36, "C0?"], [37, "AFKNOXYt69\\/%"], [38, "DGHPQR47&@"], [39, "SZm258$"], [40, "BE3"], [41, "w©"], [42, "T"], [46, "M"], [49, "W"]]

    but it doesn't seem to change anything. I've tried searching the forum and tutorials but couldn't figure out what I'm doing wrong here.

  • AllanR

    well that was a quick solve. thanks a lot! Made it search for a path every X seconds and it works perfectly now

  • So I'm making a tower defence game and added path finding on my monsters. I'm regenerating the path every time a new tower gets build. and this works. sort off. the problem is that some enemies still ignore the tower.

    works as follows, monster is a family

    -new tower build sets bool to true.

    -when bool is true

    -for each monster

    -regenerate obstacle map

    -find path to

    -set bool to false.

    now what I'm guessing is happening is that the first monster to find a new path sets the bool to false. making the other monsters follow their original path.

    any idea on how to fix this?

    Tagged:

  • So I'm having an issue with a certain event.

    I made a mute button

    this works fine in my engine. but completely stops working when uploaded to kong.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is this not just a setting on your phone? My apk goes fullscreen by using that command without a bar

  • Thanks oosyrag, I never thought a single sprite would run into issues. but thanks to the article it makes a lot of sense now. I'll have to think of a different way of doing this.

  • So I've started working on a prototype for a game.

    not that it really matters why, But I needed a massive sprite for this which would simulate the earth so to speak.

    whilst trying to create said sprite. construct crashes.

    So my question is if there is a limit to size, or is it just that I cant use the build in sprite maker to make them?

    were talking 100kx100k pixels here.

  • Nevermind, I'm an idiot who doesn't know how to copy settings from one sprite to another. problem was linear damping was slightly off. resulting in slightly different results

  • Totally agree NetOne, as this is how I calculated it.

    problem seems to be that I don't really know the area. it uses the collision box, but I use the circle collision box from the physics behavior. straightforward method would be that it uses the entire sprite and therefor give a diameter of 18 pixels of the large one and 9 pixels on the smaller one.

    but this does not seem to be the case.

  • I'd use an array. You could store pretty much all data about a monster on a single line and access it easily when in the pokedex.

    Though I'm not really sure ehat you mean with acces this data to play different minigames. Do you want to play them within the pokedex? Or use it as a trigger to send you to a different layout?