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
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
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
803
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
516
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
433
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
375
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,345
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
557
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
495
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
574
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
930
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
815
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
580
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
376
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
477
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
387
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
487
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
698
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
654
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
964
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
484
views
Unwary
Mar 18, 2016
[help] Getting an actor involved in collision
What I am trying to accomplish is if an my object collides with something I would like to check and see what the collisi...
started by
darkdrewmo
Mar 15, 2016
1
reply
519
views
Lacroiix Lancaster
Mar 17, 2016