How i make a Powerup for mari0 se?
First off, we get you want help. You're posting on EVERY DAMN THREAD, REPETITIVELY, and it's VERY annoying, which is probably why nobody wants to help you. Second, If you want to know how to make a powerup in se, It's not a good Idea to call the topic [I Want Help!]. Third, to answer your question, I don't know anyone who's made a powerup in SE, but it's possible, depending on the ability. BUT, because of all your stupid ass comments and I NEED HELP!s, I say good luck finding somebody to help you.
EDIT: Also, Lock the thread.
EDIT: Also, Lock the thread.
PrincessKiller wrote: EDIT: Also, Lock the thread.
PrincessKiller wrote: EDIT: Also, Lock the thread.
you made me annoyned and angered,i no longer i will add a super awesome powerup at my mod >:( just because of youPrincessKiller wrote: EDIT: Also, Lock the thread.
edit:oh,i know the reason,because everybody want to make me accidentally bump at every topic that i say help
I'm ignoring now PrincessKiller
Play my UGLY edition of Mari0 SE
viewtopic.php?f=13&t=4524&p=112183#p112183
Play my UGLY edition of Mari0 SE
viewtopic.php?f=13&t=4524&p=112183#p112183
- Superjustinbros
- Posts: 2119
- Joined: 29 Mar 2012, 20:39
- Contact:
Okay. John, why don't you explain what type of powerup(s) you wanted, and maybe someone can provide you with something and this topic doesn't erupt in a flamewar.
I've seen you do this before, but please don't spam help. It just makes less people want to help you.
First, there is not custom power up system in the game so you have to program it in, and to do that you need some lua experience.
Look at mario.lua and go to mario:update. Make it check if "f" is being held (I'd recommend you use the run button instead so you can change it in the options) then make it activate a suck function. It should change enemies speed towards the player. If they collide then make it check what type of enemy it is and then make the abilities.
NOTE: Code is just an example of how it should look like
First, there is not custom power up system in the game so you have to program it in, and to do that you need some lua experience.
Look at mario.lua and go to mario:update. Make it check if "f" is being held (I'd recommend you use the run button instead so you can change it in the options) then make it activate a suck function. It should change enemies speed towards the player. If they collide then make it check what type of enemy it is and then make the abilities.
NOTE: Code is just an example of how it should look like
Code: Select all
function mario:update(dt)
if self.size == suckin end --change to the id of the powerup
if isDown("f") then
self:suckin()
end
end
end
function mario:suckin()
for i, obj in pairs(objects) do
obj.speed = towards self.position
end
end
function mario:collide(obj)
if isDown("f") then
self.form = obj.type
end
end
Made the inhale system but it crashes
the crash:
Code: Select all
--Kirby's Inhale
if self.size == kirby end --change to the id of the powerup
if isDown("f") then
self:kirby()
end
end
end
function mario:kirby()
for i, hammerbros in pairs(objects) do
1.00 = towards self.position
end
end
end
function mario:kirby()
for i, hammer in pairs(objects) do
1.00 = towards self.position
end
end
end
function mario:collide(hammerbros)
if isDown("f") then
self.form = hammer
end
end
function mario:collide(hammer)
if isDown("f") then
self.form = hammer
end
end
Maybe if you actually read the fucking error you'd see your mistake.
I Fixed,i have another crash
The image:
Code: Select all
--Kirby's Inhale
if self.size == 4 then
if isDown("f") then
self:kirby()
end
end
end
function mario:kirby()
for i, hammerbros in pairs(objects) do
10 = towards self.position
end
end
end
function mario:kirby()
for i, hammer in pairs(objects) do
10 = towards self.position
end
end
end
function mario:collide(hammerbros)
if isDown("f") then
self.form = hammer
end
end
function mario:collide(hammer)
if isDown("f") then
self.form = hammer
end
end
It's not working because I just posted an example of how it should look. The code doesn't actually do anything so editing won't do much.
As I said, you have to have at least some basic lua knowledge: http://lua-users.org/wiki/TutorialDirectory
As I said, you have to have at least some basic lua knowledge: http://lua-users.org/wiki/TutorialDirectory
In hindsight this was a bad moveSašo wrote:Normally I'd lock this but I'll leave it since there's actual stuff being done.