Me and My Shadow 0.5

Me and My Shadow 0.5

Postby acme_pjz » 07 Oct 2018, 17:16

Me and My Shadow V0.5

After two months of polishing since the V0.5 preparation thread, Me and My Shadow 0.5 has just been released.
You can find it on Sourceforge.

TRANSLATORS: Please help us translate the game into other languages on Hosted Weblate!
This also helps after 0.5 is released.

It's recommended to read the post on the website here.

Brief list of changes:

* Switch to SDL2.
* Menu theme.
* Achievement and statistics system.
* Scripting with lua.
* Pushable block.
* Improved addon dialog.
* Improved level editor user interface.
* Sizable blocks.
* Scenery blocks.
* Undo/redo in level editor originally written by squarecross.
* Added 'visible' property to blocks.
* Custom appearance of blocks.
* Various other bug fixes and minor improvements.

Translations:

* Updated Simplified Chinese, German, Russian, French and Scottish Gaelic translations.
* Added Hungarian translation by SanskritFritz.
* Added Norwegian translation by Petter Reinholdtsen and Allan Nordhøy.
* Added Ukrainian translation by eugeneloza.

Known bugs and limitations:

* No proper IME support for text box, etc.
* OSX support is broken.
* The button specification in theme file is changed, old theme may render button incorrectly in new version.
* Some achievements are not realistic, and there is a typo in achievements.
* Invisible collectible is counted in total number of collectibles.
* The scenery layer naming convention is confusing.
* The target time for tutorial level 10 seems unbeatable. Needs further investigation.
* There seems to be a random crash bug when exiting the game.

Downloads:

* Source: on Sourcefoege or on Github
* Linux: meandmyshadow-0.5-.glibc2.14-x86_64.AppImage
* Windows: meandmyshadow-0.5-Win32-VS2013-Release.7z

Found bugs:

If you encounter any bugs please post on this forum or submit an issue on Github.
Or if you want to give feedback please also post on this forum.
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: Me and My Shadow 0.5

Postby GunChleoc » 07 Oct 2018, 18:26

Congratulations on getting the release out :)
User avatar
GunChleoc
 
Posts: 502
Joined: 20 Sep 2012, 22:45

Re: Me and My Shadow 0.5

Postby eugeneloza » 07 Oct 2018, 19:14

Congratulations! :)
User avatar
eugeneloza
 
Posts: 500
Joined: 22 Aug 2014, 12:15
Location: Ukraine

Re: Me and My Shadow 0.5

Postby Wuzzy » 07 Oct 2018, 21:43

Congratulations on the release! It's good to have someone keeping this project alive. :)

