Login/Character Screen HELP!

Hey guys,



i am recoding a new game, please keep in mind this is my first time coding a game i have a certificate in java but never attempted game coding, however as you can see in the image below:







However my message to you is they are .bmp or .png’s which load one after each other to create an animation. how would i achieve this in this engine.



Also this is the same for the character movement.



Any ideas?

There was a sprite engine floating around a while ago, that might help you out a lot.



Sprite animation for character movement though has been out of date for a very long time. Are you sure that’s what you want to do?

a possible option is to have a quad and change the texCoords of the ColorMap

i have a certificate in java


you don't need to repeat it in all posts, really ;)
i have some certificates too, but it dont affect my knowledge much.

about a topic:
like wezrule said, changing material texture... or using popular last time Image manipulating :p
but at all you need is make your own control for animation.

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_material
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:update_loop

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:hud
or
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:nifty_gui?s[]=gui

I couldnt really change the way it is due to the graphics have bben designed that way :frowning: unless you guys have any suggestions. Currently at work so ill check them threads out when i get home

it will not change your way of creating game, i would name it fallout 1 & 2 way.



but i need to know, why do you want to make it in JME and what you want to leave 2d and what to make 3d?

because you can easly mix 2d with 3d.


Also this is the same for the character movement.


long time ago, i had a game with prerendered character images to use them for animations, like it is in fallout 1 & 2 games.
but it would be better for you just to use 3d model here. really. i know it could partially change your game.
if you really want to make it in fallout way, you could use:
http://hub.jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/spritelibrary-efficient-render-of-sprites/
but don;t know if it still work.

you can make it in shader, but you will need to learn shaders, so this idea is bad here. you just need to make it like we said.

about logIn background animation, you need to make like we said.

first read this:
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:hud

then you need to know you have 2 types of Scene Graph(https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:scenegraph_for_dummies).
rootNode and GuiNode

where rootNode should be for your objects and GuiNode use for GUI elements like you need here.

about animating this, you need to use for example HUD Image or simple Quad and change it's material texture to another.
in that way you will make something like gif animation. it would be good for you to cashe animation first.
1 Like

I cannot really change to 3d as i do not have the 3d images nor can i pay 100’s of pounds for a 1000 image library of 3d models, because it would mean recreating all the armours etc… The reason for my using the jme is its currently coded in Delphi therefore very restricted in my opinion therefore i have learn’t up Java to be able to translate and change it across.