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

Pages: 1 2 3 4 5 6 ... 33
46
Ask a Question / Re: Flashing actor doesn't work
« on: May 07, 2016, 11:01:07 am »
Move the flashing to a When  Created event for the actor. Then you don´t have to control it further as it happens only once.
And I try to avoid sticking too much in a When killed event.

47
Ask a Question / Re: Run - Clean Project
« on: May 02, 2016, 02:10:55 am »
I´m with you on this, if errors are not showstoppers, go for it.  ;)

48
Ask a Question / Re: How to make an actor shake?
« on: April 02, 2016, 03:39:21 pm »
Make a shaking animation and switch to it on impact is one way.
Or shift actor left and right for a second. ;)

49
Ask a Question / Re: How do I extend time for a "power up"
« on: March 13, 2016, 11:09:49 am »
I´d change the approach to a countdown of the invincible time.
Make an attribute InvincibleTimer, and decrease it every second by 1 and set it to 0 if less than zero.
Turn on invincible when InvincibleTimer is greater than 0 and turn it off when it´s zero.
When you hit a star you add 10 to it giving 10 seconds of invincibility, and just add to that if it hits another star.

50
Game Art / Re: Free and inexpensive game art for commercial use
« on: March 13, 2016, 10:58:19 am »
And I´ve been back several times and loved it! Now I have a knight game almost ready thanks to you. Great job.
Let´s keep Robert going, everybody, go buy something!   ;)

51
Ask a Question / Re: Touch = Doubleclick on Windows Touch ?!
« on: February 12, 2016, 11:23:17 am »
Sorry, Vectrex, been down that (disappointing) road:
http://community.stencyl.com/index.php/topic,17669.msg102571.html#msg102571

And it hasn´t changed. First touch on Win touchscreen selects object - second interacts.
My solution was to build Windows touch apps from scratch in Construct2 and submit to Windows app store. That works, but is rather much of a hassle just to cover Windows. As for sales,  it´s not worth the effort.

52
Chit-Chat / Re: I just want to say thank you Jon !
« on: February 12, 2016, 06:06:42 am »
Second that! $199 is a small amount considering all the fun and the $56K Stencyl has made me over the last three years. Way to go, team!!!

53
Ask a Question / Re: level menus
« on: February 10, 2016, 03:29:22 am »
You could try to set an Actor value attribute (Call it My_level_number) for each level actor on creation and let the actor draw its value as text.
Then  you make a Game attribute (Call it Levels_opened) to keep track og how many levels are opened. 
If the actor´s value is greater than number of opened levels you let it print "X".  :)

54
Ask a Question / Re: Spawn Random Actor
« on: February 09, 2016, 03:22:34 am »
Or, if you treat all enemies the same, you could have one enemy actor with several animations and let the actor itself set a random animation on creation.   ;)

55
Ask a Question / Re: Bug with Switch To Scene call
« on: January 07, 2016, 11:59:37 am »
A screenshot of your switching code would help the helpers.  :)

56
Ask a Question / Re: Current screen as image
« on: December 27, 2015, 11:41:51 pm »
I worked around this by letting small actors have an invisible border "handle" which makes it easier to drag without covering the image with your finger. Not sure if this is possible in your game, though. Depends on how you detect drops. I used x,y coordinates with  the necessary offset to compensate for border. :-)

57
Ask a Question / Re: Game board spinner
« on: December 22, 2015, 06:43:27 am »
Haven´t tried this, but might work:
Set actor to  cannot move - can rotate n Physics,  and  use swipe-event to set turning speed. Limit turning by random timer to get different  results, and reduce speed at the end for realism.  ;)

58
Ask a Question / Re: Game board spinner
« on: December 18, 2015, 01:06:24 am »
Just  a thought. Why not use one actor, spin by rotation and find result by checking rotation angle considering width, in degrees, of each segment?

59
Ask a Question / Re: fatal signal 11?
« on: December 07, 2015, 03:19:56 am »
You may check if your timing makes your code refer to aspects of an actor after it´s killed. That may cause null errors.
Flash may be more tolerant and skip over it.

60
Ask a Question / Re: Yes/No answer collection!
« on: November 26, 2015, 11:13:34 am »
And it would simplify your code if you stick the questions in a list (Make a .txt file wit one question per line and import to list from .txt file) and pull one by one from the list. Easier to maintain and you´ll lose the 250 If-blocks.  ;)

Pages: 1 2 3 4 5 6 ... 33