Skip to main content
itch.io
Browse Games
Game Jams
Upload Game
Developer Logs
Community
Log in
Register
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
·
Previous page
·
First page
Topic
Last post
typescript based state machine?
Does anyone happen to have an example of a state machine type pattern implemented in TypeScript?
started by
skryking
Sep 22, 2016
1
reply
1,661
views
Liam Brocklehurst
Oct 06, 2016
Pause the Game?
Is there a quick way to pause a game in SuperPowers? (Like the Time.timeScale=0 trick used in Unity) I have quite a few...
started by
KoalaPenguin
Sep 26, 2016
2
replies
946
views
KoalaPenguin
Oct 06, 2016
Applying a shader to the whole screen
Is there a way to apply to a shader to the whole screen/canvas and not only to single sprites/tilemaps?
started by
Kacper Woźniak
Sep 26, 2016
548
views
No replies yet
Set sprite then set spritePosition
Hi! I have a behavior which need to set its sprite some time after its initialization, I can do it pretty easily with X...
started by
Ilphrin
Sep 15, 2016
5
replies
486
views
Ilphrin
Sep 23, 2016
Uncaught Error: Could not find a behavior class named "EnemyShipSpawnerAIBehavio...
So I'm working on a game, and I get this error when appending a scene with a prefab in it. The prefab doesn't have any c...
started by
jcweaver
Sep 21, 2016
1
reply
401
views
jcweaver
Sep 21, 2016
Odd pixel distortion is causing pixel art to look wrong
I'm trying to learn my way through this, and I'm making a decent amount of progress, but there's something that I can't...
started by
victoria lacroix
Aug 20, 2016
6
replies
2,533
views
SparedRay
Sep 15, 2016
Pacman Tutorial/Access functions in other scripts
Pretty new to typescript. Trying to figure out how I would access the functions in a player behavior in another script?...
started by
Meganegora
Sep 05, 2016
2
replies
597
views
Meganegora
Sep 07, 2016
Problem with applying of shader
I'm trying to apply water shader that i find on shadertoy, but by the lack of knowledge in this it's obviously not work...
started by
wirth
Aug 14, 2016
1
reply
549
views
Anata
Aug 25, 2016
Getting global var from other object's script
How can i access/set a global variable from another object's script? Thanks.
started by
Orlan Rod
Jul 30, 2016
2
replies
630
views
Orlan Rod
Jul 31, 2016
Get tile ID of tilemap at sprite XY
Lets say for example, that i want to get the tile id at 8 pixels bellow the player's y position. How would i go about do...
started by
Orlan Rod
Jul 28, 2016
2
replies
999
views
Orlan Rod
Jul 29, 2016
Follow Mouse Position not exact?
I created this script and attached it to an actor: class FollowMouseBehavior extends Sup.Behavior { update() { this.acto...
started by
jjunker
May 28, 2016
3
replies
877
views
Anata
May 31, 2016
EventEmitter how it works?
How to setup the emitter event for the script on global and local script run?
started by
Lightnet
Mar 20, 2016
4
replies
670
views
Lightnet
May 29, 2016
Export a class
Hi there, I would like to use to trigger some method from a class from another one using "export". For example I would l...
started by
GrandSchtroumpf
May 18, 2016
2
replies
432
views
bilou84
May 28, 2016
Print Statement
Is there a print statement available in Superpowers? Something like the javascript console.log(). I'd like to use it for...
started by
jjunker
May 21, 2016
2
replies
528
views
jjunker
May 23, 2016
Can I use two or more maps in superpowers model
Hi there, I have model and want to use two maps. But in superpowers i am import model and only one texture. so,can i use...
started by
hazukiaoi
May 19, 2016
406
views
No replies yet
Transform a Vector3
Hello, So, in my game i would like the player to move considering his orientation, for exemple if the player's character...
started by
sheep_knight
May 05, 2016
1
reply
553
views
sheep_knight
May 05, 2016
How to detect click on Sprite
Hey, i've used the ray method to detect "intersect" with a sprite. It works but with the whole image. I mean even if i c...
started by
Fairydhwen
May 02, 2016
724
views
No replies yet
Get keyboard input as string?
is it possible to get the users keyboard input as a string? if so how? I don't see anything around the name of "get_keyb...
started by
Shadowblitz16
Apr 08, 2016
4
replies
734
views
raaaahman
Apr 16, 2016
[Script] [SOLVED] How to know what Scene is running?
So, I have one script for two Scenes (SceneA, SceneB). I want to do something like this: if (Sup.getScene() === 'SceneA'...
started by
Lacroiix Lancaster
Mar 14, 2016
7
replies
1,104
views
Doomcaster
Mar 18, 2016
Weirdness with Arcadebody2d
So I have the following code: class ShipBehavior extends Sup.Behavior { //Connect the ship to it's collision ship_hull =...
started by
Unwary
Feb 15, 2016
2
replies
534
views
Unwary
Mar 18, 2016