7Soul's Forum Posts

  • Working on this for the Ludum Dare #20

    <img src="http://i56.tinypic.com/2wmi8ur.png">

    Will be done in less than 4 hours

  • I'm having a problem with arrays

    I started by making my array directly on events, just to test my game

    <img src="http://i52.tinypic.com/15qt18p.png">

    Then I moved on to creating it on a separate file, so I made an array editor:

    <img src="http://i55.tinypic.com/2ch9xk3.png">

    But then the game stoped working

    I saved both arrays, and they happen to have different sizes:

    <img src="http://i51.tinypic.com/wguhbn.png">

    And different content:

    <img src="http://i54.tinypic.com/bex1j5.png">

    But I loaded each of them into my array editor and both showed the same numbers

    Why is this happening?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What if I want to play it on a specific channel?

  • I want to check for higher priority every time. So if the turret is shoting a low priority object and a high priority object comes in range, it should switch targets to the one with higher priority

    2nd issue: well that sucks, but i've found a workaround for that, thx

  • bump

  • You say like this?

    <img src="http://i56.tinypic.com/ofatf4.gif">

    Still doesn't work (with and without the "pick with highest priority" event)

    ---

    And I have another question. Why can't I create an object and set it's variables right after it's creation? (btw, i'm using families for this too)

    If I have something like

    Every 1000 miliseconds > Create object by name "object"
                           > Set "family" "health" to 100[/code:3kqhidbd]
    Then it will set the health of all "object" at once, not only the one just created
    I have to set the health of the object's family because I don't know which object is being created, all I know is that it belongs to the family
  • I'm making a tower defense game and i'm using the turret behavior for it. It works just fine, but I want to add some more to it.

    There's going to be some buildings that the player may build towers nearby to destroy, but I want the towers to give priority to walking enemies, so they will only shoot the buildings if there is no walking enemy in range

    <img src="http://i54.tinypic.com/155kuoj.gif">

    Black: building that is being shot by blue turret

    Blue: will switch targets if red walks in range

    Red: is higher priority than black

    This is the "get target" event

    <img src="http://i56.tinypic.com/30djiax.gif">

    Both walking enemy and building are in the "Enemy" family

    "Items" family is the turret family

    I tryed giving each enemy a "priority" variable, and tell turret to "pick Enemy with highest 'priority'", but that did nothing. It just locks on the building untill it's destroyed

  • <img src="http://oi54.tinypic.com/2mma1co.gif">

    Info:

    Name: Outcry

    Type: Tower Defense

    System: PC

    Tool: Construct 0.x

    Start: 04/05/11

    Finish: --/--/--

    Intro:

    It started from a mock up I randomly made, and I thought it would be an easy and cool game to make, so i'm making it!

    It's a simple tower defense game in NES style, and it shouldn't take too long to complete.

    Stuff:

    You move your cursor around the map and you can build towers on free tiles. Towers will shoot nearby monsters and can be upgraded or sold. Some towers will have other effects like stun os armor penetration. If an enemy gets to your HQ, you lose health

    Story:

    In the year 2021, the world is destroyed by nuclear war and almost all life is destroyed as well. But a group of survivors come together to try to rebuild civilization, defending themselves from aberrations created by the radiation.

    In a secret research station, the robot BETA is activated. Developed initially as an AI for battle assistance, will now be of extreme importance for the survival of humanity.

    Images:

    <img src="http://i54.tinypic.com/280ur0p.gif">

    (this 2nd image is a little bit older)

    <img src="http://i53.tinypic.com/102tvmf.gif">

    <img src="http://i51.tinypic.com/672lpf.gif">

    Downloads

    Alfa 02

    - 1.5mb

    Z = A

    X = B

    Arrows = Move

    Enter = Pause

    So far you can't lose or win. You can only build one type of tower and only 3 enemy waves will attack you. You have a lot of money to start with so you can play around a little bit

  • On the Project tab, under your application, right click the folder "Files" and click "Add file(s)" and select your music file.

    Then on your Start of frame event, use XAudio -> Play Music, and the music will appear there

  • Use the mouse & keyboard object, then start of frame -> Set cursor to invisible

  • Pretty cool, but the .cap looks different from the screenshots

  • <img src="http://www.speedtest.net/result/1204015851.png">

    The average internet speed in Brazil :/

  • I've done the same using Photoshop. Just create a grid using the ruler, get the slicer tool and tell it to cut using the grid, and then go to "save for web and devices" and its done!

  • I was trying to use this method to create some objects on a level editor i'm making. But I can't find a way to load it from the ini so it works.

    This happens:

    I made a global variable called "load_string" that will store the string from the ini. So far so good, the global var stored {{0,0},{20,20},{30,30}}

    On the events, i have a event that shows this text: global('load_string')@1 which displays the original string for some reason

    If i make the text show {{0,0},{20,20},{30,30}}@1 it displays {0,0} correctly

    tl;dr: it doesn't recognise an array if its inside a global variable?

  • I also have a similar problem. When I use a zoom, all my HUD layers (the ones with Scroll X/Y Rates = 0%) will get positioned wrong