Search found 1288 matches
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
Here's a .zpaq with my entire A2XT main game file inside This can be opened using PeaZip Heh, way to make it a pain with zpaq. Btw, PeaZip didn't want to read this file, it thought it was empty. I managed to extract it with zpaq64.exe instead though, which only wanted to extract by absolute path. S...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
That's fine too. I mean, I'm not going to take points off for crediting unless you do it in a super obnoxious way or something. You mean don't approve of me setting an event loop to display the level credits every 15 seconds?! :( For some reason this is making me think of he notion of emulating a t...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
Is there any way to allow Yoshi to carry an npc in his mouth, while disallowing the player to carry said npc? The two properties are both affected by the "grabside" npc code and I haven't been able to come up with any successful workarounds. Hm, you could use Luna trickery to force the pl...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
Could you maybe send me the data? I didn't get any issues at all.... EDIT: Okay I found a bug in the sound system, but do you have really issues with loadImage? Yep, I do. PMed you the WIP version of my MaGL X2 level which demonstrates this. Compare how the intro scene looks with 0.6.0.1 vs 0.6. Wi...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
Haven't tested so I don't know for certain, but I have a hunch that "player.HeldNPCIndex" refers to the index in the NPC table, and it'll be 1-based unlike how LunaLua uses the NPC table in a 0-based fashion, meaning the way you'd check what NPC type is being held is likely a matter of NPC...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
http://i.imgur.com/upmVjne.png This doesn't look right. I tried commenting out all the other code the manipulates the NPC's memory values (testMovement is now the only thing being done to it), and also eliminated the NPC's .txt file. Still can't set speedX to 0. Is there any enemy type setting thes...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
LunaLua version v0.6.0.1 is out with following changes: * Changed onTriggerEvent to onEventDirect * Added onEvent(eventName) So, uh, Kev, I can't do a code review to find the root cause as it's not been pushed to github yet, but something broke between v0.6 and v0.6.0.1. loadImage and playSFXSDL us...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
It is thankfully popping up, although the version number is different, I wouldn't think that would interfere with the code, but perhaps it does. It's showing me. 0.5.3.1 in contrast to the .6 in the screenshot above. You can try updating to 0.6.0.1 using the download link in http://talkhaus.raocow....
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
Idea... maybe LunaDLL is failing to load due to a MSVC redistributables issue? The devkit contains a "vcredist_x86.exe" file that you may want to try running. I tryed running that. Should I do it again?[/quote]If you already installed that trying again likely won't do anything. Just to ch...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
It's at this point where I know I'm doing some step wrong down the line. For testing I attempted to add the simple debug code thing, and even that wouldn't appear. EDIT: Is it just me or is Dr. Freeman having literally the same issue I am? Question to both of you. If you launch smbx.exe and hit &qu...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
So I replaced the Toothypipe NPC with one that's 64 wide instead of 32 and created the config file, but it's not working fully. When I face left, it works fine, but when I face right, the Toothy replacement (same size as regular toothy) comes from the middle of the NPC instead of the right side. An...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
Ahhh, okay. That part wasn't clear to me.Horikawa Otane wrote:Everyone has to pick one character for the level to start as. This is also who the judges will use to ensure consistency. They can then include character swap blocks if they want to allow both.
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
Could you upload/attach a zip file with an example level of it not working? https://drive.google.com/file/d/0B_j5WoqY1ljyWlJxV3B3TExDc1U/view?usp=sharing Well, what you uploaded works fine here, those printText statements run. No problem at all. Idea... maybe LunaDLL is failing to load due to a MSV...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
I tried making a collision function and it's not going well. if ((v.x < player.x + playerWidth) and (v.x + v:mem(0x90, FIELD_WORD) > player.x) and (v.y < player.y + playerHeight) and (v.y + v:mem(0x88, FIELD_WORD) > player.y)) then Haven't looked close enough to see if it's the only problem, but th...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
Hmm, MaGL X2 rules allow one to specify either one or two allowed characters. Might want to tweak things a little for that reason? Actually, how would filtering to allow two possible characters work anyway? I mean, the basic approach would be defaulting to one character if the player doesn't match a...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
Okay: Here is why I am asking: Windows has this attitude to hide known extensions, so it might be that your extension of the file is hidden and the real filename might be "lunadll.lua.lua" or "lunadll.lua.txt", whatever. Or there is an error with the latest version, what I doubt...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
In that case, I'll want to extend the collision check out a few pixels so the player doesn't get hurt. Each tile in SMBX is 32 x 32, yeah? Which would make a big player 32 x 64 pixels. And I assume coordinates are based on the top left corner of sprites. That assumption of player hitbox size is inc...
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
And to be clear, I'm pretty sure that code will trigger on returning to the hub from a level too, not just normal levels. Probably a more desirable effect than undesirable, but thought I'd mention it anyway.
- 8 years ago
- Forum: A2XT
- Topic: LunaLua Offical Thread
- Replies: 1245
- Views: 223694
Re: Presenting: Lunadll for Lua!
By the way Hoeloe, since you use coroutines in both eventu.lua and cinematX, I thought I'd share a tip you may want to integrate with those some time, which I've been using in some code I've not yet released. Basically, coroutines when used in the way you have currently in eventu.lua and cinematX si...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
Horikawa Otane wrote:
- 8 years ago
- Forum: A2XT
- Topic: Episode 2 Discussion Thread
- Replies: 701
- Views: 127216
Re: Episode 2 Discussion Thread
For someone used to C++ or similar, I'd say the most annoying thing about going to Lua, is that it uses 1-based arrays normally instead of 0-based (Though watch out because arrays output by LunaLua APIs are 0-based even though that's not the normal way of things in most Lua)
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
Ah, man that makes sense. CinematX makes assumptions about where your level file is, and looks for the images there. It'll be difficult to do anything about, but I have an idea (it may need a LunaLua patch though). I don't recall off hand where I saw it, but a memory address that contains a string ...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
I tried making a friendly NPC buried in grass where you pluck the grass and then you can talk to him. Instead I just talk to the clump of grass. Wat do? You might be able to do something better with Luna, but if you don't feel up to using it the best option I can see is to put nothing in the grass ...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
Aargh i'm stuck again, how do i make an event start when you enter the section? For example if i want certain things to start moving left when you enter the section theyre in, how do i do the magic? You really need LunaLua for that, to do it easily, anyway. Though I think LunaLua is the nice way to...
- 8 years ago
- Forum: archive
- Topic: MaGL X2 Discussion - MaGL X2 Lands TOMORROW. GET. HYPE.
- Replies: 3541
- Views: 578742
Re: MaGL X2 Discussion. No raocows! NOT the sign up thread!
Well it doesn't sound too loud by my ear but I guess it is much more likely that I've underestimated it's volume than I've somehow found the opposite sound to ingame sound effects Back to fiddling around with it then It could have to do with the spectral distribution of the sounds and the music als...

