Search found 131 matches

Go to advanced search

by Novarender
Tue Nov 13, 2018 7:49 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

Thanks, it finally worked!
by Novarender
Tue Nov 13, 2018 5:31 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

I have no idea what I'm doing wrong, but it's still not working. Removing the texture results in a white circle and keeping it results in nothing at all. It completely ignores the color property. overlays[k] = imagic.Circle { radius = r, x = playerCenterX, y = playerCenterY, scene = true, -- texture...
by Novarender
Sat Nov 10, 2018 9:33 am
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

It looks like it is doing it correctly. Assuming that overlays[k] is a variable containing the circle, it is what's drawn and not the circle itself. Even so, exactly how can I make it a pure black color? Do I need to assign a black texture or a blank texture with a black color? The reason it's not ...
by Novarender
Thu Nov 08, 2018 5:12 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

How exactly can I do that? I don't really know how this code works, it's just a mod of nsmbwalls.lua. The problem that's stopping the code you tried to use from working is that colours and textures are not interchangeable. By swapping out the draw colour (which is used to tint the object) with a te...
by Novarender
Wed Nov 07, 2018 8:07 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

How exactly can I do that? I don't really know how this code works, it's just a mod of nsmbwalls.lua.
by Novarender
Wed Nov 07, 2018 6:19 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

How to have a plain black texture? local left,top,right,bottom local shouldRenderToScene local renderPrio Graphics.glDraw{ vertexCoords={left,top,right,top,right,bottom,left,bottom}, primitive=Graphics.GL_TRIANGLE_FAN, sceneCoords=shouldRenderToScene, color={0,0,0,1}, priority=renderPrio } Replace ...
by Novarender
Wed Nov 07, 2018 5:13 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

How to have a plain black texture?
by Novarender
Tue Nov 06, 2018 8:22 pm
Forum: LunaLua
Topic: NSMBWalls.lua - Fake Walls! (Beta 4 Fix)
Replies: 59
Views: 16876

Re: NSMBWalls.lua - Fake Walls! (IMPORTANT UPDATE) - link fixed

What part of the code draws the nsmbwalls layer as transparent (when player is behind the layer)? Because I want to change it to be more like the original and not draw the blocks at all.

*nevermind
by Novarender
Sun Nov 04, 2018 8:58 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

Colliders aren't intended in general to be used as a replacement for solid objects, they act more as trigger fields so trying to do get solid circular objects in that would be an immense amount of work. In the case of the conveyor belt I'd be very surprised if there was a good way to simulate conve...
by Novarender
Sat Nov 03, 2018 9:34 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

Can I use colliders.lua or something to make circular collision (player-collision)? If so, can I make it so I can slide on it, too?


On a separate note, could I add a conveyor-belt effect to something?
by Novarender
Sat Sep 15, 2018 5:08 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

How can I make normal bullet bills (ones shot from a bill blaster) die upon contact of a block, like the ones shot from the Billy Gun?
by Novarender
Sat Sep 15, 2018 3:26 pm
Forum: General
Topic: [Canceled] Postal 2 meets SMBX?
Replies: 23
Views: 1939

Re: [Canceled] Postal 2 meets SMBX?

<r><QUOTE author="Electriking" post_id="333941" time="1536444136" user_id="10240"><s>[quote=Electriking post_id=333941 time=1536444136 user_id=10240]</s> <QUOTE author="Notxarb" post_id="333939" time="1536442155" user_id="11800"><s>[quote=Notxarb post_id=333939 time=1536442155 user_id=11800]</s> It'...
by Novarender
Sat Sep 15, 2018 3:19 pm
Forum: Help and Support
Topic: Level Editor Problems
Replies: 2
Views: 308

Re: Level Editor Problems

I don't know, but it's almost as if it crashed while I was naming the episode. I was just sitting there thinking of a good name when all of a sudden it closed. As for the folder, https://s15.postimg.cc/i3v94g0jb/for_SMBX_forum.png Some of those text files are what I mentioned (all the text files hav...
by Novarender
Sat Sep 15, 2018 2:05 pm
Forum: Help and Support
Topic: Level Editor Problems
Replies: 2
Views: 308

Level Editor Problems

1. I create a graphic with 1 frame that overwrites a graphic with 4 frames. 2. I create a .txt file that sets the 'frames' flag to 1. 3. I place the npc in the editor and it works, it only shows that one frame while other npcs with multiple frames are animated. 4. I test it and suddenly it has 4 fra...
by Novarender
Sat Sep 08, 2018 5:29 pm
Forum: General
Topic: [Canceled] Postal 2 meets SMBX?
Replies: 23
Views: 1939

Re: [Canceled] Postal 2 meets SMBX?

And watch as this thread sits here emptily, drifting around aimlessly for eternity. Oh well. It's not a bad idea, crossing portal and mario... it's been done before in mari0, but I imagine it would be completely different in SMBX. Actually, now that I think about it, it would probably be really hard...
by Novarender
Mon Jul 09, 2018 11:11 pm
Forum: Help and Support
Topic: NPC flag not working
Replies: 0
Views: 312

NPC flag not working

EVERYTHING BELOW IS RESOLVED There is a txt file for a cheep-cheep. All flags work except one: noyoshi=1 nofireball=1 noiceball=1 width=40 gfxwidth=40 framespeed=21 The last flag, framespeed, does not work. I've tried it at different values, but none of them work, not even the normal framespeed of ...
by Novarender
Tue Jun 05, 2018 5:00 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

function onTick() Text.print(isGroundPounding,0,0) Text.print(isSitting,0,25) Text.print(t,0,50) Text.print(player:isGroundTouching(),0,75) Text.print(player.speedX,0,100) Text.print(forceStay,0,125) Text.print(player.leftKeyPressing,0,150) Text.print(player.rightKeyPressing,0,175) Text.print(playe...
by Novarender
Tue Jun 05, 2018 11:51 am
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

I want to detect if a key is being pressed every frame. I'm using it in onTick but it's not working correctly. Is there a different event I should use?
by Novarender
Sun Jun 03, 2018 9:42 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

I'm having a hard time understanding what you're asking. If you want to override the player's jump key input, use the event onInputUpdate() and set player.jumpKeyPressing to true or false. So I tried to set the player's Y-speed to 50 while in mid-air -- it works, but not while the player is jumping...
by Novarender
Sun Jun 03, 2018 3:28 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 172759

Re: Need help with lua? - LunaLua General Help

How can I stop the player while they are jumping, still holding the jump button? Also, how can I force the player to be able to jump? I'm having a hard time understanding what you're asking. If you want to override the player's jump key input, use the event onInputUpdate() and set player.jumpKeyPre...

Go to advanced search