TMAJA's Forum Posts

  • maybe try for "i" from 0 to Array.Width instead for each X element

    Hey Fireche,

    Thanks for your reply, I appreciate your suggestion. Could you explain a little more? I think I know what you mean but I'm not sure how to implement it.

    Thanks for your help!

  • Hello everyone,

    I have a 3D array with data inside. I want to move through the array by first looking for the correct value on the X axis, then look on that values Y axis before finally extracting data on the Z axis. To try and put it another way I want to first search my array for one value, then only search the array on the Y axis of that value - so if my first value is at X3, I only want to then search for my next value on the Y associated with X3.

    I'm trying to loop through my arrays with Curvalue using this:

    array - for each X element

    array - cur value | BoxA

    array - for each XY element

    array - cur value | ItemA Sub item A text | set text to array.at(array.curX, array.curY, array.curZ+3)

    But I'm not getting anything out of the array at all. I'm sure I've managed this before, can anyone point me in the right direction?

    Thanks

  • Hey LaDestitue,

    thanks for your reply - could you explain the difference between window size and canvas size then?

  • Hi everyone,

    I'm looking at swapping from mobile to PC development and I'm doing a bit of research. A lot of things seem straight forward but I am struggling to find a good answer on screen resolutions. I know I'm should pick an intitial ratio of 16:9 for my window size - but how do I allow the player to select their own resolution?

  • Hey SimShady,

    I had a look at your capx and the issue you are having comes from a few places. For a start off you have a ton of redundant/conflicting events for your gun control. I would remove practically all of them. Second you are trying to tie the direction of the gun to a keypress, which is in my experience a bad way of doing it. I usually tie the keypress to the direction of the character and then the direction of the character to the gun.

    I messed with your capx and ended up with the screenshot below - this gives you a responsive correct gun position. I'm not saying this is perfect though <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> I didn't have long. Maybe someone else will come up with something better!

    http://i.imgur.com/2KTixKM.png

  • Yeah I figured that could be the problem, but I don't get why it's not an issue on the larger device!

    Surely it's being scaled just as much on the larger one as the smaller one, yet one is perfect at all scales and the other looks awful at all scales.

    There is a way of detecting screen sizes isn't there... perhaps I can detect the screen size and use a smaller pre-scaled font when that's true... urgh

  • Yes it is being scaled, buy 0.8 on all devices. I just don't get why on the larger device its absolutely fine and on the smaller device it looks awful.

    Did you find a way to resolve it?

  • Any clues on this? I've spent a few hours on it now and it's driving me nuts!

  • Thanks for the suggestion but practically all of my letters are already manually adjusted. Plus this issue doesn't appear on my larger screen device - only on the smaller one. It must be something to do with the scaling then, but I'm stuck beyond that...

  • Hi everyone,

    So I'm running into a frustrating issue with my Sprite Font. In preview and on my Iphone6 Plus it looks absolutely perfect. Unfortunately on devices with smaller screens there are odd little lines showing up all over it as if the letters are somehow clipping into each others boxes before they get split up! Has anyone else seen this behavior and does anyone have any advice on getting rid of it?

    I've attached a picture example below to show you what I mean. I've put red rings around a few of the artifacts to be totally clear.

  • Hi everyone,

    I am trying to implement the Appodeal plugin - but I cant seem to access any related conditions?

    How can I tell if an advert has been shown in order to trigger a reward?

    Thanks

  • Hi everyone,

    just looking for a bit of advice on creating a multiplayer game on mobile. I have had a search around the forum but I'm struggling to find definitive recent answers to all my questions.

    First of all, is deployment to mobile actually possible using the C2 multiplayer plugin?

    If it is, can anyone tell me what export options actually behave well?

    Are there any objects which don't behave well/don't work on multiplayer mobile beyond the ordinary mobile ones (like C2 buttons)?

    Finally, are there any other pitfalls of multiplayer on mobile devices?

    I've also read all of the available tutorials on the subject.

    Thanks for the help!

  • - Snip -

    Hey Jomo,

    Does this actually allow an app to run in the background - or does it just emulate that action?

    I need a plugin which will allow my app to constantly monitor the phones GPS and then reopen the app if the GPS stays in the same place for some time. Will this plugin do that?

    If so you've got a sale

  • --

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Lordshiva,

    Thanks for your input - but it doesn't bring me at all closer to stopping the character physics object going to sleep. I already have a reasonable grasp of the physics plug in, but this is eluding me. Could anyone tell me how to stop a physics object going to sleep? (Even if its velocity is 0,0)??

    Thanks!