- Joined
- Sep 24, 2015
- Messages
- 65
- Reaction score
- 36
- First Language
- English
- Primarily Uses
- RMVXA
I've been trying to implement Lune world map into my game. ( https://centrorpg.com/index.php?topic=1129.0 )
Using the script by itself results in a lot of lag in this specific project. Though, when using it in a similar project, that also uses a larger resolution, there is no lag. So I asked on Discord for help and TheoAllen made a scriptlet that was able to render the map at 60 fps, instead of the usual 5 fps I was getting. (Theo's fix below)
However, this resulted in some odd behaviour when moving around the map.
See video linked for what that odd behaviour looks like.
Does anyone know how I can get this to render at 60 fps without the broken map movement?
Thanks
Using the script by itself results in a lot of lag in this specific project. Though, when using it in a similar project, that also uses a larger resolution, there is no lag. So I asked on Discord for help and TheoAllen made a scriptlet that was able to render the map at 60 fps, instead of the usual 5 fps I was getting. (Theo's fix below)
Ruby:
class Scene_Lune_Map
def update
super
if @category_index != @category_window.index
unless $lune_map_info == []
@item_window.refresh(@category_window.index)
@help_window.refresh(@category_window.index)
end
@category_index = @category_window.index
end
end
end
See video linked for what that odd behaviour looks like.
Does anyone know how I can get this to render at 60 fps without the broken map movement?
Thanks





