How to reduce the cocos2d-x project size

By default cocos new¬†command copies all the contents of the coco2d-x library into the newly created project’s cocos2d folder. This may result in an enormous ¬†increase in your cocos2d-x projects folder size. The project size can be reduced by creating symbolic link of the cocos2d folder. Go to your project’s root directory and run this command via Terminal : ln -s path_to_original_cocos2d_folder cocos2d 1 ln -s...

Read More

UMG UButton with Release Event

UMG UButton with Release Event

When I was playing with UE4’s new UMG I discovered that UButton does not implement a release event. I made this UReleaseButton class to add release events in Blueprint EventGraph. I tested the button on mobile device, it also works as expected. ReleaseButton.h C++ UCLASS() class UMGMENUSAMPLE_API UReleaseButton : public UUserWidget { GENERATED_BODY() virtual TSharedRef<SWidget> RebuildWidget() override; FEventReply...

Read More

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Read More