1
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.
2
Paid Work / API Extension
« on: January 28, 2020, 04:05:06 pm »
I'm going to need an API extension for a certain site. If you're capable of doing it, please PM me with an idea of costs. Thanks.
EDIT: Better yet, find me on Discord: @Driver#2946
EDIT EDIT: Nevermind. Done.
EDIT: Better yet, find me on Discord: @Driver#2946
EDIT EDIT: Nevermind. Done.
3
Ask a Question / Bugs or something I've done?
« on: November 01, 2019, 03:38:07 pm »
I noticed some warnings in my logs. They don't appear to be causing any issues. This is more of an FYI to the Stencyl team.
4
Ask a Question / OutOfBoundsException
« on: August 20, 2019, 05:38:41 am »
Unexpected problem on thread AWT-EventQueue-0: java.lang.IndexOutOfBoundsException: Index: 9, Size: 0
I keep getting this error and I've tracked it down to a particular actor. Except for the graphic, the actor is identical to dozens of others, and it's not a large image. There are others which are larger and smaller. Even if I delete the actor and try to recreate it, it happens again. Really confused.
Recreating the scene/actor and even using a different actor is causing the problem. Clearing the cache and rebuilding hasn't solved it either.
I keep getting this error and I've tracked it down to a particular actor. Except for the graphic, the actor is identical to dozens of others, and it's not a large image. There are others which are larger and smaller. Even if I delete the actor and try to recreate it, it happens again. Really confused.
Recreating the scene/actor and even using a different actor is causing the problem. Clearing the cache and rebuilding hasn't solved it either.
5
Ask a Question / HTML5 and Kong API
« on: July 13, 2019, 02:21:08 pm »
The existing blocks for dealing with Kong's api don't seem to work under HTML5. Does anyone have experience of implementing the api for HTML5?
6
Ask a Question / Another HTML5 Issue
« on: June 06, 2019, 05:24:51 am »
When I clicked on my game after pausing and then unpausing it, it freezes.
Uncaught TypeError: Cannot read property 'scrollFactorX' of null
at com_stencyl_models_Actor.isMouseOver (Actor.hx:3365)
at Design_174_174_PauseBTN.hx:313
at com_stencyl_Engine.update (Engine.hx:2516)
at com_stencyl_Engine.postUpdate (Engine.hx:2803)
at com_stencyl_Engine.onUpdate (Engine.hx:2795)
at openfl_events__$EventDispatcher_Listener.f [as callback] (Tools.hx:756)
at openfl_display_Stage.__dispatchEvent (EventDispatcher.hx:443)
at openfl_display_Stage.__dispatch (DisplayObject.hx:1237)
at openfl_display_Stage.__broadcastEvent (Stage.hx:1593)
at openfl_display_Stage.render (Stage.hx:1434)
I've tracked it down to a 'if mouse is over' block, as if I remove that block, the game doesn't freeze. It's not the blocks wrapped in that as I've stuck that code in without the 'if mouse' and the code will run.
There's also some code in a custom event that if I remove stops the issue. I just can't figure out what the exact problem is. This only occurs in HTML5.
Uncaught TypeError: Cannot read property 'scrollFactorX' of null
at com_stencyl_models_Actor.isMouseOver (Actor.hx:3365)
at Design_174_174_PauseBTN.hx:313
at com_stencyl_Engine.update (Engine.hx:2516)
at com_stencyl_Engine.postUpdate (Engine.hx:2803)
at com_stencyl_Engine.onUpdate (Engine.hx:2795)
at openfl_events__$EventDispatcher_Listener.f [as callback] (Tools.hx:756)
at openfl_display_Stage.__dispatchEvent (EventDispatcher.hx:443)
at openfl_display_Stage.__dispatch (DisplayObject.hx:1237)
at openfl_display_Stage.__broadcastEvent (Stage.hx:1593)
at openfl_display_Stage.render (Stage.hx:1434)
I've tracked it down to a 'if mouse is over' block, as if I remove that block, the game doesn't freeze. It's not the blocks wrapped in that as I've stuck that code in without the 'if mouse' and the code will run.
There's also some code in a custom event that if I remove stops the issue. I just can't figure out what the exact problem is. This only occurs in HTML5.
7
Ask a Question / HTML5 Saving Freezes Game
« on: June 05, 2019, 09:12:08 am »
I've managed to figure out that saving in HTML5 is causing my game to crash, but I don't know why.
This appears in the console. Saving only happens once. I've added a boolean to ensure that it does.
Uncaught RangeError: Maximum call stack size exceeded
at new empty (Type.hx:118)
at Function.Type.createEmptyInstance (Type.hx:119)
at cloner_Cloner.cloneClass (Cloner.hx:99)
at f (Tools.hx:756)
at cloner_Cloner.handleClass (Cloner.hx:88)
at cloner_Cloner._clone (Cloner.hx:65)
at cloner_Cloner.cloneClass (Cloner.hx:104)
at f (Tools.hx:756)
at cloner_Cloner.handleClass (Cloner.hx:88)
at cloner_Cloner._clone (Cloner.hx:65)
This appears in the console. Saving only happens once. I've added a boolean to ensure that it does.
Uncaught RangeError: Maximum call stack size exceeded
at new empty (Type.hx:118)
at Function.Type.createEmptyInstance (Type.hx:119)
at cloner_Cloner.cloneClass (Cloner.hx:99)
at f (Tools.hx:756)
at cloner_Cloner.handleClass (Cloner.hx:88)
at cloner_Cloner._clone (Cloner.hx:65)
at cloner_Cloner.cloneClass (Cloner.hx:104)
at f (Tools.hx:756)
at cloner_Cloner.handleClass (Cloner.hx:88)
at cloner_Cloner._clone (Cloner.hx:65)
8
Ask a Question / Upgrade System (Multiples)
« on: June 04, 2019, 04:33:16 am »
So I'm working on an upgrade system and I want players to be able to buy multiple levels at the same time.
For instance either 1, 10, 25 or 100 levels depending if they have enough currency. How on earth do I calculate that?
The cost of items is based upon it's current level (current level X current level X fixed value) So 1 x 1 x 10 = 10, 25 x 25x 10 = 6250.
For instance either 1, 10, 25 or 100 levels depending if they have enough currency. How on earth do I calculate that?
The cost of items is based upon it's current level (current level X current level X fixed value) So 1 x 1 x 10 = 10, 25 x 25x 10 = 6250.
9
Ask a Question / HTML5
« on: May 22, 2019, 01:59:54 am »
I've recently started testing in HTML5 and noticed differences between how Flash and HTML5 handle things. Most noticeably issues with text and labels.
In HTML5 positioning is slightly off, line height is really off. In Flash, when using labels I was able to tint text by tining the actor is was attached to, which was really useful, but doesn't work in HTML5.
Are these things bugs which are going to be fixed, or things I need to work around?
In HTML5 positioning is slightly off, line height is really off. In Flash, when using labels I was able to tint text by tining the actor is was attached to, which was really useful, but doesn't work in HTML5.
Are these things bugs which are going to be fixed, or things I need to work around?
10
Ask a Question / XML Cannot Build Block (or something similar)
« on: April 12, 2019, 03:43:05 pm »
I ran into a problem where after I'd updated a behavior, in a scene, clicking on an actor that had that behavior attached resulted in a 'this shouldn't have happened' error. The error I saw was 'XML Cannot Build Block' or something very like it.
I tried duplicating the behavior and reattaching it, but that gave the same error. In the end, I copied the code into a new behavior and attached this to all relevant actors, and that solved the problem.
The issue is solved, but I'm just wondering if anyone has any insight as to what happened so I can avoid it again.
Sorry, I don't have the logs from the time, otherwise, I would post them.
I tried duplicating the behavior and reattaching it, but that gave the same error. In the end, I copied the code into a new behavior and attached this to all relevant actors, and that solved the problem.
The issue is solved, but I'm just wondering if anyone has any insight as to what happened so I can avoid it again.
Sorry, I don't have the logs from the time, otherwise, I would post them.
11
Windows / Mac / Flash / HTML5 / My New Project
« on: December 13, 2018, 12:41:08 pm »
Following on from the relatively successful 'The Strange Disappearance of Eldon Crowe' (https://armorgames.com/play/18500/the-strange-disappearance-of-eldon-crowe) I'm working on a series of games in the same style, in the hope that I can create something better.
Episode 1 (WIP): http://www.stencyl.com/game/play/39747
Episode 1 (WIP): https://gamejolt.com/games/grand-grimoire-chronicles-episode-1/385734
Episode 1 (WIP): https://www.newgrounds.com/dump/item/a3e88fda2efde8b2b27f240ffda46154
Episode 2 (WIP): http://www.stencyl.com/game/play/40137
Episode 2 (WIP): https://gamejolt.com/games/tggc_ep2/417253
Episode 2 (Complete): https://www.kongregate.com/games/BowWow200/the-grand-grimoire-chronicles-episode-2
Episode 3 (Complete): https://armorgames.com/the-grand-grimoire-chronicles-episode-3-game/18824
Episode 3 (Complete. Alternate Version): https://www.kongregate.com/games/BowWow200/the-grand-grimoire-chronicles-episode-3
I'm actually trying to build this as a kit that I can just reuse, and so far that's going well. I can now just create new scenes and tilesets to make a new episode with very little editing of the code.
I've made lots of improvements based upon feedback. Most are quite minor things, but a few are significant. People didn't like the back tracking in the first one, so now you can carry up to six items at once, and there's a map to quickly navigate between areas, once you've unlocked them.
The object interaction is also now more complex. Previously, you could only interact with objects if you had an item to use, but now you can interact with some objects directly, causing something else to change elsewhere, such as flipping switches. There will also be NPCs that you can interact with. There were a couple of NPCs in the first one, but there wasn't any real interaction, but now NPCs will appear/disappear depending on circumstances, and you can interact with them like you can with objects.
Episode 2 (WIP): https://gamejolt.com/games/tggc_ep2/417253
Episode 2 (Complete): https://www.kongregate.com/games/BowWow200/the-grand-grimoire-chronicles-episode-2
Episode 3 (Complete): https://armorgames.com/the-grand-grimoire-chronicles-episode-3-game/18824
Episode 3 (Complete. Alternate Version): https://www.kongregate.com/games/BowWow200/the-grand-grimoire-chronicles-episode-3
I'm actually trying to build this as a kit that I can just reuse, and so far that's going well. I can now just create new scenes and tilesets to make a new episode with very little editing of the code.
I've made lots of improvements based upon feedback. Most are quite minor things, but a few are significant. People didn't like the back tracking in the first one, so now you can carry up to six items at once, and there's a map to quickly navigate between areas, once you've unlocked them.
The object interaction is also now more complex. Previously, you could only interact with objects if you had an item to use, but now you can interact with some objects directly, causing something else to change elsewhere, such as flipping switches. There will also be NPCs that you can interact with. There were a couple of NPCs in the first one, but there wasn't any real interaction, but now NPCs will appear/disappear depending on circumstances, and you can interact with them like you can with objects.
12
Ask a Question / Getting the URL
« on: October 18, 2018, 11:13:40 am »
How can I get the current URL that a game is playing on? I'd like the option to perform different actions depending on the URL. Any ideas?
13
Ask a Question / Armor Games
« on: October 11, 2018, 01:55:16 pm »
Does anyone have any experience incorporating third party branding etc. into a Stencyl game?
14
Ask a Question / Getting the time from a remote source
« on: September 20, 2018, 03:27:00 pm »
I'm aware of the Date Extension and I'm currently tinkering with it. I assume that it gets the device time, and so it could be cheated?
Is there a way to get the time from somewhere else, such as the world clock?
Is there a way to get the time from somewhere else, such as the world clock?
15
Windows / Mac / Flash / HTML5 / The Horror Game With a Working Title
« on: September 19, 2018, 10:09:02 am »
This was more of an experiment than anything. A long time ago I started work on a massive point & click adventure, but the enormity of the task made me give up. I started thinking how I could distill it down into a more basic form and this was the result.
https://www.newgrounds.com/portal/view/717363
https://www.newgrounds.com/portal/view/717363