Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  My Spaceship: a 2d shooter / arpg thing  (Read 948 times)
0 Members and 1 Guest are viewing this topic.
Offline buddyBro
« Posted 2018-08-09 13:39:05 »

<a href="http://www.youtube.com/v/_DGe50VsT28?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/_DGe50VsT28?version=3&amp;hl=en_US&amp;start=</a>



Demo: https://mahhov.github.io/my-spaceship/

I've been working on a little project for 2 months. I've reached a good pausing point, and decided I'd give it a 1 month break while I gather some ideas of how to make it feel more game-like and less like an experiment. I thought some of you would have much better ideas than I could come up with Smiley; so please feel free to give your opinions, even if you think it's bad.

The vague idea is a top-down action rpg with combat focusing on movement and fight mechanics. I almost want it to play like mmorpg dungeons or raids, with interrupts and boss-stages and enrage timers and ground aoe's and maybe even basic player attack rotation. It's meant to be instance based with randomly generated maps (because I'm horrible and creating  content). I hope to add some resource gathering, crafting, and skill tree, but am going to avoid adding quests and a story line.

As for the video, the top left is a minimap, bottom right is the player health bar & stamina bar, and bottom left are abilities (left-2-right: projectile attack, dash, and heal). Top center bar is the boss health and enrage timer. Aiming is with mouse, but caps-lock can target-lock onto a monster near the mouse to make it easier to aim while kiting and dashing around.

In case anyone's interested in trying it out, I'll upload it and add a link.

Disclosure, this is currently in javascript Grin (mainly because i hope more ppl could try it out if there's no download-and-run-a-jar step). Initially, I thought I'd prototype in js, and then switch over to java, but now I'm not sure I'll need to given performance for such a simple 2d game hasn't been an issue. Lack of proper classes (with member fields and privacy modifiers) and interfaces and types is a bit annoying, but it's not nearly as bad as you'd think; you can still pretend it's java and write your code as such, but the ide and js engine won't enforce rules..
Offline KaiHH

JGO Kernel


Medals: 629



« Reply #1 - Posted 2018-08-10 06:39:21 »

Lack of proper classes (with member fields and privacy modifiers) and interfaces and types is a bit annoying..
You should try TypeScript then. The good thing for you is, that you can just rename your current .js files to .ts and it will work. So you don't need to migrate your whole current codebase to another language. Then you can gradually add field declarations to your existing ES6/ES2015 classes and add interfaces and add variable/parameter/return type declarations to your existing functions as you go and just write new code using types/TypeScript.
Offline buddyBro
« Reply #2 - Posted 2018-08-10 23:15:46 »

I've used typescript before, didn't like it that much (1. i disliked the colon syntax, 2. didn't like setting up a compile step to my dev flow, and 3. the project i was using it with needed to modify some prototypes and that was a hassle with typescript). thanks for the suggestion though.

i've gone ahead and published a github page to demo the app, please give feedback Smiley

https://mahhov.github.io/my-spaceship/

controls:
aim with mouse
move with `wasd`
`caps-lock` to toggle target lock
`q` to toggle mini-map size
`j` to shoot
`k` to dash
`l` to heal
Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (1675 views)
2018-06-10 19:43:48

EgonOlsen (1723 views)
2018-06-10 19:43:44

EgonOlsen (1161 views)
2018-06-10 19:43:20

DesertCoockie (1588 views)
2018-05-13 18:23:11

nelsongames (1189 views)
2018-04-24 18:15:36

nelsongames (1717 views)
2018-04-24 18:14:32

ivj94 (2542 views)
2018-03-24 14:47:39

ivj94 (1767 views)
2018-03-24 14:46:31

ivj94 (2847 views)
2018-03-24 14:43:53

Solater (972 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!