ConraKojiro's Recent Forum Activity

  • How to I organize my objects to that their Y position sets their Z order, I basically want it to set to that if something has a higher y position it will be above other sprites to add depth. I can't seem to see anything about it other than plugins which I don't know how to set up.

    Thanks,

    Conra

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Asmodean

    It's still giving me the same errors. What is the conditions for events: 3, 5 and 6?

    Thanks

  • randomly

    I sort of understand. I'll need to run it through Construct first to get a feel for it. The only drawback is I was probably going to set the X and Y positions as follows:

    X ---> spawner.x(specific instance) + random(-250,250)

    Y ---> spawner.y(specific instance) + random(-250,250)

    This was enemies don't spawn EXACTLY on the spawnpoints, just around that general area. I mean I would just set the enemy so that it waits 0.1 seconds after it has been creation to add (-250, 250) to both the X and Y values it already has after being sent to one of the spawners but.

    Asmodean

    It get what you mean, to an extent, since i've never tried it before it's a bit hazey for me. If I can get this to work i'll probably go with this one since FOR NOW i'm not bothered where enemies spawn but later down the line I might add other biomes in so specific enemies will appear there. I downloaded the files you sent me on Google Drive. But when I launch them in Construct 2 it says it can't locate the Layouts? It refuses to launch it at all. Even says to me that the animations are missing for objects but I can see them in the folder... Any idea as to why it's doing this?

  • Before I tackle this I wanted to see others think before I attempt it myself first.

    What i'm trying to achieve is an infinite game, I want the player to endlessry run around killing enemies and they'll re-spawn outside the player's field of view. But how i've concepted it goes like this:

    At the beginning of the layout i'm going to spawn a bunch of enemies in the room.

    I figured that i'd just check to see how many instances of the object are in the layout and if it goes under a certain amount of instances i'd spawn more but the problem is, if I spawn one and set the location as random.

    Then there's a chance it will spawn on the player or within the players field of views. I don't want this.

    So I concept that i'd make a bunch of spawners and scatter them all around the map so the game just chooses one of them as a spawn location for the enemy. But I still don't know how to remove the spawners that are in the players field of view from the choose() function. I'm still pretty new.

    I thought up this way, but it seems a bit ineffective and the amount of object spawners on the map might cause performance issues for lower spec computers since I want to make the map quite large. If I had to compare what I'm trying to achieve to a game. Check out someone fighting in Godlands in Realm of the Mad God. Although it's a small area in the map enemies will constantly re-spawn as long as players aren't around.

    If there's any easier alternatives i'd love to hear them. Thanks for your time.

    Conra

  • Is there a way to upload my project file privately? Since it's bare bones I don't mind sharing it if it will help me overcome this problem.

    Thank you for the quick response, didn't know the forum was this fast for a response feel bad for taking so long to respond haha.

  • So er, does anyone else get this annoying thing where something will work perfectly in one project and not in another?

    Right now I've got two problems (Got more than that but i'll use these two as an example):

    Class Selection:

    I have implemented 3 classes but for some reason player 1 can only access two, and player 2 can only access one.

    P1: Roama, Suar (Cannot access Zenist)

    P2: Roama (Cannot access Suar or Zenist)

    Any attempt to do access them and it sends me back to Roama...

    Now in my past project I had a space shooter that you cycle through 4 weapons and depending what weapon you had was a different shot. So i'm using that basis yet it's blocking me from accessing stuff this time round.

    I would argue it's to do with my programming but i've done this stuff before and it works fine.

    I'm thinking it's something to do with the program now because I set up this coding earlier as a test and yet it gave me this result...

    Every Tick > Player1HPText | Set text to "Player1" (Player1 is my global text variable for player 1's class, which is naturally set to Roama on start of layout.)

    Yet when I run the game normally it literally displays the letter "R".

    Even when I run in debug mode it tells me it's Roama the variable is Roama.

    So I tried the same thing with the Suar class and it did the same but gave me "S" instead.

    So you'd think it would be down to a problem with the size of my text box right? Wrong.

    My text is 16x16 per letter and my box is 200x25. I can have 12 letters and last time I checked Roama was 5 and Suar was 4.

    If anyone could tell me why I have these problems it'd be a massive help because this project is doing my head in yet my other

    projects have been fine with these easy stuff.

ConraKojiro's avatar

ConraKojiro

Member since 20 May, 2015

None one is following ConraKojiro yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies