Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Thanks for the feedback though, I'll tell you if I update it!
Trace("Hello? Is this working?")
globalvar WelcomeSlime;
globalvar WelcomeSlimeSpr;
WelcomeSlimeSpr = sprite_add("SlimeSprite.png", 2,1,1,8,9);
WelcomeSlime = EnemyCreate(undefined,"WelcomeSlime",EnemyType.Raider,0.5,10,1,3,1,2);
#define OnLevelUp()
ExplosionCreate(x,y,75,0);
DropItem(x,y,Item.Wood, 10);
DropItem(x,y,Item.Coal, 10);
DropItem(x,y,Item.Coin, 100);
#define OnLoad()
var _inst = ModEnemySpawn(objPlayer.x, objPlayer.y-64, depth, WelcomeSlime);
WelcomeSlime.sprite_index = WelcomeSlimeSpr;
And regarding the _instGalaxySprite, my code has a lenght of 45 chars in line 17 which tells me that it could be that some other mod you have, defines an enemy called WelcomeSlime and these mods crash one another somehow. (or they changed how the modding works pretty hard)
I can't really say why that happens, but I could make another mod that doesn't spawn in the enemy which seems to be the problem here.
I can however confirm that this is most likely not an error that happens solely because of my mod.
Here is my code for you to see, but as said, I don't really know where the problem could be...
When i close the Skill menu or i enter/out of a dungeon, spawn a clone of my character with a bone how weapon. And you can read on the chat:
Exectuion error: C:\Steam\steamapps\workshop\content\751780\1971192058/Main.gml[L17,c27]
Couldn't find any instances of 21 (objSlime)
When you kill the clone (the clone fight how a skeleton... more or less) you can read on the chat:
Exectuion error: C:\Steam\steamapps\workshop\content\751780\1971192058/Main.gml[L17,c51]
Global variable `_instGalaxySpirit` is not set.
If you go out of a dungeon, the clone spawn over the build and you cant kill her, if you go out of the dungeon many times, the enemy stack over the dungeon...
If you try uninstall this mod when this clone is spawned in your world, the save crashed, you need kill all the clones for uninstall.
Again, this mod is greatfull, i really want play with this mod. Its possible to solved this?