VIKINGS's Forum Posts

  • Hello World,

    Cute Monsters Attack is out now on android and you can WIN a brand new PS4/XB1 simply by playing it and sharing it with your friends, contest rules here: https://vikingsproductions.wordpress.com/

    Description:

    Cute monsters Attack is a fun, challenging and addictive puzzle game that borrows mechanics from games such as tetris and match games and combines them to offer a fresh experience.

    Take aim and save the world from the legions of Cute Monsters by attacking each monster with the appropriate shape and color ammo. Mismatch and a brand new monster will be created to torment you!

    Features:

    • campaign mode with 12 difficult levels;
    • custom endless mode which(as the name suggests) lets you customize all gameplay aspects to make the game as easy or as hard as you wish!
    • colorful graphics with dozens of detailed and funny looking monsters;
    • great music that will keep you energized;

    Googleplay Link: https://play.google.com/store/apps/deta ... tersAttack

    Gameplay Video:

    Subscribe to Construct videos now

    Screens:

  • Hello World,

    Is there any way(for android), maybe with a plugin or something, to change where the regular on-screen keyboard appears on the users device when he edits a text box for example? By default it appears on the bottom side of the screen, I'd like to change it to appear on the top side.

    Thank you.

  • Yes, it seems that if I whitelist those specific urls it does work saf . Strange as that was not needed before and intelxdk whitelists "market" by default anyway, which means(in theory) that any "market" url should work....

  • Hm, ok guees I'll try whitelisting and see what happens. I'll be back with the results after the building and testing is finished.

  • I suggest you stop using the system/save option mate, it causes all kinds of problems and is very hard to update games with it.

    Luckily a very nice user we have around here AndreasR , that sometimes takes free requests, who created a save game template a while back when I requested it. It's great, gives you full control over what to save, what not to save, makes it easy to update games, etc.

    I've been using it ever since and I am very happy with it!

    You can download it by going here it's on page 4, the one called "CONSTRUCT 2 – SAVEGAME FUNCTION (LOCALSTORAGE)".

    And if you want to make requests too you can check out his topic over here and if you get lucky/he has time maybe one day he'll do something for you too.

    Hope this helps.

    P.S. Of course if it's useful to you and you have the funds, I'm sure Andreas would appreciate a small donation on his site.

  • Hello World,

    As you can see in the event below I have a bunch of monsters on the screen, when I click on one of them I create a sprite called "SelectedRectangle" on top of the monster I just touched(it's transparent in the middle with just the edges that go around the monster) to show that that monster has been selected.

    If however I click again on a monster that has already been selected I want only the SelectedRectangle of that monster to be destroyed. The way I have it set up right now all the rectangles get destroyed.

    I tried messing around with families and the different pick conditions, but I can't get it to work properly.

    Can you please show me how to modify that event(without breaking the other things it does) so that when I tap on a monster that has already been selected only it's rectangle will get destroyed?

    Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No saf I didn't, because the only links I tried to use(if memory servers) where for other games that I had published on googleplay. I'm getting pretty close to the testing phase of my next game, should I try to whitelist all url's no matter what they are?

    But even so, it still doesn't make sense, the twitter and facebook plugins worked fine, launched the proper windows, and you could tweet, etc. If whitelisting in intelxdk was the problem then wouldn't those plugins have been affected too?

  • Aha, so I change the event part, not the action part. Ok, I'll mess around with it some more. Thanks again very much blackhornet .

  • Thank you blackhornet , seems to be exactly what I need. Unfortunately, just as I feared, since the solution is a bit more complicated I will be able to integrate it in every place except one. Funnily enough the place where it won't work in is your code too. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    So I've made a new video, and included the additional capx, please take a look and see if you can make it work in that scenario too?

    https://www.dropbox.com/s/oy0m4hrvxs772 ... e.rar?dl=0

    Thank you.

    P.S. Thank you too 99Instances2Go for trying, but it seems blackhornet wins this one, again. <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

  • Hello World,

    I have a annoying little(yet very important) problem that would fix a bunch of issues in my project.

    I need to use the family object to spawn some objects depending on that family's instance variable. To understand exactly what I'm talking about please download the archive below which contains an example capx and a video where I explain everything.

    https://www.dropbox.com/s/r6pih3or3jog1 ... m.rar?dl=0

    Thank you.

  • K, I tried it out and managed to get it to work; I don't yet fully understand how and why it works, but it does.

    Sadly it only seems to have made my game slightly playable... I don't know, maybe the entire game idea wasn't any good to begin with....

    Alas, thank you for showing me how to do it blackhornet , it's probably gonna come in handy one day regardless of what happens with this project.

  • I'll take a look at it, but I doubt I'll be able to make it work... That's why I used the phrases "can't code for shit" and "simple piece of code".

    Thanks anyway blackhornet .

  • Eighter you're misunderstanding what I'm taling about blackhornet , or I'm misunderstanding what you are talking about. So I'm gonna answer for both cases.:

    1. If you misunderstand:

    • forget about the positions, that is not the problem, I like the way I am positioning and moving them at the moment. The problem is that by just creating a family object(which is random in itself) things are too random, I get too many duplicates so I need a way to make it less random on created, but I don't see how that has anything to do with their positions.

    2. If I missunderstand:

    • yes, the gameplay area is basically a grid I guess. The problem is that the first row that gets created(the rows you see in those events) are non playable, they are basically just to show the player what's coming next. Think of tetris, you know how some versions of tetris have a small box, outside the play area, where it shows you a small sprite of the next object that's gonna drop down? Like that.

    Because of that the first row that gets created is smaller 45x45 so as to ocupy just half of the... "grid box space", then the first time it gets pushed up(and goes into the playable area) it moves just 60px, gets resized again to 65x65, after that every time that row gets pushed up it moves 71px on y.

  • Basically I want to be able to create objects randomly but without much repetition blackhornet . If there is a lot of repetition that makes my game unplayable as the player doesn't stand a chance....

    And if I just leave create object family like that, even with just 8 objects in the family and a row of 6 created at a time it's still unplayable.

    Like I said, I tried doing a bunch of stuff and nothing worked(I can't really code for shit I guess), so I figured as a last ditch effort maybe I can just add some parameters to the function so there is no repetition per row.

    I'm hoping that no repetition per row would work best, not sure... Ideally I'd like a simple piece of code that is easily modifiable to give me some control to increase/decrease the randomness and that works with the spawning system I have. But at this point I'd settle for just those function parameters, if that's even possible at all....