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 - JeffreyDriver

Pages: 1 2 3 ... 139
1
Ask a Question / Re: Invisible tiles?
« on: June 16, 2019, 02:14:10 pm »
It would be helpful to see the .stencyl file.

2
Ask a Question / Re: Invisible tiles?
« on: June 16, 2019, 05:45:56 am »
Are you sure the tileset and tile id are correct?

3
Ask a Question / Re: Invisible tiles?
« on: June 15, 2019, 09:40:13 am »
Can you post the .stencyl file?

4
Ask a Question / Re: Different Starting Attributes for the same actor
« on: June 14, 2019, 10:48:22 am »
Yes, it can be done pretty easily.  You'll need to create an actor behaviour that you attached to your crab actor with an attribute for the health. Let's say you had a behaviour called 'Crab Behaviour' with an attirbute called 'Base Damage', when the actor is spawned, you can set the damage from another behaviour. Or, if your actors are already placed in teh scene editor you can edit teh values there by clicking on your actor and then customize in the right panel.

See image for the general idea.

5
Windows / Mac / Flash / HTML5 / Re: My New Project
« on: June 08, 2019, 03:21:55 pm »
For some people the grain effect was causing a lag up to 7 seconds when switching scene! So now disabling the grain effect doesn't just change the opacity of it to 0 but actually prevents the code from being run at all.

UPDATES
+ Music added
+ Text changes

Still testing but I think it's very nearly ready for launch.

I'm still thinking about how to elevate this further. Do I make the graphics even more realistic/refined?

There also needs to be a purpose for the spirit orbs. At the moment you just collect them, but maybe they should be integral to completion of the game.

https://gamejolt.com/games/tggc_ep2/417253

6
THere's also the Easy Math extension which should make your life a little easier.

7
Windows / Mac / Flash / HTML5 / Re: Space Pirate
« on: June 07, 2019, 01:05:56 pm »
Nice work Bombini.

Sorry to hear about your loss.

8
Ask a Question / Re: Another HTML5 Issue
« on: June 06, 2019, 11:13:30 am »
The problem appeared to be the 'mouse is over' block. No idea why.

By replacing that block with some code to manually check if the mouse was over an actor has fixed it.

9
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.

10
Ask a Question / Re: Setting "Can Rotate?" on the Fly
« on: June 06, 2019, 05:09:06 am »
Actors > Motion > Physics

You'll find teh blocks there.

11
Windows / Mac / Flash / HTML5 / Re: My New Project
« on: June 06, 2019, 02:47:21 am »
UPDATES
+ Lots of bug fixes
+ Finally a stable HTML5 release!

https://gamejolt.com/games/tggc_ep2/417253

12
Ask a Question / Re: Enemy Starts Shooting When Player Gets Close
« on: June 05, 2019, 03:19:56 pm »
Yes you can use the given stencyl blocks but I'm not sure of the method, though you should be able to find it in the forums.

13
Ask a Question / Re: Enemy Starts Shooting When Player Gets Close
« on: June 05, 2019, 01:44:47 pm »
Use the Easy Math extension. There's blocks to calculate things like that easily.

14
Ask a Question / Re: HTML5 Saving Freezes Game
« on: June 05, 2019, 01:43:24 pm »
Trial and error led me to somewhere I was saving a sound into an attribute. The problem seems to be that I was saving it directly into the attribute rather than in a 'as text' block.

15
Ask a Question / Re: HTML5 Saving Freezes Game
« on: June 05, 2019, 09:40:25 am »
Thanks. I'll dig a little deeper.

Pages: 1 2 3 ... 139