RPG engine

Good work…congrats!

Perhaps you could replace the directional arrows with a joystick  :wink:

Best regards,

Erich.

Check out :

2D Game Art Tutorials by Chris Hildenbrand

Area with only one or two types of images (ground).  

Hi egruttner,

Would it be possible to tell me how I may implement joystick?

Do you think it will improve gameplay?

I do not want to introduce top right or top left diagonal movements, I guess having a joystick will expect diagonal movement of character?

Thanks for your feedback

Sure!

To implement joystick you can develop your own library or use an external one.

For example:

https://github.com/trevornmarshall/virtual_controller

https://gist.github.com/jbp4444/b4d6a357ad86f3041262

https://github.com/dantes2023/virtual-joystick-with-example

Or you can buy the superb library SSK2 (Super Starter Kit) by @roaminggamer that includes library for input controller.

https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/easy_inputs/#easy-inputs-sskeasyinputs

You can use a joystick but forcing the movement only for left, right, up and down.

Best regards,

Erich.

SSK2 is available on github for free:) Documentation for library.

I agree with @egruttner. SSK2 is very good.

@ahmed_shahjada:

Also check out joykey and vjoy by Ponywolf. A game Sticker Knight Platformer uses it. 

See Virtual Joystick Module For Games.

HJQJTiw.png

ldurniat

very lit my guy

Hi JoePringles,

Silly question : what do you mean by the expression? haha

“very lit” means “really nice”.

Rob

Looks cool Ahmed! I agree on the joystick comment - that would be nicer to use.

Hi Thomas,

Thanks for the feedback, I will try to integrate joystick component in my game.

Can you help me with how I can implement water waves in game?

Hi Ahmed, I can try. Can you make a sketch of some sort of how and where you would like the water?

Cheers,

Thomas

Here is a screenshot : https://goo.gl/vgLoyn

  • I have added some text on what I would like to implement, this is just an example.

  • I can use sprite animation, but in Tiled map editor it mainly allows single block by block animation which is a bit annoying

  • At the moment I cannot select a whole bunch of blocks and then apply isAnimated property to it

  • I do not know if using images would be a good idea

Please suggest

hi Ahmed, in your case to only really realistic and feasible option is to create animated sprites, I’m afraid.

Either you do this for all water tiles, or you add an extra layer of “water hitting the shore lines” tiles on top, with just the foam/splash, for example.

Sounds complex, I will try to do it the way you suggested

just curious… how did you do the type writer effect?

@Joe - That was worked out here: https://forums.coronalabs.com/topic/73159-dialog-box-print-one-word-at-a-time-until-the-whole-conversation-is-shown/#entry385095

Hi egruttner,

I implemented joystick today as you mentioned.

Here is a video link to the current state of things : https://screencast-o-matic.com/watch/cFil3mFA8d

However there is a pretty big bug here. I need to let go of touch everytime before I can touch any other direction in joypad.

Move the joypad to the right and without letting go of touch, move the joypad in any other direction -> character still keeps moving to right.

The issue is shown in the end of the video. Do you have any suggestions on how this can be fixed?

I implemented joypad today, feels good.

Thanks

Please Note: SSK2 is now free. 

Docs: https://roaminggamer.github.io/RGDocs/pages/SSK2/

GitHub: https://github.com/roaminggamer/SSK2

See the ‘Easy Inputs’ docs for how to use the joystick: https://roaminggamer.github.io/RGDocs/pages/SSK2/libraries/easy_inputs/

and/or 

Look at this code for a basic usage example: https://raw.githubusercontent.com/roaminggamer/SSK2/master/validation/tests/easyInputs/003_oneStick.lua

Hi Everyone,

I have implemented joystick on my rpg game, it took some time but here is the current state of things:

https://screencast-o-matic.com/watch/cFiojCFkhQ

Thanks to roaminggamer, idurniat, egruttner for suggesting me to implement joystick. Joystick had some major bugs, which I solved last night. Wanted to share a video. Thanks everyone, having a good time here in this forum.

Great work Ahmed!

Sorry for taking too long to answer…I was on a trip.

How did you solved the “joystick issue”? Can you share your solution?

Best regards,

Erich.