Posts by Sambo

by Sambo
22 Dec 2015, 8:03
Forum: LunaLua - Extension Framework
Topic: Cheat Codes Reset After Each Level
Replies: 1
Views: 2559

Cheat Codes Reset After Each Level

Since Kevsoft added the cheat codes to the Defines namespace, which resets at the beginning of each level, cheat codes are all cleared between levels. This isn't supposed to happen. In vanilla SMBX, cheat codes are only cleared when you exit the episode.
by Sambo
22 Dec 2015, 7:59
Forum: LunaLua - Extension Framework
Topic: Image Render Issues
Replies: 2
Views: 2618

Image Render Issues

On my world map I have a "banner" image that is diplayed for each world. It usually works, but occasionally, it doesn't load for some reason. Any idea what might be the problem?
by Sambo
12 Dec 2015, 23:24
Forum: LunaLua - Extension Framework
Topic: World Map Player Position
Replies: 1
Views: 670

World Map Player Position

I need to get the player's location on the world map, but player.x and player.y only work in levels. Does anyone know how to get player position on the world map?
by Sambo
8 Dec 2015, 6:23
Forum: LunaLua - Extension Framework
Topic: Colliding with Destroyed Blocks
Replies: 0
Views: 494

Colliding with Destroyed Blocks

For some reason, colliders.lua detects collisions with blocks that have already been destroyed. This destroys my evil plan. :devil: Apparently, blocks that have been destroyed still exist, but just become inactive and invisible. Is there a way to check if a block has been destroyed? If not, I would ...
by Sambo
8 Dec 2015, 6:16
Forum: LunaLua - Extension Framework
Topic: Crushing the Player
Replies: 4
Views: 908

Re: Crushing the Player

Yes. I could. But how that would help to recreate the crushing system is beyond me. Could you maybe clarify that a little? Edit: Oh, do you mean the player offset for invincibility (that triggers when the player is hit or just used a powerup)? THAT would probably work better than what I'm trying to ...
by Sambo
7 Dec 2015, 5:30
Forum: Troubleshooting
Topic: PGE Won't Detect Custom PNGs [Fixed]
Replies: 16
Views: 3512

Re: PGE Won't Detect Custom PNGs [Fixed]

I only have one installation. Maybe the online installer is broken or something. It has happened before. I'll just try to manually download PGE and see if that helps.
by Sambo
7 Dec 2015, 5:24
Forum: Moondust Project
Topic: Engine/Editor Screenshots Thread
Replies: 190
Views: 36415

Re: Engine/Editor Screenshots Thread

Value of those samples is no matter, the thing is after loop end must be even one sample What do you mean by "even one sample?" Do you mean EXACTLY one sample or AT LEAST one sample? Let me just send you the file to look at. Maybe then you can help me figure out the problem better. https:...
by Sambo
7 Dec 2015, 5:17
Forum: LunaLua - Extension Framework
Topic: Crushing the Player
Replies: 4
Views: 908

Re: Crushing the Player

I don't understand where you're going with this. I know what happens in God Mode when you'd normally be crushed. That's what I'm trying to fix. I have an idea that I think I'll try, though, using smaller hitboxes inside the player's hitbox. These will kill the player if they touch a block. It won't ...
by Sambo
6 Dec 2015, 3:12
Forum: LunaLua - Extension Framework
Topic: Crushing the Player
Replies: 4
Views: 908

Crushing the Player

I'm making a Starman using the invincibility cheat code. It all works really well so far, but, as you know, the player cannot be crushed to death if he is invincible. With a Starman, the player is not supposed to be immune to crushing. However, I don't know how to recreate the crushing "algorit...
by Sambo
5 Dec 2015, 23:04
Forum: Troubleshooting
Topic: PGE Won't Detect Custom PNGs [Fixed]
Replies: 16
Views: 3512

Re: PGE Won't Detect Custom PNGs [Fixed]

PGE supports PNG natively and everything works already. Are you got right update? (are you ran RIGHT version or you accidentally launched legacy build?) I just updated my PGE-online dowloader and used it to get the new version less than a week ago, so unless it runs a legacy build automatically, it...
by Sambo
5 Dec 2015, 22:38
Forum: Moondust Project
Topic: Engine/Editor Screenshots Thread
Replies: 190
Views: 36415

Re: Engine/Editor Screenshots Thread

Are you kept even one sample AFTER loop? You should keep even one sample after loop: please add short silence to end and retry it I cut out most of the music that wouldn't play with the loop, but I left at least 1000 samples after the place where the loop ends. Does there need to be silence at the ...
by Sambo
5 Dec 2015, 5:51
Forum: LunaLua - Extension Framework
Topic: LunaLua Offical Thread
Replies: 180
Views: 45326

Re: LunaLua Offical Thread

The newest version broke SMBX. It won't run at all:
smbx quit working.PNG
smbx quit working.PNG (8.63 KiB) Viewed 7155 times
by Sambo
5 Dec 2015, 4:02
Forum: Troubleshooting
Topic: PGE Won't Detect Custom PNGs [Fixed]
Replies: 16
Views: 3512

Re: PGE Won't Detect Custom PNGs [Fixed]

I just tried it, and the custom PNGs still aren't showing. Before I accuse you of not fixing it, though, I'll ask you this: Is the fix for this in the core of the program, or is it in the libraries and I need to get a full build? Or do ALL GFX, even the defaults, have to be PNGs?
by Sambo
5 Dec 2015, 3:05
Forum: LunaLua - Extension Framework
Topic: Checking if an NPC Hurts the Player
Replies: 1
Views: 644

Checking if an NPC Hurts the Player

I know. Another post. I'm posting here constantly. Anyway, is there a way to check whether an NPC hurts the player or not? What I mean is, checking the value of the flag you can set in an npc-*.txt, "nohurt." Without this ability, there is no effective way to tell LunaLua if an NPC is an e...
by Sambo
5 Dec 2015, 0:42
Forum: LunaLua - Extension Framework
Topic: PlayerGFX: overlaying the player sprite with a color
Replies: 0
Views: 560

PlayerGFX: overlaying the player sprite with a color

I was looking at the new PlayerGFX API and it looks pretty awesome. A feature that should be added is a way to overlay a player with a certain color. This could be used to add a lighting effect to players in darker levels without all the extra load time. Usually, you'd have to load multiple 1000 x 1...
by Sambo
5 Dec 2015, 0:14
Forum: Moondust Project
Topic: Engine/Editor Screenshots Thread
Replies: 190
Views: 36415

Re: Engine/Editor Screenshots Thread

I tried that, still with no success. What am I doing wrong here?
Here is the metadata:
metadata.PNG
metadata.PNG (11.6 KiB) Viewed 3006 times


Edit: Removed the processed with SoX thing. It didn't have any effect.
by Sambo
30 Nov 2015, 6:05
Forum: Moondust Project
Topic: Alpha testing bug reports
Replies: 2
Views: 2771

Re: Alpha testing bug reports

Bloopers aren't supposed to die if there's not water. In SMBX they just sit on the ground if they're out of water.
by Sambo
30 Nov 2015, 5:55
Forum: Moondust Project
Topic: Engine/Editor Screenshots Thread
Replies: 190
Views: 36415

Re: Engine/Editor Screenshots Thread

Am I reading this right? SMBX does not natively use OGG without proper Luna code being installed. I do have LunaLua. I knew it wouldn't work with vanilla SMBX. But it isn't working in PGE or SMBX. Use LOOPLENGTH, because it works just about anywhere where it can be effectively used, including PGE a...
by Sambo
29 Nov 2015, 1:11
Forum: LunaLua - Extension Framework
Topic: Print text to scene?
Replies: 4
Views: 1116

Print text to scene?

With the drawImage function, images are only drawn on P1's screen. I know I asked this before, but is support for showing images and text on both P1 and P2's screens going to be added? If not, I thought of a way to do it using drawImageToScene and camera positions, but there isn't a similar function...
by Sambo
28 Nov 2015, 2:56
Forum: Moondust Project
Topic: Engine/Editor Screenshots Thread
Replies: 190
Views: 36415

Re: Engine/Editor Screenshots Thread

Wohlstand wrote:Looping musics (without replaying of music entrance part) now is possible!
I can't get it to work. I set LOOPSTART and LOOPEND and it plays the same as it did before.
Does it work in SMBX, or only in PGE?

Go to advanced search