Search found 16 matches
- Wed Mar 26, 2014 4:27 pm
- Forum: General Discussion
- Topic: SpiderBasic 1.00 beta 2 is out !
- Replies: 30
- Views: 20658
Re: SpiderBasic 1.00 alpha 5 is out !
Thanks Fred!
- Tue Mar 25, 2014 6:27 am
- Forum: Coding Questions
- Topic: How to pass a string variable from SB to inline JS
- Replies: 5
- Views: 4666
Re: How to pass a string variable from SB to inline JS
because it's internal "compiled" code that you shouldn't be looking at?
I'm guessing to ensure that there isn't a conflict of variable names between all the javascript libraries and your code, so all variables are prefixed with "v_".
I'm guessing to ensure that there isn't a conflict of variable names between all the javascript libraries and your code, so all variables are prefixed with "v_".
- Thu Mar 06, 2014 7:03 pm
- Forum: Coding Questions
- Topic: DrawImage() on SpriteOutput does not work
- Replies: 1
- Views: 3175
DrawImage() on SpriteOutput does not work
Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched the signature provided. Global DisplayWidth.i = 0, DisplayHeight.i = 0 Procedure RenderFrame() ClearScreen($000077) DisplaySprite(1, 20, 20 ) FlipBuffers() EndProcedure ExamineDesktop...
- Thu Mar 06, 2014 3:17 pm
- Forum: Feature Requests and Wishlists
- Topic: Drawing Clipped Images
- Replies: 1
- Views: 2771
Drawing Clipped Images
I'd like to do some image manipulation from spritesheets, so it would be quite useful to have something like a DrawClippedImage(), i.e.
Code: Select all
DrawClippedImage(SourceImage, SourceX, SourceY, SourceWidth, SourceHeight, DestinationX, DestinationY)
- Thu Mar 06, 2014 3:11 pm
- Forum: Coding Questions
- Topic: Scaling is not working
- Replies: 1
- Views: 2451
Scaling is not working
#OutputSprite = 0 #tmpSprite = 1 Global GameWidth.i = 320, GameHeight.i = 240, GameSpriteSize.i = 16 Global DisplayWidth.i = 0, DisplayHeight.i = 0 Procedure RenderFrame() ClearScreen($000077) ClipSprite(#tmpSprite, 20 , 20 , 56 , 52 ) DisplaySprite(#tmpSprite, 20, 20 ) FlipBuffers() EndProcedure E...
- Thu Mar 06, 2014 3:08 pm
- Forum: Game Programming
- Topic: Sprite Sheets
- Replies: 2
- Views: 9028
Re: Sprite Sheets
Thanks for this, I'd forgotten about the ClipSprite() function.
Previously I'd been using GrabSprite() and creating a load of sprites in memory build from a sprite sheet!
Previously I'd been using GrabSprite() and creating a load of sprites in memory build from a sprite sheet!
- Tue Mar 04, 2014 3:39 am
- Forum: Game Programming
- Topic: Procedural Death Jam Compo
- Replies: 0
- Views: 8712
Procedural Death Jam Compo
Just to note, starting next week, on the 8th Mar is a 7 day challenge - write a Procedural Death Labyrinth in 7 days.
I will be entering to showcase SpiderBasic
Anyone else want to join in?
Here's the site: http://proceduraldeathjam.com/
I will be entering to showcase SpiderBasic
Anyone else want to join in?
Here's the site: http://proceduraldeathjam.com/
- Sat Mar 01, 2014 9:20 pm
- Forum: Game Programming
- Topic: Sprite Sheets
- Replies: 2
- Views: 9028
Sprite Sheets
I'm not sure if this is for feature requests or coding questions, but what is the method losing sprite sheets? Currently I'm splitting the sprites down into their individual frames, but that is then leaving me with over a hundred stories to load, and if I want to add more resources in, then I will h...
Re: Wizzard
I think Cchrome disables it if you're on integrated graphics. The latest opera is using WebKit, so that may be using the same code.
Give Firefox a try, that has a separate rendering engine.
Give Firefox a try, that has a separate rendering engine.
Re: Wizzard
ooookay, I've finally figured out what the issues are - SpiderBasic for its rendering engine is using WebGL. In short, any browser that does not implement WebGL will not be able to run this game ( IE 11 partially supports it, but not fully ) If the game does not load, please check if the browser is ...