1. Hey! Guest! The 31st GMC Jam will take place between Nov 16th, 12:00 UTC (Friday noon) and Nov 26th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

HTML5 Project Force

Discussion in 'Work in Progress' started by matharoo, Oct 25, 2018.

  1. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    It's in a very early stage right now, I'm mainly making this thread so that I have at least some motivation to continue working on it.

    Project Force
    The codename is "Project Force" because it's inspired from the Force Push ability from Star Wars.

    [​IMG]

    Play the prototype here
     
    Last edited: Nov 9, 2018
  2. IGameArt

    IGameArt Member

    Joined:
    Jun 21, 2016
    Posts:
    44
    It looks pretty cool so far, although I am a bit confused by that thin red line :p
     
    matharoo likes this.
  3. Siolfor the Jackal

    Siolfor the Jackal Member

    Joined:
    Jun 21, 2016
    Posts:
    481
    Looks interesting enough, adding to my watch list.
     
    matharoo likes this.
  4. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    Thanks guys!

    I added it as a debug feature but I think I'm gonna keep it as an option. It lets you see your path and everywhere you've been (since the line doesn't completely disappear - it's actually a bug!)
     
  5. Bentley

    Bentley Member

    Joined:
    Jun 18, 2017
    Posts:
    545
    Very cool. I like the fast pace and the animations go well with that, especially the jump-roll.
     
    Last edited: Oct 25, 2018
    matharoo likes this.
  6. markfe

    markfe Member

    Joined:
    Jul 13, 2018
    Posts:
    14
    Nice that you can test it in browser right away!
    It looks promising.
    I like, that the red lines stay as an overlay, so you can see all your failed jumps. The jump and the "push" don't seem to work together? I would often try to jump and then dash in the air.
    Might be you don't need the jump at all and only have the "push"? It could simplify the controls.
     
    matharoo likes this.
  7. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    Thanks!

    Well you can't Force Push in the air, there needs to be some surface/wall to push against.

    And removing jump might be a nice idea, I'll think about it.
     
  8. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    [​IMG]

    Created a basic physics system, testing it with this key. It will be used to unlock barriers (you can briefly see it on the right).

    At first I thought I'd just switch to GM's physics system but glad I didn't. It would've been more of a headache working with that.
     
    sitebender and Cantavanda like this.
  9. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    Keys work now:

    [​IMG]

    Working on the enemies next.

    upload_2018-11-1_12-4-7.png
     
    Toque and sitebender like this.
  10. Nehemek

    Nehemek Member

    Joined:
    Jun 20, 2016
    Posts:
    40
    I have an issue. On Opera with the right click you can do gestures to close a tab (right click and quickly drag to the left), open a new tab (right click and drag to the right) and so on. So go figure what happened when I tried to move the mouse to position the force push and right clicked.
     
  11. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    Interesting... I'll probably change it to left click. I thought I'd have a weapon on left click but I decided to only have the force ability, so I'll move it to left click.
     
  12. C_Gdev

    C_Gdev Member

    Joined:
    Mar 2, 2018
    Posts:
    3
    Looks neat! Have you tried it with a controller?
     
    matharoo likes this.
  13. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    No controller support yet, it's in a very early stage. Not planned either.
     
  14. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    Update:
    • Working enemy system

    boi patrols
    [​IMG]

    boi shoots if he sees you, and of course you can Force Push him
    [​IMG]

    Playable on this webpage (Press 0 to go to next room)
     
    Last edited: Nov 7, 2018
  15. Samuel Venable

    Samuel Venable Time Killer

    Joined:
    Sep 13, 2016
    Posts:
    919
    lol that run animation tho
     
    matharoo likes this.
  16. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    What about it? :p
     
  17. Kyon

    Kyon Member

    Joined:
    Jun 27, 2016
    Posts:
    373
    Did you just trademark the work "forcepush"?
    Looks very nice btw! :) Like the animations and that red line!
     
    matharoo likes this.
  18. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    Thanks!

    And yeah I'll patent this technology
     
  19. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    Jump has been removed. Didn't make sense to have it alongside the Force Push™ ability.

    Also, when I used W people said Space was better, and now this? :p
     
  20. Kyon

    Kyon Member

    Joined:
    Jun 27, 2016
    Posts:
    373
    I had the same problem, Just do both haha space and W.
     
    matharoo likes this.
  21. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    That could work, but not in games that need a separate "up" button for things like entering doors, climbing ladders and aiming up to shoot. That was a problem with my previous game, so I had to move the jump button to space.
     
  22. JeffJ

    JeffJ Member

    Joined:
    Jun 20, 2016
    Posts:
    216
    This is why you make custom key bindings a thing. :p
     
    matharoo likes this.
  23. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    739
    Added a slow motion mode for testing my physics system's delta-timing. I think this might be a cool ability to add in the future...

    [​IMG]

    Playable on this page
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice