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 ... 33
31
Jason, seriously, if you want handwritten code all the way you're probably in the wrong place with Stencyl.  Find a system with main focus on written code. ;)

32
Assuming you have an animation Animation 0 for your undamaged ship, create another animation (on the same actor) Animation 1 for damaged ship.
Then when ship is damaged you use the "Switch animation to"  block to change animation to damaged.
You´ll find the block under Actor-Draw.

33
Ask a Question / Re: Need help building for iOS Device
« on: October 27, 2016, 08:08:28 am »
Here. :-)

34
Ask a Question / Re: Programmatically set a scene from a template scene
« on: October 25, 2016, 05:05:30 am »
Don´t think you can create a new scene (Stencyl scene) on the fly, but you could use a fixed scene and change the contents to make it look "new". If you store attributes for the content in a list of lists (comma separated, one for each scene) it should be possible to maintain and store several scenes. 
List of lists are, however, a bit of a tongue in cheek exercise. :-)
From your main scene you could then create buttons dynamically for each entry in the "scenes" list.

35
Ask a Question / Re: Hide Game Resource Files?
« on: October 25, 2016, 04:55:31 am »
Your clutter should be nicely tucked away in the users/stencylworks/gamename  folder. I would not keep anything else in there, but store graphics-sounds in a different folder and import to Stencyl as needed. I hardly ever need open these  folders. ;-)

36
Ask a Question / Re: Hide Game Resource Files?
« on: October 24, 2016, 04:30:36 am »
You don´t edit your game in Finder, do you? ;-)

37
Ask a Question / Re: How to eliminate two actors after drag and drop?
« on: October 11, 2016, 06:31:39 am »
One of these, depends on whether you use an event (top) or in a code block (bottom).

38
Ask a Question / Re: How to eliminate two actors after drag and drop?
« on: October 10, 2016, 06:17:26 am »
You could on drop of actor 1 check if its x and y position is within +- 5 or 10 or more (depending on the precision you want) of the x and y position of actor 2.
If it is, kill both.

39
Same here, I design at 1024x768 for iPad and exclude anything but 1x to keep the upload size reasonable. Graphics look good when  run as Stretch to fit.
Never rejected because of this.

40
Ask a Question / Re: educational game like mystery case files
« on: October 04, 2016, 01:36:47 pm »
Start on the tutorials to learn the tool.
If you have a game idea, start drawing and make an outline. When you know what you want to do and have the tools to do it, then go ahead. We´ll help, but we can´t do your assignment.  ;)

41
Ask a Question / Re: How to choose other target iOS version than ios10
« on: October 03, 2016, 12:04:36 pm »
If you plan to submit to AppStore it is not a good idea to target less than 10. That´s what they test on. Setting the minimum iOs version lower would cover down to 8. Apple rejects your app otherwise. ;)

42
Ask a Question / Re: Separate letters from a word
« on: September 30, 2016, 02:25:08 pm »
And remember that indexes start on 0. A six-letter word would be indexed from 0 to 5.  ;)

43
Ask a Question / Re: Best way to backup your projects?
« on: September 30, 2016, 02:22:25 pm »
In addition to backups I also find it useful to use the "Save game  as" to save numbered versions regularly, and especially before making major changes.  This makes it easy to roll back, and is also a safety net if a version gets corruptrd on disk. You have to delete the oldest versions to keep disk space usage reasonable.

44
You have to make AI5 relate to an Attribute (RandomAI)  and assign a random value before testing for the value.
 AI5 seems to be an actor  is in your setup, but to test for value it needs to be an Attribute.
Something like this:

If mouse was pressed on Rock1
Switch animation to 1  for player 4
RandomAI = random integer between 0 and 2
              If RandomAI = 0
              Switch animation to 1 for AI5
             Otherwise if RandomAI = 1
              Switch animation to 2 for AI5
             Otherwise
             Switch animation to 3 for AI5

45
Game Art / Re: Free and inexpensive game art for commercial use
« on: August 03, 2016, 04:16:01 am »
Just to keep this at the top. Robert is still creating beautiful, interesting and inexpensive artwork. Go see!! :-)

Pages: 1 2 3 4 5 ... 33