Search found 36 matches
Go to advanced search
|
|
|
|
- by DeMuZ
- Thu Jan 17, 2019 2:16 pm
- Forum: Episodes
- Topic: [2.0 Beta 3] teon.origins
- Replies: 8
- Views: 1127
Did you forget to delete the savefile? Is it safe to delete it? I'm starting the game with a bunch of random stuff. This looks awesome though, despite the weird opening post in this thread! It's very promising! What to do in the first level in the area with arrows next to apples? Well, you can clim...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Sun Dec 30, 2018 6:49 pm
- Forum: Episodes
- Topic: [2.0 Beta 3] teon.origins
- Replies: 8
- Views: 1127
hi! DeMuZ here. here's 1st episode of The Episode of Nonsense series teon.origins BEWARE N00BS btw, may contain some swears enjoy this is not a joke staff: >DeMuZ (creator of this beautiful ep) >LunarImouto (betatester, a bunch of ideas, also known as Hatebz) >Flower35 (some ideas) >YellowRelic3714 ...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Fri Jan 06, 2017 8:17 am
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
Can someone help me with disabling saving on the overworld, and replace it with talking to a npc inside a level to save? I'm still struggling with the basics of Lunalua and any help would be appreciated. The easiest way to make player unable to save is to make the game think all the time that he ha...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Sat Dec 24, 2016 3:32 pm
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
That won't work. Instead, pick spawn coordinates and after that do a getIntersecting check around that box and spawn the NPC only if the returned list is empty: local spawnX, spawnY = rng.random(a,b), rng.random(c,d) local collidingBlocks = Block.getIntersecting(spawnX - 16, spawnY - 16, spawnX + 1...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Sat Dec 24, 2016 3:22 pm
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
What exactly are you asking? Nothing is nothing and is there when you don't tell anything else to be there. Nothing doesn't need to be placed. I just want to make sth spawn randomly in empty space of this section and I'm trying to find the simpliest way to do this xd http://i.imgur.com/3g0iKQ2.png ...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Wed Dec 21, 2016 3:48 pm
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
Thing is, 99% of people use spritesheets rather than animated files caue they're easier to make and easier to edit. Loading the animated file I think converts it into seperate images, too, which kinda follows the same idea. So the best option if the animations doesn't work is to remake the graphics...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Wed Dec 21, 2016 1:34 pm
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
Thing is, 99% of people use spritesheets rather than animated files caue they're easier to make and easier to edit. Loading the animated file I think converts it into seperate images, too, which kinda follows the same idea. So the best option if the animations doesn't work is to remake the graphics...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Mon Dec 19, 2016 4:43 pm
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
Well a simple way to draw the right frame, is to make a local variable of the current frame you want to draw: local frameNum_ssj0 = 1 -- <code> -- somewhere for rendering Graphics.draw(ssj0[frameNum_ssj0], X1, Y1, 5) frameNum_ssj0 = frameNum_ssj0 + 1 if frameNum_ssj0 > #ssj0 then frameNum_ssj0 = 1 ...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Sun Dec 18, 2016 11:57 am
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
I posted links for that animations a few posts ago. Just right-click and save. I think it'll be more helpful (for me) than just giving the number of frames.
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Sun Dec 18, 2016 8:36 am
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
Ok... I think I'm too dumb to make my code work with animated gif :v If someone makes it work, he'll be given a virtual cookie. The whole code: local colliders = loadSharedAPI("colliders") local rng = loadSharedAPI("rng") local encrypt = loadSharedAPI("encrypt") xData = encrypt.Data(Data.DATA_WORLD,...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Sat Dec 17, 2016 1:52 pm
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
A TABLE??? Oh... i forgot about it :( thanks btw, X1 and Y1 were defines, that was only a few lines of my code Loads an animated image (i.e. gifs) and returns a table of each frame in the animated image. The second return argument is the average frame speed (SMBX frames per frame switch) given by th...
|
|
|
|
|
|
|
|
|
- by DeMuZ
- Sat Dec 17, 2016 12:22 pm
- Forum: LunaLua
- Topic: Need help with lua? - LunaLua General Help
- Replies: 1502
- Views: 145081
Code: Select all local ssj0 = Graphics.loadAnimatedImage(getSMBXPath().."\\worlds\\The Seven Stars (by DeMuZ)\\hud gfx\\ssj 0.gif")
function onTick()
Graphics.drawImageToSceneWP(ssj0, X1, Y1, 5)
end
Am I doing it wrong? It doesn't work.
|
|
|
|
|
Go to advanced search
|