Sad: No news on the release on http://meandmyshadow.sourceforge.net/. :(
Ideally, this website should be shutdown and/or redirect to the new one.
People who are following the game on Sourceforge might never learn about the release. :(

* The target time for tutorial level 10 seems unbeatable. Needs further investigation.

As the bearer of the “Outstanding graduate” achievement, I feel offended! xD
{l Code}: {l Select All Code}
record=0*41,2*8,16,0,1*26,5,1*51,5,1*32
map(){
   name=Checkpoints
   recordings=1
   size=1250,600
   time=240
   tile(Block,150,300)
   tile(Block,200,300)
   tile(Block,250,300)
   tile(Block,300,300)
   tile(Block,350,300)
   tile(Block,400,300)
   tile(Block,450,300)
   tile(Block,950,300)
   tile(Block,1000,300)
   tile(Block,1050,300)
   tile(Exit,1000,250)
   tile(ShadowStart,200,250)
   tile(PlayerStart,250,250)
   tile(NotificationBlock,300,250){
      message="You can save your progress in a level with\ncheckpoints. You can restore them at any\ntime using the F3 button."
   }
   tile(Block,500,300)
   tile(Block,550,300)
   tile(Block,600,300)
   tile(Block,650,300)
   tile(Block,700,300)
   tile(Block,750,300)
   tile(Block,800,300)
   tile(Block,850,300)
   tile(Block,900,300)
   tile(Checkpoint,600,250)
   tile(Spikes,450,250)
   tile(Spikes,850,250)
   tile(Spikes,800,250)
   tile(NotificationBlock,650,250){
      message="TIP:\nTry to get your shadow here as well.\nIf you stand on him you can jump further."
   }
}


When I start MAMS under German language, I see this message in console:
ERROR: Failed to create std::locale for 'de'!

But the game runs normally, all texts are translated to German just fine.
User avatar
Wuzzy
 
Posts: 989
Joined: 28 May 2012, 23:13

Re: Me and My Shadow 0.5

Postby acme_pjz » 08 Oct 2018, 07:27

Wuzzy {l Wrote}:Sad: No news on the release on http://meandmyshadow.sourceforge.net/. :(
Ideally, this website should be shutdown and/or redirect to the new one.
People who are following the game on Sourceforge might never learn about the release. :(


I have just sent a PM to Edward_Lii and waiting for response.

Wuzzy {l Wrote}:As the bearer of the “Outstanding graduate” achievement, I feel offended! xD


Where did you get that level? :| Your level is not the same as the tutorial level 10 on my computer, nor on Github.
I think it's an older version of tutorial level 10, even older then that in V0.4 or V0.4.1. :|

Wuzzy {l Wrote}:When I start MAMS under German language, I see this message in console:
ERROR: Failed to create std::locale for 'de'!

But the game runs normally, all texts are translated to German just fine.


Then I think the floating point format doesn't work as expected on your computer. Can you check if it's still formatted as "1.5", but not "1,5" as in German way?

And I think you're using Linux, since I have tested that it works well under Windows.

The corresponding code is here:

{l Code}: {l Select All Code}
#include <locale>

// ...

std::locale locale = std::locale::classic();

void setLocale(const char* std_name) {
    try {
        tfm::locale = std::locale(std_name);
    } catch (...) {
        std::cerr << "ERROR: Failed to create std::locale for '" << std_name << "'!" << std::endl;
        tfm::locale = std::locale::classic();
    }
}


Can you check that what kind of locale string will work for std::locale by writing some minimal test code?
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: Me and My Shadow 0.5

Postby GunChleoc » 08 Oct 2018, 08:29

System locales under Linux look like this:

{l Code}: {l Select All Code}
de_DE.utf-8


It would be better to have an in-game solution rather than depending on the current system locale though - people might have their system locale set to a different language to the one they're playing. The easiest solution is to let translators translate the separator like I explained in the preparation thread: https://forum.freegamedev.net/viewtopic ... 110#p78110 - this will save you from doing any complicated locale name parsing.
User avatar
GunChleoc
 
Posts: 502
Joined: 20 Sep 2012, 22:45

Re: Me and My Shadow 0.5

Postby Wuzzy » 08 Oct 2018, 16:37

Then I think the floating point format doesn't work as expected on your computer. Can you check if it's still formatted as "1.5", but not "1,5" as in German way?

Yes, for me it displays “1.5”, not “1,5”. I.e. wrong.

Can you check that what kind of locale string will work for std::locale by writing some minimal test code?

I'm not going to debug your game. But I tell you that LANG=de_DE.utf8 on my system.

And I think you're using Linux

Yes.

I think it's an older version of tutorial level 10, even older then that in V0.4 or V0.4.1. :|

Oops, I just uploaded the wrong replay, I guess. I had two replays for that level, and I blindly took a random one. 50:50 chance. :D
Second try:
{l Code}: {l Select All Code}
record=2*7,18,2,0,1*46,5,1*31,16,0*74,4,0*24,4,0*2,1*19,5,1*32,5,1*25,9,1*55,5,1*5
map(){
   name=Checkpoints
   recordings=1
   size=2900,600
   time=240
   tile(Block,150,300)
   tile(Block,200,300)
   tile(Block,250,300)
   tile(Block,300,300)
   tile(Block,350,300)
   tile(Block,400,300)
   tile(Block,450,350)
   tile(Block,950,450)
   tile(Block,1000,300)
   tile(Block,1050,300)
   tile(Exit,2650,150)
   tile(ShadowStart,200,250)
   tile(PlayerStart,250,250)
   tile(NotificationBlock,300,250){
      message="You can save your progress in a level with\ncheckpoints. You can restore them at any\ntime using the F3 button."
   }
   tile(Block,500,350)
   tile(Block,650,350)
   tile(Block,750,350)
   tile(Block,700,350)
   tile(Block,850,450)
   tile(Block,800,250)
   tile(Block,850,250)
   tile(Block,900,250)
   tile(Block,900,450)
   tile(Checkpoint,500,150)
   tile(NotificationBlock,450,150){
      message="Save your progress here."
   }
   tile(Block,450,200)
   tile(Block,500,200)
   tile(Block,550,200)
   tile(Block,400,200)
   tile(Block,1050,500)
   tile(Block,1150,500)
   tile(Block,1100,500)
   tile(Block,1100,300)
   tile(Block,1200,250)
   tile(Block,1250,250)
   tile(Block,1300,250)
   tile(NotificationBlock,1250,200){
      message="You've chosen the right way."
   }
   tile(Teleporter,1300,200){
      automatic=0
      destination=4
      id=1
   }
   tile(NotificationBlock,1100,450){
      message="This is the wrong way.\nGo back to the previous checkpoint by pressing F3."
   }
   tile(Teleporter,1150,450){
      automatic=0
      id=3
   }
   tile(Block,2600,250)
   tile(Block,2650,250)
   tile(Block,2700,250)
   tile(Block,2550,250)
   tile(Teleporter,2600,200){
      automatic=0
      destination=1
      id=4
   }
   tile(Block,2650,200)
   tile(Block,550,150)
   tile(Block,550,100)
}
User avatar
Wuzzy
 
Posts: 989
Joined: 28 May 2012, 23:13

Re: Me and My Shadow 0.5

Postby acme_pjz » 08 Oct 2018, 18:36

GunChleoc {l Wrote}:System locales under Linux look like this:

{l Code}: {l Select All Code}
de_DE.utf-8


It would be better to have an in-game solution rather than depending on the current system locale though - people might have their system locale set to a different language to the one they're playing. The easiest solution is to let translators translate the separator like I explained in the preparation thread: https://forum.freegamedev.net/viewtopic ... 110#p78110 - this will save you from doing any complicated locale name parsing.


I think you're right. I have tested on my Linux machine and I found that "en", "en_US", "en.utf-8" are not working, only "en_US.utf-8" is working. Also "de_DE.utf-8" is not working either --- I guess it haven't installed :( .

So I'll use the translatable separator approach, which is just implemented in V0.5.1 Development version.

Wuzzy {l Wrote}:Oops, I just uploaded the wrong replay, I guess. I had two replays for that level, and I blindly took a random one. 50:50 chance. :D
Second try:


OK then, this record takes time 8.28s, thanks to the feature added to V0.5 last minute which displays time on replay :cool: . Well I think the best record on your computer is just for the old version of tutorial level 10; the game doesn't clear the best time/recordings when level changed.

[EDIT] So... I think we should implement a feature which binds the best time/recording to the level MD5 :think:
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: Me and My Shadow 0.5

Postby acme_pjz » 10 Oct 2018, 06:50

acme_pjz {l Wrote}:
Wuzzy {l Wrote}:Sad: No news on the release on http://meandmyshadow.sourceforge.net/. :(
Ideally, this website should be shutdown and/or redirect to the new one.
People who are following the game on Sourceforge might never learn about the release. :(


I have just sent a PM to Edward_Lii and waiting for response.


OK, I got the reply from Edward_Lii and now the Sourceforge project webpage is automatically redirect to Github project webpage.
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: Me and My Shadow 0.5

Postby Wuzzy » 10 Oct 2018, 13:26

Ah, thanks. Now only the link in the forum description is missing. XD
User avatar
Wuzzy
 
Posts: 989
Joined: 28 May 2012, 23:13

Re: Me and My Shadow 0.5

Postby acme_pjz » 03 Nov 2018, 09:34

Hello all,

Me and My Shadow 0.5a has just been released.
This is a minor bug fix release.
You can find it on Sourceforge: https://sourceforge.net/projects/meandm ... iles/0.5a/ .

* Define paths earlier in CMakeLists.txt, mainly for Linux package build
* Don't use SDL_INIT_EVERYTHING which fails on systems which do not support SDL_INIT_HAPTIC
* Update the target time from 6s to 6.5s of tutorial level 10
* Update Hungarian (by SanskritFritz), Ukrainian (by burunduk and eugeneloza)
and Russian (by BoFFire, mesnevi and eugeneloza) translations which fixes some bugs
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Re: Me and My Shadow 0.5

Postby Akien » 05 Nov 2018, 10:46

Congrats on the new release! It's great to see 0.5 finally shipped :)

Sorry for not helping with the project as I had proposed a few years ago, I'm quite busy nowadays building a game engine :D
Godot Engine project manager and maintainer.
Occasional FOSS gamedev: Lugaru, OpenDungeons, Jetpaca, Minilens.
User avatar
Akien
 
Posts: 737
Joined: 22 Feb 2014, 13:14

Re: Me and My Shadow 0.5

Postby GunChleoc » 24 Nov 2018, 15:09

I have recorded the last tutorial level in Gaelic: https://www.youtube.com/watch?v=B4AwKkWEKds
User avatar
GunChleoc
 
Posts: 502
Joined: 20 Sep 2012, 22:45

Re: Me and My Shadow 0.5

Postby acme_pjz » 24 Nov 2018, 17:25

GunChleoc {l Wrote}:I have recorded the last tutorial level in Gaelic: https://www.youtube.com/watch?v=B4AwKkWEKds


Thanks for the video recording :)
Some of my open source games on GitHub
User avatar
acme_pjz
 
Posts: 665
Joined: 10 Dec 2009, 15:32
Location: PeeKing, China

Who is online

Users browsing this forum: No registered users and 1 guest

cron