Skip to content

u/mandale321

In this archive from Sep 2024 to Oct 2026

1
posts
20
comments
0
media
41
score

Cool !

Three first small notes:

  • When opening a window with the left hand side menu, it would be cool to be able to close the window with the same button : when opening the wrong window (esp. when discovering the game), the possibility of closing it without moving the mouse is good.
  • in the tutorial, when shortkeys are written, it would be more readble (for me) if they were written with a different font, or in bold, or between []
  • the arrows in the tutorials is maybe sufficient if the button to click was like blinking, it would be even easier.

Not really played the game itself now ! I might report later.

1 points

It's just that a command is not a function call, it's reified.

In pseudo-code: It's not player.useitem(item) it's command = new ItemUsage(item),

So you can now store command, compare commands, check command, archive command, load/save command, duplicate command, modify command... and execute command (and then replay command !)

2 points

If you don't already, you could use (terrain)[https://doc.mapeditor.org/en/stable/manual/terrain/] for rivers, roads and forest. With a little preparation of your tileset, you'll be able to just mark the cell as road, river or forest, and tiled will choose the right road/river/forest tile (as opposite to selecting for instance, "terrain with a bottom-right border")

1 points

Maybe you can start here : https://stackoverflow.com/questions/29057870/in-javafx-how-do-i-move-a-sprite-across-the-screen (javafx specific for the sprite + movement + collisions) for instance and experiment around that until you fully understand what happens.
Depending on the time you have, you might want to lower your goal: maybe make the terrain just a flat ground, just display a sprite but not animate it and so on.
Platformers have a set of mechanisms whose implementations are not langage specific, so you might want to check any tutorial for a given mechanism and adapt it to javafx.

2 points

You have to learn to display a sprite, display the terrain, make your sprite react to the player (keyboard) inputs, learn how to detect and react to collisions between sprite and terrain. Then setup some enemies, and handle collisions between enemies and your player. Maybe make the enemies do something also. If you're starting from scratch and learning everything at the same time, it'll probably take quite some time !

2 points

As op mentions mobile platforms and seem to have zero programming knowledge, he probably only experienced installing apps through stores where programs are publicly available, hence the confusing question.

4 points

You can use css transitions for movements given each moving token is an html element.

I would advice you to first get all your game logic working perfectly using whatever you're familiar with, hence my initial advice to stick to React. After that, if heavy animations are needed that you cannot achieve using css, it should be really easy to switch to another framework. Pixijs, Phaser, or even gl-react.

Sound is a different topic altogether.

2 points

You might want to stick to React if you're used to that and all game graphics can be expressed as html/css. If you use a framework like phaser or raw canvas, you'll end-up re-implementing some of standard html goodies like cross-platform input (mouse/touch/keyboard), accessibility, etc.

Only If shader-based graphical effects are needed, you'll have to use canvas with webgl, and then a framework like pixijs, phaser is a good choice.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.