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 ... 144
1
Yes, use a custom event.

When created
Do after 3 seconds
Trigger ENEMYSHOOT (Your event name)

When ENEMYSHOOT happens
(Your bullet firing code goes here)
Do after 3 seconds
Trigger ENEMYSHOOT

As for lives you need to use a number attribute with a default value of three and decrement it  each time the actor is hit. When the attribute = 0, kill the actor.

2
For yourself I don't see why LAMP/WAMP wouldn't work. If you were hoping to share this with friends, then that's not a workable solution.

3
Ask a Question / Re: 2 Actors, Same Position?
« on: October 12, 2019, 01:02:51 pm »
Not sure why you're having a problem. I've done what you're trying to do without issue. Can you post your code? Are they colliding with one another? Maybe the joints extension can help you.

4
Windows / Mac / Flash / HTML5 / Re: Push - or M.I.A. Mia lost In Time.
« on: October 05, 2019, 03:45:51 pm »
I agree with Bombini. The idea is nice, but really needs some polish.

5
Windows / Mac / Flash / HTML5 / Re: Another one that went nowhere.
« on: October 05, 2019, 03:43:14 pm »
The idea isn't bad, but it looks like you've tried to create something to make money, and then wrapped a game around it.

When I first started using Stencyl I was convinced I was going to create the next big thing, but it didn't work out like that. However, after spending some time making games and learning, I've got to the point where people are really starting to like some of my new stuff.

So, keep at it. Keep learning, keep experimenting. It's also quite important to finish a project before you start the next.

6
Ask a Question / Re: A few more questions I hope you can help me
« on: October 05, 2019, 06:18:56 am »
1. With a behaviour attached to all scenes you want to include you can have an attribute that increases every second. Use a global map or list.

2. Use a boolean in your timer behaviour. Best to use a custom event that triggers itself every second.

When created
Trigger TIMER
When TIMER happens
If PAUSED = false
Increment NUMBER by 1
Do after 1 second
Trigger TIMER

3. You need to detect the collisions, then it's a case of destroying the item

When ITEM is killed
Increment LIVES by 1

4. Booleans

If PLAYER hits ENEMY
If INVINCIBLE = false
Set INVINCIBLE to true
Decrement LIVES by 1
Do after 2 seconds
Set INVINCIBLE to false

7
Ask a Question / Re: Pencyl error
« on: October 04, 2019, 03:07:33 pm »
It's not though, it's a third-party software just bundled in.

Gimp is better anyway. Affinity also have some good alternatives to Adobe stuff.

8
Ask a Question / Re: Pencyl error
« on: October 04, 2019, 01:11:04 pm »
Download Gimp and use that instead.

9
Ask a Question / Re: runner mechanics optimization
« on: September 30, 2019, 08:33:36 am »
Are you killing everything you don't need once they've left the screen?

10
Ask a Question / Re: how to stick an arm on a body
« on: September 28, 2019, 01:16:27 pm »

11
Ask a Question / Re: Stop Page Scrolling
« on: September 28, 2019, 01:12:31 pm »
I haven't had this problem in my games. As long as the game is in focus the screen should not scroll.

12
Ask a Question / Re: Can i upload my games from Stencyl to Steam?
« on: September 28, 2019, 05:31:24 am »
Yes, once you've published a game you're free to sell it wherever you like.

13
Ask a Question / Re: Code for the game limits
« on: September 26, 2019, 02:30:27 pm »
The easiest way is to use tiles, even if you make them transparent tiles.

A code method would mean checking the position of the actor.

If X of actor < 0, set X of actor to 0
If X of actor > (width of scene - width of actor), set X of actor to (width of scene - width of actor)

Do the same for Y and height of the actor.

14
Ask a Question / Re: Draw List Error
« on: September 26, 2019, 02:23:37 pm »
Have you checked for new version of the extension?

15
Ask a Question / Re: Draw List Error
« on: September 25, 2019, 08:32:06 am »
If the other elements are drawing in the right place, the text should too. I don't know the 'draw list' block. Is it from an extension?

Pages: 1 2 3 ... 144