Skip to main content
itch.io
Browse Games
Game Jams
Upload Game
Winter Sale 2024
Developer Logs
Community
Log in
Register
On Sale:
Games
Assets
Tools
Tabletop
Comics
Indie game store
Free games
Fun games
Horror games
Game development
Assets
Comics
Sales
Bundles
Jobs
Tags
Game Engines
Superpowers
Created by
Sparklin Labs
0
Members
Superpowers community
»
SUPERPOWERS — HTML5 2D+3D GAME MAKER
Game Scripting & Shaders
Search
New topic
48
Topics
48 topics
·
Next page
Topic
Last post
How to make a variable that can be changed with multiple choices
In superpowers, if you make a variable outside of update or awake, you can change it in the scene. But how do you make i...
started by
SyrupOnWaffles
Jan 17, 2021
3
replies
379
views
The Burrower
Nov 12, 2022
How to import scripts from outside source and use them in Superpowers???
I have been searching forever for a solution to this problem. Apparently there is a way to get Post-Processing working w...
started by
Red
Jan 14, 2022
546
views
No replies yet
How to get input from the console
Is there a command that returns a variable of the input from the console. Kinda like the input command in python or the...
started by
SyrupOnWaffles
Dec 06, 2020
1
reply
195
views
Metylene
Dec 11, 2020
Get phone orientation ?
Hello, I was wondering, is there a way to get the phone pitch, yaw and roll ? I saw ways to do it in JS (using window.ad...
started by
sheep_knight
Sep 09, 2016
529
views
No replies yet
Sup.actor.setOrientation(Quaternion);
Whenever I use this function, My screen goes white. i got code now so thats cool if(Sup.Input.isKeyDown("RIGHT") && turn...
started by
SyrupOnWaffles
Oct 28, 2020
2
replies
201
views
SyrupOnWaffles
Nov 02, 2020
GetBehaviour with interface
Hello guys ! Do you know a way to getBehavior with an interface passed as an arg. My problem is that I created a IIntera...
started by
Lortedo
Nov 02, 2020
133
views
No replies yet
Get global position
I'm trying to use the .getPosition methods functions to get the x and y of an object but I just keep getting errors. Is...
started by
SyrupOnWaffles
Oct 19, 2020
2
replies
212
views
SyrupOnWaffles
Oct 19, 2020
Get input key name
Hello, I've read the documentation on Sup.Input and found out that I can check which key was pressed, but is there a way...
started by
3m0
Nov 21, 2019
2
replies
286
views
Badeorne
Aug 19, 2020
Scrollable content
Hello to everyone! I'm trying to integrate a UI into my project, with a scrollable panel. it's possible? does anyone hav...
started by
exusr
Nov 06, 2018
226
views
No replies yet
Dynamic Image
Hi, In my game I store the data about my NPC into a Database with a JSON file. I want to have a NPC with a specific imag...
started by
GrandSchtroumpf
May 25, 2016
2
replies
690
views
RGN
Jun 22, 2018
GetPosition from 3rd nested Actor is wrong!
posted a bug here https://github.com/superpowers/superpowers-game/issues/188 hi im trying to draw line in three.js from...
started by
SunnyDrake
Mar 30, 2018
253
views
No replies yet
[2D Animation] Making an animation not loop is not working. HELP
this.actor.spriteRenderer.setAnimation("Crouch",false); API: this.actor.spriteRenderer.setAnimation(String " ",looping?...
started by
TeuFox
Oct 20, 2017
8
replies
579
views
neat things
Oct 28, 2017
Set Parent Behavior?
is it possible to inherit code from a behavior? I tried setting "class PlayerBehavior extends EntityBehavior " but the c...
started by
Shadowblitz16
Apr 11, 2016
2
replies
536
views
gat1024
Oct 24, 2017
Mouse focus on a 3D object [solved]
Hi there ! I have a problem : is there any function or way to know if my mouth is focusing an object in a 3D context ? H...
started by
LeonisCuriosity
Jul 04, 2017
2
replies
466
views
SunnyDrake
Sep 24, 2017
x and y components from Vector2?
I'm pretty new to TypeScript (and programming in general), and I'm having a hard time using getMouseDelta and trying to...
started by
Gresh1234
Sep 06, 2017
1
reply
387
views
Gresh1234
Sep 07, 2017
Globals?
Is there a way to access a variable from another script or make a global variable I can access from any script?
started by
Nocturnal Wisp
Sep 19, 2016
2
replies
689
views
Nocturnal Wisp
Dec 18, 2016
Calculation of player coordinate in tileMap
Hi I've a tileMap and a playeret in a Scene I wan't to calculate position of player in the map The pixels per unit of th...
started by
cocadev
Nov 06, 2016
445
views
No replies yet
Mobile performance and Ads, IAP Integration
Hello guys, I was a backer for Superpowers when it was first announced and always liked the idea of using Superpowers fo...
started by
DEAD LOOK
Oct 25, 2016
6
replies
1,107
views
DEAD LOOK
Oct 29, 2016
Move Actor Based On Its Orientation With applyLocalImpulse()?
Hey all! So, here's the deal: I'm working in 3D and I want to make an actor move based on where it's facing . So hitting...
started by
neat things
Oct 27, 2016
512
views
No replies yet
Check if an asset exists?
I might be missing something here, but I'm just wanting to check if an asset exists (from a path) before I assign it to...
started by
Liam Brocklehurst
Oct 06, 2016
2
replies
483
views
Liam Brocklehurst
Oct 07, 2016