mcsweden1's Forum Posts

  • Nevermind, problem solved!

  • I do ofcourse know how to place a block randomly, but i do not know how to multiply the and make em go everywhere

  • Hello, i have been thinking of trying to make sort of a terraria clone and right away i run into a problem.

    I thought that i would first figure out how to randomly generate the blocks when the game started, but i have no idea how to do this! Any ideas?

  • Hey there!

    I am currently making a Tower defense game and with this i am creating enemies that has increasing health each wave. The formula goes CurrentWave*5 which means that on wave 1 they have 5 health, wave 2 10 health, wave 3 15 health and so on and so no. Problem is that i want to add healthbars on top of their little heads, and i since i want to accurately show the health that they have i have made the healthbars width to set after their current health. This of course makes their healthsbars insanely long after a few waves, covering the entire room at later waves.

    So my question is, do you have any ideas on how i could make a static expanding bar but still accurately show the health of my enemies? Or perhaps you have a better idea on how to show their health.

    Any tip is appreciated

    Thanks in advance!

  • Oh i had no idea about that. Yes that would be a thousand times easier, thanks for the help!

  • I have also tried having the "Player" create the object, but i got the same result.

  • Pic didnt work. Here is a link dl.dropboxusercontent.com/u/168588892/Problem.JPG

  • Hey!

    I am making a shooter that invovles a little ship shooting aliens. I am right now working on upgrades for the ship and one of the upgrades that i want to include is a little automatic turret that helps the ship shoot aliens. I have ran into a slight problem tho.

    I created a text that is going to work as a button to buy the turret and made the ship into a container for the turret. All of that works fine, but when i click the button it just spawns a second ship and a third if i click again and so on. They do have the turrets on their backs, but i dont want multiple ships flying around.

    <img src="http://s928.photobucket.com/user/marcusengman/media/Problem_zps2a83f3d9.jpglfilters%5buser%5d=137928730&filters%5brecent%5d=1&sort=1&o=0" border="0" />

    These are the events that i am using for the it all to work.

  • Solved it by changing targets to be found very tick. Still very wierd that it happened tho.

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/168588892/TowerDefense.capx

    Steps to reproduce:

    1. Just run the capx file

    2.

    3.

    Observed result:

    While trying a new HUD upgrade for my game i disabled a few events to make sure they didnt interfere with the new ones. But upon re-enabling them the towers stopped working (Its a tower defence.

    Expected result:

    Was expecting for the towers to target the enemies and shoot them.

    Browsers affected:

    Chrome: yes/no

    Firefox: yes/no

    Internet Explorer: yes/no

    Operating system & service pack:

    Construct 2 version:

  • Hey guys! Ive been having some healthbar problems. I am making a towerdefence and ofcourse i want the enemies in this game to become harder with each wave. So i have added a event that adds 5*CurrentWave to their health each wave. The only problem is that this expands the healthbar as well, which makes for some ridiculously long healthbars after a few waves. Any ideas on how i could make the healthbar set to 1 specific width and make sure it doesnt expand when more health is added?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great tutorial! Thanks for the tip :) Yeah defo, its a bummer hehe.

  • Ah okay thanks. No im not very used to this so all i have is the file where it doesnt work.

  • Hello. I am making a tower defense game. And yesterday i decided to experiment with my towers placement and removed an event that made the System create a tower at round((Mouse.X - 16) / 32) * 32 + 16, round((Mouse.Y - 16) / 32) * 32 + 16. So i removed that, and when the other thing i was going to try didnt work i added it again, the only problem was that the towers wasnt moving as smooth as they should. Before it was removed they just stood in one place and rotated around, but now they first move out a bit, aim at the target and then shoot. It doesnt really ruin the gameplay it just doesnt look very good. How should i go about to fix it?

    kongregate.com/games/MarQs/ladybug-massacre

    Here is a early version of the game with the towerproblem, so you get a better idea of what im talking about.

  • Hey! Yesterday i spent a few hours finetuning my game, and i exported a few versions of it just to have something to reference to if something went wrong(atleast thats what i hoped to do). And then something inevitably went wrong, and i tried to open up the exported project in construct again, but i cant figure out how to do this. Is it even possible to open a exported project in Construct again?