简体   繁体   English

在Java平铺游戏中移动角色?

[英]Moving a character in a java tiled game?

(Sorry for English, I am a French student, and a beginner in java) (对不起,英语,我是一名法国学生,并且是Java的初学者)

I've seen the topics dealing with displacement characters in a Java game, but I still have two problems. 我已经看过有关Java游戏中置换字符的主题,但是我仍然有两个问题。 I use a land 2d isometric, based on an array int[][] ( http://img15.hostingpics.net/pics/91631150ex.png ) and a PaintComponent method : 我使用基于数组int [] []( http://img15.hostingpics.net/pics/91631150ex.png )和PaintComponent方法的2d地块。

If I want to move fluidly a character (soon to be represented by a real little personage with legs, arms and head), I do not know: 如果我想流畅地移动一个角色(很快就会由一个真正的小人物用腿,胳膊和头来表示),我不知道:

  • How to move fluidly graphically the personage of one box to another in the table without affecting badly on the drawing 如何在不严重影响工程图的情况下以图形方式将一个盒子的人物以图形方式移动到表中的另一个盒子
  • How to move the character, even with JavaFX I can not give trajectories and movements in addition (AND legs moving character moves) 如何移动角色,即使使用JavaFX,我也无法给出轨迹和移动(AND腿移动角色移动)

Thanks for reading and help :) 感谢您的阅读和帮助:)

EDIT : I already heard of a TimeLine in JavaFX, but it just offers a basic translation, no? 编辑:我已经听说过JavaFX中的时间线,但是它只是提供了基本的翻译,不是吗?

首先,我建议您彻底了解图形设置指南的链接,我认为您可以解决您的问题http://www.ffxivcore.com/tutorials/article/6-ffxiv-graphical-settings-guide/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM