Monday, October 28, 2013

Quick Update for Mari0 +Portal #3

The Environmental Triggers will now provide a timeloop timeOff timeOn command, that'll give you constant pulses of output:
timeloop 2 1
I'm thinking on adding timeloop to the "Logic Gates" entity. They'll work just like Environmental Triggers, but instead of commands they would have "Output/Input" and "And/Or/Not/Xor" buttons. You'll be able to set their names relative to their correspondents, so if you want, for example, an AND gate for 4 buttons to open a single door, simply add 4 Logic Gates with the name andgate1 (they must have the same name, no matter how you call them), for example, and the options Input and And, and link them to each button. Later, add another Logic Gate with the Output option and the same name (andgate1, in this case). Link the door to it and you're done!

Shaders can now be changed/removed via Commanders. I can't test it on my computer (it doesn't support shaders), but I tested it on another one, and it works very well! Now you can make Acid Trip with automatic drugs-like effects, or a Space-themed mappack in negative! Just use the shader1 [shader name] or shader2 [shader name] commands!

Perfect for themed mappacks!

Since I started working on the 1.0 update, I've always mentioned Commanders, but almost never Environmental Triggers. They also have a great potential, and also a lot of commands for testing game's events. For example: to detect if you have less than 200 seconds left on a level (actually, the "TIME" values from Mari0 are less than 1 second, but let's just pretend it isn't), just add an Environmental Trigger with timepassed max = 200, and link something to it; to see if you're playing on gelcannon mode, just add the command playertype = gelcannon (I'll probably make it work for each player as well); to detect if player 2 was killed by falling off a pit, do the command player2 deadcause = deadlypit. You can detect if a key was pressed on your keyboard or a button was pressed on your mouse as well, so if you want to add to your mappack a way to players to toggle, for example, underwater properties by pressing "Q", just add an Environmental Trigger with the command keypressed q and a Commander with the command level set underwater toggle:


And the results of it:

The Aperture icon represents the key "Q" being pressed.
But this is enough for a single "Quick Update". So I see you guys in my next post!

Monday, October 21, 2013

Quick Update for Mari0 +Portal #2

You may not know, but the animation properties were not working. Until today. I've finally got them to work properly, and, as a "bonus", I made a system that reads text files for the corresponding tile, so you can set it's properties (for now, the only thing it reads is the "animationspeed" property). I might also add properties for it, but I don't know yet.
"Animation Once" and "Animation Loop" properties
They work very well with Commanders, as you can see. The only missing property I have to do is the "Pixel Collision" one. I think I've come up with a good way of doing them work. Instead of making only non-transparent pixels collide, I can make them require an extra file. In this case, an image. Each non-transparent pixel of this image will be translated as a collide-able pixel, so your tile can be drawn just as you want. Also, I never posted here, but some days ago I've got non-gelable property to work too:


So I see you guys in my next post!

Friday, October 18, 2013

Quick Update for Mari0 +Portal

I added player-specified spawners to the game (later I'll add a multigui for it, allowing you to customize where they'll spawn - like 5 blocks after the entity or whatever -, how they'll spawn - perhaps I'll add options to set player size, type, etc. - and who will spawn - for now you can only set 1 player per spawner or all of them in one single spot, but I'm planning on changing it).



I'm very close to finish Commanders and Environmental Triggers too.
And I'm planning on releasing a version v0.9 before the Super Mega Awesome 1.0 Update release, because people are requesting a lot for the updates (mostly because of Commanders and Environmental Triggers), so I'll release this one first (with the Commanders and Environmental Triggers) and keep working on 1.0 (with Triggers, Collisions, Animations and many other things).
This is the Quick Update of today, and I see you in my next post!

Thursday, October 10, 2013

Non-Update Update

It's been a while since my last Mari0 +Portal update. I have a lot of things done already, but there are still a lot of stuff to do. So, to keep you guys updated on this long "non-updates" time, here are some of the things already done:


  • Online Updater:
If you don't like visiting sites to see if there's an update for whatever game you play, then you should be safe. Even making it on Mari0 +Portal, I made it planning on making it being "universal", which means that not only on Mari0 +Portal, but in all of my future games (including LinkIt!) you'll get this just by having Internet connection! I made this online updater to allow me to change whatever I want in these games/mods, so if, for example, you have a bug that crashes the game, I can fix it online and you'll not need to download the game again anymore!

  • Tileset Multi-Customization:
Now you'll be able to set whatever custom texture you want for each property of your tiles by just adding an image named "[tileid].png" to a folder named "tiles". It'll check for the properties of each tile id and search for it's custom texture. Very useful for custom coin blocks, custom animations, custom block debris, etc.
  • Commanders:
I know you guys already know how the Commanders works, but now I can safely say that they're VERY close to it's finish! I've already computed most of the commands, and some will be added in future version (together with their correspondent features), but for now they're working very well!

And some examples, if you like images:

enemy spawn goomba [x] [y] [speedx (optional)] [speedy (optional)]
And much more! Click on "Read more" for more animated GIFs and more informations!

Saturday, October 5, 2013

Mari0 +Portal gets more movement!

I've finally finished the replacetile command, which can be called in two ways:
replacetile (x) (y) = (tileid) or replacetile (oldtileid) = (newtileid)

And, together with the after (n) command (which can be placed in the end of whatever command you want), you can create some really cool stuff (they're not even cooler because I haven't finished animation properties yet). Here are some examples:

This one uses the replace (oldtileid) = (newtileid) form
This one uses the replace (x) (y) = (tileid) form
And how they look in-editor (not going to show the actual commands because there are a lot):

Tuesday, October 1, 2013

I should still be working on my mod #4

Instead, I made my first pizza ever!





My mom approved, and it tasted wonderfully, so yeah...

No, I did worked on my mod. I made something that'll be great in custom tilesets: custom block debris!
Thanks for alesan99 (from Stabyourself forums) for suggesting this!
Another thing: I decided to finally dedicate some time to work on the Environmental Triggers. One of it's best features (if not the best) is the keypressed or keydown commands! They'll detected what key you pressed in your keyboard and they'll output a signal to all the entities connected to them.

Feel like a Jumper...
*(I'm trying to see what posts are more visited, so, since most of them can be read by just opening my blog, I'm gonna be adding "Read more" links on the middle of my future posts).

(On "Read more" there's, also, a small game I made in, let's say, 10-15 minutes)

The commands for this: