mrsmithedu's Forum Posts

  • 11 posts
  • God googling JSONs just broke my head!

    Oooooh I think that Functions will hit the spot tho!

    Thank you so much for the help, it was really appreciated :)

  • So I'm running this which I think/hope is what you meant?

    Is this a cleaner way to arrange everything?

  • So I have an array keeping track of something like this:

    Player Alive Dead Wounded
    P1 1 0 0
    P2 0 0 1

    I thought then have a column which would be checked and would then generate a specific sprite based on that.

    This then makes characters selectable based on their availability.

    So are you suggesting variables for each character? So P1alive, P1Dead, P1Wounded etc?

    And I don;t really get the 2nd bit - sorry!

    At the moment I've got:

    Mouse ->On left button clicked -> Spawn bullet on layer 0

    But I want to have different weapons, so maybe a flame or a bigger bullet.

    Thanks for your help!

  • Hey everybody!

    I'm working on a remix of the old, old, old game Gain Ground.

    I've more or less got the mechanics sorted. You pick a character from the right hand side. Each character has 2 attacks depending on the mouse button pressed.

    Getting all your characters to the exit, or killing all the enemies takes you to the next level.

    If a character is taken out, you can recover their downed state and if you make it to the exit,they will revive for the next map.

    The challenge I'm facing is how to organise all the different characters.

    So far I've set up an array table. This state each characters current state. So far that is working for me.

    However, each character will have different attacks and abilities. So whilst one will fire a long range missile, another will throw a grenade which can hit high up enemies - and so on.

    Is it best to also log this info as an array? So if a character has a 1 for alive, then replace the projectile with that sprite?

    Or is there a better method? (I hope that makes sense!)

    Download file is here

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah brilliant, that has fixed all of them!

    Thank you so much for the help - it's really appreciated.

  • And if there is anything else that looks wonky - feel free to let me know :)

    Thanks in advance!

    https://drive.google.com/file/d/1X_4eBkTg4uTviUl7_FF-2DqBfheF9OEB/view?usp=sharing

  • So yeah, same thing with Chrome. You can see here how zooming in and out changes the location of the outline.

    Then using the scroll bars also changes it, so even zooming in again may see the position changed.

    Fun right!?

    So this was happening with Chrome and Brave. Any suggestions appreciated.

  • Well I tried all of those but no joy. I need to use the scroll bars to recentre the outline over the sprite. It will stay for a while, but then I re-click on the sprite and it has wandered off again!

    Damnedest thing!

    I'm using Brave as a browser, so will give it a run out in Chrome later and see what happens.

    The suggestions wre appreciated tho.

  • I feel like a genuine idiot for not being able to figure this out, but it's killing me - and I can't figure out useful terms to Google.

    Anyway, the selection obx for some of my objects is miles away! If I use the scroll bars, I can usually re-centre them, but then it wanders off again. What on earth have I done wrong here!?! So I have to click on the blue box to get the object, but I don't always know where it has wandered off to.

    Thanks in advance!

  • Thank you both! I'm going to bhave a play around with those ideas this week.

  • Hello there!

    I'm working on my first in-depth project after being out of games coding for years!

    I'm making a top down Gauntlet style game it's based on an old Sega game called Gain Ground.

    When a character's health drops to 0 I'm trying to do the following:

    Change the normal sprite to a 'defeated' sprite (I can do this bit)

    But I'm having a load of characters in the game. So the idea is that you can rescue a downed character, but it needs to remember which character is downed & rescueable.

    Do I have to just manually do this for each player sprite, or can it be grouped somehow?

    So there are character objects - P1, P2, P3 (for example) which need downed objects (D1, D2, D3)

    I'm hoping that makes sense!

  • 11 posts