Can you make a Linux build?
Ivan Fonseca
Creator of
Recent community posts
Hey everyone. Me and a lot of other people have had issues with the Skype group chat, primarily because Skype was not made to handle so many people at once. That's why I made this Discord server. It's much better built to handle larger groups, it's completely free and doesn't even require registration (perfect for quick questions). The more people join, the faster and easier you can get help. If you want to join, just go to this link.
Thanks!
I've found that asking for help on Itch and Reddit can be a bit slow, so I decided, why not make a chat? I have made a Discord server that you can join by going to https://discord.gg/0yElATH1CuWIV6Z8. I'm not sure how many people will actually join, but if we can get a few regular members it will be really helpful in terms of getting help.
I'm not sure if there's an easy way to do this, but if you need a list of all the special key names, there's a comment in the TypeScript API browser in Sup.Input that says:
// Valid key names (based on window.KeyEvent.DOM_VK_*):
// CANCEL, HELP, BACK_SPACE, TAB, CLEAR, RETURN, SHIFT, CONTROL, ALT,
// PAUSE, CAPS_LOCK, ESCAPE, SPACE, PAGE_UP, PAGE_DOWN, END, HOME,
// LEFT, UP, RIGHT, DOWN, PRINTSCREEN, INSERT, DELETE,
// 0 to 9, SEMICOLON, EQUALS, A to Z,
// CONTEXT_MENU, NUMPAD0 to NUMPAD9,
// MULTIPLY, ADD, SEPARATOR, SUBTRACT, DECIMAL, DIVIDE,
// F1 to F24, NUM_LOCK, SCROLL_LOCK, COMMA, PERIOD, SLASH, BACK_QUOTE,
// OPEN_BRACKET, BACK_SLASH, CLOSE_BRACKET, QUOTE, META
//
// Additionnally, ANY will return true for any key
// and NONE will return true for no keys
What you tried to do was build the source code. The link I gave you above has downloads for the pre-built files, meaning that you just launch a program and it works. You can use Superpowers in a web browser but the server must be running on a computer, whether that be your computer or a dedicated server.
Is there a tutorial available on how to do collisions with tile maps? I've tried adding an arcade boy 2d to it, setting it to tile map and putting in the number of the layers I want to collide with, but it didn't work. I have a arcade body 2d on the player actor as well. Here's my code:
class PlayerBehavior extends Sup.Behavior {
// Speed to move
speed: number = 1;
update() {
// Collide
Sup.ArcadePhysics2D.collides(this.actor.arcadeBody2D, Sup.getActor("Level").arcadeBody2D);
// Move up and down depending on key presses
if(Sup.Input.isKeyDown("W")) {
this.actor.arcadeBody2D.setVelocityY(1 * this.speed);
} else if(Sup.Input.isKeyDown("S")) {
this.actor.arcadeBody2D.setVelocityY(-1 * this.speed);
} else {
this.actor.arcadeBody2D.setVelocityY(0);
}
// Move left and right depending on key presses
if(Sup.Input.isKeyDown("A")) {
this.actor.arcadeBody2D.setVelocityX(-1 * this.speed);
} else if(Sup.Input.isKeyDown("D")) {
this.actor.arcadeBody2D.setVelocityX(1 * this.speed);
} else {
this.actor.arcadeBody2D.setVelocityX(0);
}
}
}
Sup.registerBehavior(PlayerBehavior);
(Sorry about the formatting)
Does anyone have any suggestions?