(shouting)

Search found 104 matches

by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

Just wondering...
Is Kil still working on this,or is it just Kevsoft now?
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

Kevsoft helped me with it its
player:mem(0x48, FIELD_WORD)
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

Is there a way to check if you are on a slope?
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

Yeah thats something i found out too.Gravity or animations on the player doesnt seem to work anymore if you Set the state to -1.You might can change the code so it only wors if you stand on collision.
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

My Previous code (the code i made before i deleted the post) didnt worked because the players state didnt changed... This seems to work though now: --Variables: stop_input=true fix=false --Do the Stopping! function onLoop() if(stop_input==true and fix==false)then -- If the input should be disabled, ...
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

Well the only way you can disable it yet is to use this: function onLoop() player:mem(KEY_JUMP, FIELD_WORD, 0xFFFF) player:mem(0x11E, FIELD_WORD, 1) player:mem(0x120, FIELD_WORD, 1) end (you can still change the direction the player is facing though...Dunno how to disable it) Or you make a SMBX even...
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

alright. Anyways about disabling the player input,cant you just force the game to keep pressing the up key,so it works? I didnt tried it yet but thats something i need for my episode. You can, but that disables input for progressing text boxes as well, which makes it not very useful for cutscenes. ...
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

alright.
Anyways about disabling the player input,cant you just force the game to keep pressing the up key,so it works? I didnt tried it yet but thats something i need for my episode.
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

btw kev,could you add a wait function?
lets say:
function onLoop()
if(blablabla==false)then
wait(blablabla==true)
...
So the code only continues if blablabla is True or something like that.
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

cant you force the player to have no input by simpy setting a SMBX Event?
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

I tried loading & Placing sprites with a api too,doesnt seem to work.
with lunadll.lua it seems to work without any issues though.
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

i think i got a idea how to make a boss using custom bmps Sprite without the use of npcs... I gotta try it out...
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

What i'm currently working on :3
Image
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

maybe you can make the code like this:

Code: Select all

local throw_dir = 0

function onLoop()
if (NPC.speedX >= 0)then
throw_dir = 1 NPC.speedX = 0
else
If (NPC.speedX <= 0)then
throw_dir = -1 NPC.speedX = 0
end
end
IDK if that would work though.
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Welp,what i try to do works almost,sadly the Animation part is not working :/ What i basicaly want to do is to check the state of the player and then draw the correct image at the player.It works but like most said the Animation making is not working...Well i kinda got it working but the frames chan...
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Yeah its placeSprite (2,...)
Thank you.
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Is there a way to place a sprite using lua always at the X/Y Position of Player 1?
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Hey Kil,would it be possible with the upcoming GUI frameworks to make transparent Sprites? You could change the horizontal speed of the NPC to 0, and control its horizontal movement entirely with LunaDLL. That'd probably be the best idea. Though, how would I have it check which direction it was thro...
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Hoeloe wrote:
Kil wrote:Lunadll always loops once per frame, so you can just have something increment a variable and display it on screen
Just to be sure, does it play nicely with frameskip?
Thats something i would like to know too.
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Is there a way to check the ammount of frames you're in a section? I want to make a autoscrolling section and need the correct frames ammount for the timer to stop it again.
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Aww...
Well thats alright.
(I just asked btw,because i made my own launcher.)
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Kil wrote:sure
Could you maybe do that with my SMBX exe if you don't mind?
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Hey Kil,would it be possible to edit the SMBX exe so it immediately starts the main game and not show the Launcher?
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaDLL/LunaLUA help thread
Replies: 1467
Views: 287136

Re: LunaDLL help thread

Kil could you help me a bit?
I want the 3 Section of my castle to be a autoscroll section,i got the scrolling to work but the screen
still moves like normal when i walk to the right... How can i stop that?
EDIT:
This is my code:
http://pastebin.com/PHBxTikK
by Darkchaox100
9 years ago
Forum: A2XT
Topic: LunaLua Offical Thread
Replies: 1245
Views: 263490

Re: Presenting: Lunadll for Lua!

Thats just what i needed! Thank you.