Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rob1221

Pages: 1 2 3 4 ... 432
16
Extensions / Re: SteamWrap (for Steam Games)
« on: February 18, 2020, 09:01:33 am »

17
Journals / Re: Insurgence of Forgotten Fairies
« on: December 12, 2019, 04:05:45 pm »
I'm assuming you already have an update function that's called each frame, maybe using an event listener?  If so, you could call that function in the Updating event instead.

18
Journals / Re: Insurgence of Forgotten Fairies
« on: December 12, 2019, 02:54:36 pm »
You could sync your bullet updating with Stencyl's updating, but that would also result in faster updates of 100 per second.

19
Extensions / Re: Poki SDK
« on: December 03, 2019, 08:05:56 am »
After doing some tests with a sample game I can see that the loading bar works fine in test mode but not when publishing.  If I test the game and then zip/upload the generated files, that also works fine, which means the problem has something to do with the publish game option.  It's unrelated to the Poki SDK since I was testing without it on Newgrounds.

20
Extensions / Re: Poki SDK
« on: December 03, 2019, 06:21:11 am »
Quote
Is sitelock really a giant code? I got this  code from them, but I thought it would be some domains only.
Yeah, just paste the whole thing in there at the place I marked.  It should show up as a single long line but that may depend on the text editor you're using.

Quote
Another thing, in POKI's QA tool the loading bar doesn't fill up, it's all black, even the game loading. Is this normal?
My games load quickly enough that I don't really notice the bar, but I have read about the loading bar not working for published HTML5 games.  I'm not sure what's going on there.

21
Ask a Question / Re: Can you add a CSS file to an extension
« on: November 28, 2019, 06:58:41 am »
You can use the template tag which will replace the default template with the one in the extension.
<template path="templates" />

22
Ask a Question / Re: HTML5 scale mode
« on: November 27, 2019, 07:53:29 pm »
The game doesn't fill the screen because the aspect ratio stays the same and the game can't extend beyond the window.  I'm not sure how you would do what you're trying to do.  I tested the set screen size block but it had no visual effect.

23
Ask a Question / Re: HTML5 scale mode
« on: November 27, 2019, 06:54:00 pm »
Does <window resizable="true" /> in OpenFL Settings not work for HTML5 on mobile browsers?  Note that the website you're hosting the game on actually has to change the window size for the game to resize itself.

24
Journals / Re: A Foresty Game
« on: November 27, 2019, 02:57:02 pm »
At some point the controls code for Stencyl was changed and it no longer supports multiple controls having the same key.  I'm not sure if that's the problem you're having though.

Quote
If there was a way to detect mouse scroll on Flash, I would do that for the hotbar (and shift-scroll for tools).
Have you seen this extension yet? http://community.stencyl.com/index.php/topic,31772.0.html

25
Extensions / Re: Poki SDK
« on: November 18, 2019, 09:23:47 am »
I think one of the code samples mentions ad block.  You could use that block to ask the player to disable ad block or you could use it to hide any rewarded ad buttons.  It's optional, but you should absolutely not use it to block the game.

26
Extensions / Re: Poki SDK
« on: November 18, 2019, 08:51:03 am »
That's done automatically with the ApplicationMain.hx template file included in the extension.

27
Chit-Chat / Re: HTML5 and Poki
« on: November 15, 2019, 02:54:43 pm »
The game doesn't stretch but if your resolution is 16:9 then it shouldn't be a problem.  If you see small black bars on Poki's QA tool, especially when testing the large size, don't worry about it.

28
Ask a Question / Re: Custom Sceen Shake
« on: November 11, 2019, 12:57:42 pm »
0

29
Ask a Question / Re: Custom Sceen Shake
« on: November 11, 2019, 12:31:11 pm »
The easiest way to do this is to create attributes, modify those attributes with blocks, and then add a couple code blocks to set the master values.  For example, if you set an attribute called "X" and an attribute called "Y", you can use this code:

engine.master.x = _X;
engine.master.y = _Y;

30
Ask a Question / Re: Custom Sceen Shake
« on: November 11, 2019, 11:04:20 am »
The screen shake is a random adjustment of engine.master.x and engine.master.y, which you can adjust with some code.

Pages: 1 2 3 4 ... 432