NetOne's Recent Forum Activity

  • I'm still able to go full screen in mobile preview over lan.

    However Im using C2 v242

    and fyi my mobile chrome 55.0.2883.91

    edit nothing to do with versions (mine was invoked using a button so just been playing around)

    fullscreen dosent work with on any touch start

    but it still works with a button click

    so just have to put a button in while testing.

  • lamar

    Ahh you see ...... that is the issue.

    Is that

    1/2 inch on a 4 in screen?

    or 1/2 inch on a 12 inch screen?

    this is exactly the mistake that I was making.

    I have been developing and testing on a surface pro 12 in screen.

    to make the throw comfortable on the big screen I have been inadvertently making the throw really small in touch pixels terms. even though it is still big on the big screen.

    it seems that we have to pick a size that works across most screen sizes as scaling throw size is not really an option.

    players with bigger screen will have to move thumb further.

    good lesson learnt...... (ps. I took gamestopper out of the title. as I think it will be ok now)

    cheers....

  • Arcitak on Kongregate.

    Lets say its a nonlinear shmup.

    Wow really like that, great gameplay.

  • lamar

    There you go,

    The issue is exacerbated by the floating stick as it maintains the small resolution.

    use only with touch as mouse has more resolution it seems.

    the limited angles are really apparent when moving around slowly......

    https://www.scirra.com/arcade/other-games/test-touch-resolutions-15558

    so.... just make the throw larger it seems will make things better but a large floating touch feels really bad.

    I might return to a fixed one with a large dead zone to avoid small throws........

  • Cryptwalker

    blackhornet

    cheers guys , added.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lamar

    Yea I think this is what is happening.

    I did set a "deadzone" of radius 6 so the laser does not fire until you are this far from the centre maybe I need to increase it.

    Actually just checked out your game on the arcade and it doesn't seem to suffer this issue even when finger is close to the ship. Although it is hard to properly tell.

  • Thanks

    lamar

    I have both sticks working, left for moving and right for aiming.

    Its just that aiming one is jumping between angles of around 10 deg due (I think) to the low resolution of touch sensors over the small touch stick area. All it is doing is calculating a distance and an angle from central position using touch xy coordinates and feeding to the gun angle.

    I could use rotate towards angle to make the movement smoother but this doesn't solve the issue of the restricted angles.

    Maybe Im being thick and there is something Ive missed or maybe a bug has crept in as I was copying from one project to another.

    I'll have a look at your tutorial/capx tonight. (at work presently) and get back to you. Ill try to chuck up a capx tonight myself if can get home early enough.

    cheers.

  • Has anyone here made a twin touch (not analogue stick) 360 shooter?

    What I mean by 360 is that the player can fire in 360 degrees i.e. any angle. Like geometry wars……

    So I am endeavouring to make a twin touch 360 Shmup

    and have come across a potential game stopper

    When making those small virtual analogue sticks we are limited by the resolution of the touch screen / digitiser.

    The virtual throw of the stick is measured in touch screen “pixels” and has to be reasonably small. In my case I think the xy throw is around +-30 x/y

    As angles can only be calculated to the touch resolution. The small resolution of the virtual analogue stick severely limits the number of angles a gun can be pointed in.

    It becomes especially visually apparent when dealing with lasers which is what I have seen in my game

    i.e. it is actually impossible to have aiming in full 360 degrees.

    It is more like you can only fire at 10, 20, 30, 40 degrees etc but not in between these angles.

    So you basically cannot aim properly in 360 degrees if you use touch.

    I’m at work now but will try to put a capx up later to demo

    to visualise if you can imagine a touch stick where the xy throw is only +- 2 pixels x/y

    you will have a 4x4 grid with 0, 0 in the middle

    if you set a circular max throw at 2 i.e. sqrt(x^2+y^2)<2

    then you can only have 8 potential angles that you can fire in.

    which are defined as

    (2,0) [0 deg], (1,1) [45 deg], (0,2) [90 deg], (-1,1) [135 deg], (-2,0) [180 deg], (-1,-1) [225 deg], (0,-2) [270 deg], (1,-1) [315 deg]

    Even if you move your thumb on the screen perfectly smoothly these are the only angles you can fire at.

    Is there any way around this limitation or has anyone tried a 360 shooter on touch any ideas you could throw my way?

  • Brilliant

  • Bl4ckSh33p

    So I found...

    .If I disable webGL the text comes back to android

    could you try that see if it works?

    But then I made a default start up C2 project and put some text in and no issues. hmm

    [edit] right, I disabled one of my debug text boxes and all the other text boxes came back even when webgl enabled

    so maybe that was causing issue or chrome on android doesn't like too many text boxes. maybe you have similar situation.

    FYI the general advice is to use sprite font for text in game / app as normal text boxes will kill performance especially if they are being updated regularly.....

  • Look I have a serious need, I'm not here to play nor to waste my time reading comments written with their feet.

    if you have no solutions to the problem just shut up, nobody forces you to write just to write something. I have a real problem and need a real solution, if is possible, otherwise patience, I will continue with CTRL

    "Look I have a serious need" that you are too lazy to press ctrl ? seriously dude ?

    Maybe nobody wants to read your stupid questions....but they still try to help.

    What you are asking for is a new feature. It is a feature request. that's why +1

    Otherwise if you use your brain for learning instead of hating then you might find that there are many free programs available to remap keyboard keys and create key combination macros. Also there are gaming mice that let you program buttons and also create key combo macros or you could even buy a numpad. But I suppose you don't have time find out these things yourself because you are too busy being an a$$hole.

  • Yes I see this in alot of cad software

    it is a very intuitive control method.

    hold MB to pan, wheel up down to zoom.

    +1 from me.

NetOne's avatar

NetOne

Early Adopter

Member since 3 May, 2016

Twitter
NetOne has 4 followers

Trophy Case

  • 8-Year Club
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

11/44
How to earn trophies