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 - SolarisSpell

21
That's good to know.

I'm enjoying using RPG Maker XP and I think the result is turning to be good (I know, is my game, so it could be terrible and I would love it...). Maybe I should say that the game is better than what I though I could do.
22
So... this is my forth topic and only one has received an answer, so I wanted to ask to avoid just spamming the forum talking with none.

Is anyone interested in RPG Maker XP projects? I know it's a very old engine, so is understandable if it has been forgotten.

You always feel passionate about showing your game to other people, but probably its time has already past. Also, my project won't be in English in it's first version, so I think none will be interested in trying it here. But I'm optimistic, so here I am asking.

^_^
23
Nice.

I tried to post the script with some format, but hadn't seen that template.
I updated my post
24
Selwyn's Passability Minimap
Authors: Selwyn/Squall, KK20
Version: 1.1
Type: Minimap
Key Term: Environment Add-on

Introduction

This is an old script released the 30th of May 2006 and just recently update by KK20.
It shows a minimap in any of the four corners and different colored dots to represent enemies, npcs, chests, etc.

KK20 has updated the script so that it is dynamically refreshed (so you can turn a treasure into a mimic and the picture changes from 'chest' to 'enemy'), for example.

How to use

You need several images in your picture folder, which can be found in the demo.
Also, the minimap is activated or deactivated with an in-game switch. So, by default, it will be off until you activate the switch.

The minimap shows elements if the event has a comment with any of the following tags: event, enemy, teleport, chest, npc or savepoint.

Customization

  • You can change the corner in which the minimap is show editing line 24: @corner = 4
  • You can change the switch controlling the activation editing line 67: ACTIVATED_ID = 1
  • You can add new elements to be shown in the minimap adding in line 403:
elsif event.list[i].parameters[0].include?("whatever")
@events[key].bitmap = RPG::Cache.picture("whatever")
and you will need another picture with that 'whatever' name
  • You can also alter the pictures used by default to anything you like, just keep the name of the file (I think that the teleport image is not the original, I kinda think I edited it but don't remember)

Screenshot

Spoiler: ShowHide


Demo

Passability Minimap demo

Final Thoughts

This script has more than 15 years already, but maybe you can enjoy it.
^_^
25
Amazing! It works perfectly, thanks


I know is not my script, so maybe it's not my place to do so, but would be ok to post the script in the database subforum? Maybe someone appreciates it (but I don't know how much people still uses RMXP or are looking to add new scripts)
26
OK, I have added to file to Google Drive, so I think it won't be giving any problems

Selwyn's Passability Minimap

Thanks

27
I have created a demo, so it has both the script and the images needed

Selwyn's Passability Minimap - Demo

Edit: This is the original script, not the butchered thing I'm using right now
28
Thanks

Yeah, it's not a surprise that my custom thing is not efficient.
The problem is that I have absolutely no knowledge of coding, so I just franken-code. I take things of something and paste it together with other things to see what happen, and step by step I arrive to some code that somewhat works in a way similar to what I was trying to get.

(The only thing I created as a whole, was also using other existing things and it lags a lot. Some day I will have to try and find a way to make it not laggy. Probably should find a way to not be updating everytime or something like that)

I don't know what you mean by 'graphic specifications'. I'd have no problem providing them to you, is just that I don't know what I have to give you.
I'll look the Blizzard's Minimap script you mentioned. I was using Selwyn's one just because it shows little dots for npc, enemies and the like and I liked it.
29
General Discussion / How long should a game last?
March 08, 2021, 03:55:17 am
Hi

I was wondering how long do you think a game made with RPG Maker should last.

I'm aiming to make a 40 hours game, but wanted to know the length you prefer in RPG games.
I usually like games with an ending in mind. Both Dragon Quest XI and Persona 5 were more than 100 hours for me, but they were the exception. I enjoy shorter games normally.
30
Well, somehow I've made an hybrid thing and now it works.

When coding I feel like that meme of the "i have no idea what im doing dog"

I've taken your 'set_event_bitmap' method, added it like an additional thing, removed the 'return if event.list.nil?' because I don't know, and added that 'set_event_bitmap' in the update method. Now it works. It's magic


This is my Map_Event_Class
#==============================================================================
# ■ Map_Event
#------------------------------------------------------------------------------
#  draw the events and hero position
#==============================================================================

