Ethan's Forum Posts

  • You could also do it manually with events with something simple like this,

    objects opacity > 0 set objects opacity to objects opacity - whatever*60*dt.

    objects opacity = 0 destroy object.

  • Also a bit drastic but you could confine all non licence holders to one forum for the time being.

  • tatogame thanks for the suggestion but i don't quite follow what you mean about it not being best practice though, the image is only used at the start of the layout to set the tile image then destroyed, all the info is passed on.

    Small update.

    Heres a first look at the ai.

    It shows the tactical phase. I loop through each ai unit (black units) able to move, check every move position, check all adjacent squares around it, create an "influence map" where the tile gets a score based on a number of factors like, the terrains attack/defence bonus, is there an enemy there? Can kill enemy? can enemy kill me? how much damage can i inflict? how much damage will i sustain? whats my hit/block ratio? Then it picks the highest scoring tile and if its above a certain threshold then it moves to attack, else the unit is ignored and is passed over to the next ai phase which will be the capture town phase.

    There are still some things its doest take into account, which will be added later.

    Another example.

    Kyatric please can you move this topic over to the wip board, thanks.

  • Don't you just omit that tile when you check for the collision?

    -On collision with tilemap

    + Tile ID different to (tile id number you want to ignore) - do whatever

  • Cool project, glad it might help.

    It just occurred to me you need to alter the destroy code, i was playing around with something else when i did this so i don't think they're being destroyed unless they get stuck in a wall. Oh and it's not set up for delta time. They should both be minor adjustments though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • here you go.

    Demo, click mouse- https://dl.dropboxusercontent.com/u/159885981/bounce/index.html.

    capx.- https://dl.dropboxusercontent.com/u/159885981/bounce/bounce.capx

    I'm sure some smart person on the forum could come up with a much simpler way, probably involving a maths formula, but it works ok, play with the values, and you'd have to check performance though.

  • Have you thought about making the bullet shells bounce off the ground before they fade out?

    I know it's a minor cosmetic thing but i think it would be kind of cool, i remember it was a simple trick done a lot during my multimedia fusion days.

  • Looks great, but terrible name in my humble opinion.

  • I did it for one of my projects here https://www.scirra.com/forum/viewtopic.php?f=180&t=120509.

    The maths for plotting object movements along it is a little complicated but if you just want to scroll a map then simply create say 2 copies of the image for the x axis and 2 for the y axis and when you reach the edge of one reposition the opposite edge of another copy at that position.

    The map needs to be bigger than the window, and for performance you may need to break the large image into smaller sections.

    If the map is smaller than your window size then you'll need to use more copies.

  • Not currently with global variables, but you can use the dictionary object instead and do it.

    if button 1 pressed, set key("global")&button instance variable to value of key( "global")&button instance variable +1

    or whatever the expressions are.

  • Food always looks nicer in small bite size cubes, preferable on a cocktail stick.

  • Sometimes you have to think....

    Be glad you do not have to buy machine embroidery digitizing software! Embird is a good example.

    They update once a year, and every other year they call it a major upgrade that we have to pay for. The changelog is like 5 to max 10 items per update and mostly bug fixes. So basically what Ashley cover in a minor update is same amount as for Embird in their paid upgrade!

    The software itself looks like it is firmly stuck in the mid of 90's too with useability in similar level. But I have to use because I paid thousands of SEK for that software + plugins (that should be part of software itself like importers and true type font) and that there's not too many to choose between...

    This put things in perspective.

    But with that said, of course we want the best.

    With respect, i'm pretty sure there are more game making software then embroidery digitizing software. If Scirra were to do this people would simply use something else. The software development market has become very competitive. Not that i don't appreciate Scirras update policy.

  • I don't know how it works but I expect they have to look at what your selling to make sure it meets their terms and conditions, but since it's the weekend end they won't be at work.

  • jabedbd as is explained just a few posts above, the plugin preceded the official debugger built into construct and so you should use that instead (click run preview in debug mode).

  • EXPFall, vtrix, jobel, icugigasoft, tatogame, thanks guys for your kind words.

    Fireche i'm using a rexrainbow plugin for the pathfinding. I find it easier and faster than the event based ones coded before.

    I'm playing about with the ai at the moment, hope to post an update before not too long.