Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - froggy77

Pages: [1] 2 3 ... 10
1
Development / Re: how do you save a number?
« on: March 31, 2020, 07:18:00 pm »
According the documentation, game:get_value(savegame_variable) returns a value saved.

In your function, 'size' is a local variable that has not yet been saved, so you cannot use game:get_value("size"), because it will return 'nil'.   

2
Development / Re: how do you save a number?
« on: March 31, 2020, 12:58:03 pm »
You can convert strings to numbers:
Code: [Select]
win = tonumber(game:get_value("win"))

3
Development / Re: does anyone know what this means?
« on: March 30, 2020, 01:01:59 am »
Thanks.  I corrected the link.
Edit : new version of the script.

4
Development / Re: Sprites not visible when entities created
« on: March 28, 2020, 02:05:15 pm »
I have already encountered a similar problem, the sprite was displayed but outside the screen area and was therefore not visible.

5
Development / Re: does anyone know what this means?
« on: March 23, 2020, 07:07:07 pm »
I created a PowerShell script that generates a report in html to detect errors (eg CRC) in .png and .bmp images.
It also makes it possible to get the color palette of the images in a folder and its sub-folders.
This script needs the ImageMagick tool.
I would like to know if some can test it and give me feedback.


https://github.com/hydralerna/ZL-project/blob/master/tools/ImageMagick_report/ImageMagick_Report.ps1

6
Development / Re: does anyone know what this means?
« on: March 18, 2020, 06:44:15 pm »
I've got CRC errors in a lot of png files of my project; I did not know your error but it seems similar.
I often use Gimp and still don't know what options can cause this. I thought it was Gimp that was causing this problem, but I'm pretty sure I would do the same CRC error with images created in mspaint.
imagemagick may help you to fix this problem. Just run imagemagick, open the png image and save it.
The other problem when they are a lot of images in a project is to identify what images have errors.
That's why I'm doing a report in html generated by a Powershell script (which needs imagemagick).

I don't know if you share your project online (for example with GitHub or GitLab), but it would be helpful for me to test my script with the errors you are having.

7
Game art & music / Re: Oracle of Seasons Tileset
« on: March 01, 2020, 12:12:30 pm »
Very good job! I love when there are also custom stuffs.
 You'd better host the pictures directly on the forum.

@Katsu: Your 'dow(n)load' link is dead.

8
Your scripts / Re: Simple Fishing Mechanic
« on: December 27, 2019, 03:09:18 pm »
It is well explained and it makes you want to implement this fishing mechanic. It would be better with 8 directions and with more animation.

9
Your projects / Re: .DAT Compiler
« on: December 19, 2019, 12:23:40 am »
I looked at the content of the DatCreationMenu.bat script and tried it; it's not meant to save time in creating dat files for tilesets. In fact, you have to enter tile by tile the x and y coordinates, the width and the height, if it is traversable or other, etc ... The script is well written, but I don't see the point because we don't see what we do. Might as well go through the editor. It's still DOS, it's old school. :D

10
Game art & music / Re: here are some sprites i found
« on: November 27, 2019, 06:46:33 pm »
wow! There are a lot of custom sprites that I did not know. But it is not always clear to identify the authors.Thanks

11
Development / Re: How to configure game window
« on: July 29, 2019, 11:28:52 pm »
There is this message at the beginning of your video:
Code: [Select]
Warning: Cannot use quest size 320x240: this quest only supports 320x320 to 320x320.Is it normal? I read here that it should be removed. So I don't know...

12
Development / Re: HUD: ZL - level (LVL) & experience (XP)
« on: July 22, 2019, 08:06:42 pm »

13
Your scripts / Re: froggy44's Level and Experience system -- V1.6
« on: July 22, 2019, 07:56:38 pm »

@Kamigousu
wow it is a very good job.
I have a headache reading again the script after several years without scripting in Lua. I'm glad someone keeps making the script use.
Thank you for the update.

Please, could you delete my nickname in the topic name? It is not because it is misspelled ;) but because it's just embarrassing.


@CopperKatana
Sorry, it is not adapted to have more than on hero. But, it would be a good improvement.

14
Your scripts / Re: Enemy drop rate and multiple item drops
« on: July 13, 2019, 05:24:59 pm »
This is an interesting script, thank you for sharing it. :)

15
So kewl!  :)

Pages: [1] 2 3 ... 10