class Map_Event < Map_Passability
  #--------------------------------------------------------------------------
  # ● initialize
  #--------------------------------------------------------------------------
  def initialize(corner = 4)
    super(corner)
    @dots = []
    @player = Sprite.new(self.viewport)
    @player.bitmap = RPG::Cache.picture("mm cursors")
    @player.src_rect = Rect.new(0, 0, 15, 15)
    @player.z = self.z + 3
    @events = {}
   
    for key in $game_map.events.keys
      event = $game_map.events[key]
      next if event.list == nil
      for i in 0...event.list.size
        next if event.list[i].code != 108
        @events[key] = Sprite.new(self.viewport)
        @events[key].z = self.z + 2
        if    event.list[i].parameters[0].include?("event")
        @events[key].bitmap = RPG::Cache.picture("event")
      elsif event.list[i].parameters[0].include?("enemy")
        @events[key].bitmap = RPG::Cache.picture("enemy")
      elsif event.list[i].parameters[0].include?("teleport")
        @events[key].bitmap = RPG::Cache.picture("teleport")
      elsif event.list[i].parameters[0].include?("chest")
        @events[key].bitmap = RPG::Cache.picture("chest")
      elsif event.list[i].parameters[0].include?("npc")
        @events[key].bitmap = RPG::Cache.picture("npc")
      elsif event.list[i].parameters[0].include?("savepoint")
        @events[key].bitmap = RPG::Cache.picture("savepoint")
      end
      end
    end
  end
  #--------------------------------------------------------------------------
  # ● dispose
  #--------------------------------------------------------------------------
  def dispose
    @player.dispose
    for event in @events.values
      event.dispose
    end
    super
  end
  #--------------------------------------------------------------------------
  # ● update
  #--------------------------------------------------------------------------
  def update
    super
    @player.x = $game_player.real_x * 3 / 64 - 5
    @player.y = $game_player.real_y * 3 / 64 - 4
    @player.src_rect.x = ($game_player.direction / 2 - 1) * 15
    for key in @events.keys
      event = @events[key]
      mapevent = $game_map.events[key]
      event.x = mapevent.real_x * 3 / 64
      event.y = mapevent.real_y * 3 / 64
    end
    set_event_bitmap(event)
  end
 
  #--------------------------------------------------------------------------
  # ? set_event_bitmap
  #--------------------------------------------------------------------------
  def set_event_bitmap(event, key = event.id)
    #return if event.list.nil?
   
    for key in $game_map.events.keys
      event = $game_map.events[key]
      next if event.list == nil   
   
    for i in 0...event.list.size
      next if event.list[i].code != 108
     
      @events[key] ||= Sprite.new(self.viewport)
      @events[key].z = self.z + 2
   
if    event.list[i].parameters[0].include?("event")
        @events[key].bitmap = RPG::Cache.picture("event")
      elsif event.list[i].parameters[0].include?("enemy")
        @events[key].bitmap = RPG::Cache.picture("enemy")
      elsif event.list[i].parameters[0].include?("teleport")
        @events[key].bitmap = RPG::Cache.picture("teleport")
      elsif event.list[i].parameters[0].include?("chest")
        @events[key].bitmap = RPG::Cache.picture("chest")
      elsif event.list[i].parameters[0].include?("npc")
        @events[key].bitmap = RPG::Cache.picture("npc")
      elsif event.list[i].parameters[0].include?("savepoint")
        @events[key].bitmap = RPG::Cache.picture("savepoint")
      end
     
      break
    end
    end
  end
 
end

So thank you very much.
I've managed to make it respond thanks to your help.
31
Thank you for your answer

Sadly, it didn't work. It crashes (not that it doesn't respond).
The error says:
"undefined method 'needs_minimap_update' for #<Sprite:0x4110070>"

Thanks
32
Hi

I'm using an old script made by Selwyn back in 2006 called "Passability Minimap"
Can I ask for help regarding a script already created a long time ago?

The scripts shows a minimap and some dots (pictures) to represent enemies, npc, etc...
My problem is that if I have an event that changes with a self switch (and changes from npc to enemy), the minimap doesn't reflect that change. If I open and close the menu it shows the enemy dot, in I leave the map and reenter it also shows the enemy dot.
It seems that when the whole scene is created, it works, but if I want to change from npc to enemy, I don't know how to 'refresh' the minimap.

Being from a creator that is no longer here I don't know if I can ask for help.

Should I post the script?

Thanks
33
General Discussion / Hi, I'm new here
March 05, 2021, 03:11:16 am
Hello. I'm SolarisSpell

First of all, I'd like to say I'm sorry for my English. I'll try my best to not make your eyes bleed.

I started using RPGMaker XP a lot of years ago. A lot. I never finished my project, but now, being quarantined at home, I've decided to finally finish it.
When looking for info through the net this past few months I found this web, and here I am. But my project is not in English, is in spanish. I don't know if I could show any of it here or if none would be interested.

Also, can you ask for help regarding an old existing script? I'm going to try in the script request...

Thanks