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
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
496
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
932
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
478
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
965
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
520
views
Lacroiix Lancaster
Mar 17, 2016
THREE.js plugin - WebGLRenderer and WebGLRenderTarget not working
This is using the three.js plugin ! I'm trying to render some island models (put into a different scene than the main Su...
started by
pixelrobin
Feb 13, 2016
2
replies
1,528
views
pixelrobin
Feb 14, 2016
Uncaught ReferenceError: RNG is not defined
I tried to make a random number, but I get that error. awake(){ var ran = new RNG('w'); Sup.log(ran.random(1,10)) } Is t...
started by
ATPA9
Jan 08, 2016
3
replies
1,196
views
agilejoshua
Feb 03, 2016
Looping through tiles in tilemap
I'm trying to adapt the tilemap to be able to set up 3D tiles for my game. I'll maybe look into adding that as a plugin...
started by
pixelrobin
Jan 22, 2016
622
views
No replies yet
Changing "Advanced Texture" map of 3D Model in runtime
Hi all, I'm experimenting with 3D Models in Superpowers at the moment and do hope that someone can help me. I have a swe...
started by
Ubivis
Jan 15, 2016
9
replies
1,051
views
Ubivis
Jan 18, 2016
Prefab loading
I had some issues with appending scenes as prefabs, mainly with the actors' arcadeBody2D ( Here's a gif ). I emailed Spa...
started by
pixelrobin
Jan 14, 2016
6
replies
706
views
bilou84
Jan 15, 2016
The use of Uniforms (in Shaders)
I have a shader which requires knowledge of the image width and height in order to properly apply itself. So I add a vec...
started by
JTE
Jan 12, 2016
4
replies
1,027
views
Elisée
Jan 12, 2016