creating different screens in libgdx game - libgdx

I want to make a menu of 2 buttons(play, shop). The play button would start the game, and the shop button would open a screen, in which the player can choose his main character.
How can I do this?

Please take a look at the libGDX wiki for various starter tutorials. Google would also definitely have helped you on this one.
What you need are a Game class and some Screen classes. You have a Screen for each screen of your game. Here's a guide on how to write a simple game with Screens.
libGDX Wiki - Extending the simple game

Related

How classes in Adobe Flash Professional works?

I start before 1 year to use CS6 and I found some tutorials that explain how to make pltaformer games, I try a lot of tutorials they work great but for the code they use the timeline.
So, I make a game using the timeline but when I published it and running to my android device I have a lot of lag issues.
After a research I realized that coding in the timeline is a bad idea, also it's better to use Starling for making apps for mobile devices.
So I want to start again to learn how classes working.
I make a new project and I have 5 classes (Main, Level1, Hero, Ground and Enemy). I want the hero to interact with Ground (for gravity) and with Enemy (for hitTest), also Enemy have gravity so they must interact with the Ground.
The concerns are :
In which class I must write the hitTest function?
I have to write in Ground class the hitTest for Hero and the Enemy and in the Hero class to write the collision between the Hero and the Enemy
Or all of this functions must be write in Main class?

How to create scrolling list with picture in Adobe Animate CC/ActionScripts3

I'm a designer and animator, I newly start to coding with Adobe Animate CC, In all versions of adobe flash there is List item but i couldn't find a simple way to add image and text to it, if possible guide me how can i make a scrolling list like below sample image (scroll to receive content from server "like a news app") with simple way not complex coding. I prefer to use Adobe Animate not Adobe FlashBuilder/Flex.
Simple suggestions, Link to tutorial, ...
If you take a look here, you might find what you are looking for. However, if you are just starting to code in AS3, expect to go through some rough spots.
http://www.myflashlabs.com/product/flash-dynamic-as3-scroller/
This scroller is pretty good, as it works with touch devices, as well as mouse input (desktop). This still requires you to create a movieclip or sprite and attach whatever items to you want to them. Read the documentation and take your time. Best of luck

How can I add transition effects to my LibGdx game?

I'm making splash screen for my game, i want to display the logo and Name with different Transition effects. I'm a noob here, having no idea of scenes stage n all. If scenes and stages are required, a simple explanation with code would be appreciated.
Thanks.
You can create different screens for the logo and the name, and create a transition between them.
For that, you can use the libgdx-transitions library for creating e.g. some alpha-fading, or sliding transitions:
https://github.com/digital-thinking/libgdx-transitions
Here in the test case you can see how it works:
https://github.com/digital-thinking/libgdx-transitions/wiki
Basically, you create transitions and then you can change them before you change the screen.
Or you could do this on a single screen using the Universal Tween Engine.
With that, you can create a Timeline where you (for example) change the alpha levels of pictures of the logo and the name (make the pictures appear and disappear).

How to create Udacity-like lecturer hand with Final Cut Pro X?

I am currently working on creating an online course. I would like to reproduce the "hand" kinda like here. I understand that Udacity films the graphics table from above and also captures the screen with a tool like Camtasia or whatever screen recorder one likes.
So, I am working with Final Cut Pro X, it would be nice to be able to achieve this with this tool. I have basically two videos, one of the camera filming the hand and one from the screencapture. What I wanna do is, get rid of everything but the hand in the camera video and put it in the background of the screen capture video.
Any ideas?
Kind regards,
Nils
You can use the Keyer plug-in in Final Cut Pro X, if you filmed the hand in front of a green or blue screen. If you instead filmed it in front of white or black, you should use the Luma Keyer. Then you can simply layer the hand over the screen-capture video in the timeline.

Movable widgets over video in website

I am still very much in the planning phase on this but here is the basic idea of what I want to do. I also have not done much/any web development in the past few years so I am a little out of the loop on what will/wont work.
I want to have a video playing essentially on a background layer with various widgets on top of it. The widgets will all be fairly simple HTML based text and maybe a few images. The widget also need to be movable (eg. I need to be able to drag and drop the widgets to move them). Finally I would really like it to work on a tablet (iPad or Android).
Am I going to need to use flash or silverlight for something like this? I would rather not because I know that makes it hard to get tablets working. I know HTML5 is supposed to be the new hotness but I don't really have a good idea of its capabilities.
Flash or Silverlight will rule out tablets (the iPad anyway), not just make them hard.
I'd start with jQueryUI it supports easily making elements moveable.