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

Pages: 1 ... 7 8 9 10 11
121
Ask a Question / Re: How to make a fall away block?
« on: July 20, 2015, 10:34:06 am »
Interesting. How can deleting a tile leave its collision box behind? Just curious.

122
Ask a Question / Re: How to make a fall away block?
« on: July 20, 2015, 09:53:45 am »
Try this - you can make your block an actor instead of a tile. When the player touches it (from above) Switch the block's animation to one that's falling away (with the collision box still unchanged so the player can still walk on it) and then let the block drop by changing its speed, or letting it be affected by gravity (using the enable gravity block.)

Getting the details right and making it look good might be tricky.

Or, instead of futzing with a falling away animation, just draw invisible tiles on your level, and place the block actors on top of them. Let the block drop when it detects a collision with the player, and then use the tile API a short while later to remove the invisible tiles, letting the player drop.  This will probably be easier to do than the other approach.

123
With version 8449, I can't run my game on the iOS simulator when simulating either an iPhone 5.5 or iPad retina.  All other iOS device simulator configurations seem to work fine.  I don't see anything in the logs.

Here's the system log from a couple of attempts to run the game. I've highlighted a couple of lines that show that the game quits with an error code:

Jul 19 15:12:22 Ori-Pessachs-MacBook-Pro assertiond[43533]: assertion failed: 14E46 12H141: assertiond + 12334 [EDAF3958-87C7-3C61-A8E6-24689FBBE168]: 0x1
Jul 19 15:12:22 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
Jul 19 15:12:22 --- last message repeated 1 time ---
Jul 19 15:12:22 Ori-Pessachs-MacBook-Pro.local backboardd[43530]: CoreAnimation: updates deferred for too long
Jul 19 15:12:22 Ori-Pessachs-MacBook-Pro.local bird[43621]: starting bird
Jul 19 15:12:22 Ori-Pessachs-MacBook-Pro.local apsd[43617]: [Warning] Setting up a new database at path /Users/oripessach/Library/Developer/CoreSimulator/Devices/DF37F662-6F12-46C2-B9B5-2BEE61CE23BB/data/Library/ApplePushService/aps.db.
Jul 19 15:12:23 Ori-Pessachs-MacBook-Pro.local bird[43621]: Power level really becomes good
Jul 19 15:12:23 Ori-Pessachs-MacBook-Pro.local bird[43621]: Network reachability changed to reachable [-R -------]
Jul 19 15:12:23 Ori-Pessachs-MacBook-Pro.local kbd[43619]: table drop: 101
Jul 19 15:12:24 Ori-Pessachs-MacBook-Pro Tres Caballeros[43618]: assertion failed: 14E46 12H141: libxpc.dylib + 69007 [55209BF0-C183-332C-B272-05E5362CC077]: 0x7d
Jul 19 15:12:24 Ori-Pessachs-MacBook-Pro assertiond[43533]: assertion failed: 14E46 12H141: assertiond + 12334 [EDAF3958-87C7-3C61-A8E6-24689FBBE168]: 0x1
Jul 19 15:12:24 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: [MPUSystemMediaControls] Updating supported commands for now playing application.
 Marker - Jul 19, 2015, 3:12:56 PM
Jul 19 15:12:24 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: BSXPCMessage received error for message: Connection invalid
Jul 19 15:12:24 Ori-Pessachs-MacBook-Pro com.apple.CoreSimulator.SimDevice.DF37F662-6F12-46C2-B9B5-2BEE61CE23BB.launchd_sim[43515] (UIKitApplication:com.yourname.gamename[0x84f0][43618]): Service exited with abnormal code: 1
Jul 19 15:12:24 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: Application 'UIKitApplication:com.yourname.gamename[0x84f0]' exited voluntarily.
Jul 19 15:12:24 Ori-Pessachs-MacBook-Pro assertiond[43533]: assertion failed: 14E46 12H141: assertiond + 12334 [EDAF3958-87C7-3C61-A8E6-24689FBBE168]: 0x1
Jul 19 15:12:24 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
Jul 19 15:12:57 Ori-Pessachs-MacBook-Pro assertiond[43533]: assertion failed: 14E46 12H141: assertiond + 12334 [EDAF3958-87C7-3C61-A8E6-24689FBBE168]: 0x1
Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro Tres Caballeros[43643]: assertion failed: 14E46 12H141: libxpc.dylib + 69007 [55209BF0-C183-332C-B272-05E5362CC077]: 0x7d
Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro.local backboardd[43530]: CoreAnimation: updates deferred for too long
Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro assertiond[43533]: assertion failed: 14E46 12H141: assertiond + 12334 [EDAF3958-87C7-3C61-A8E6-24689FBBE168]: 0x1
Jul 19 15:12:58 --- last message repeated 1 time ---
Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: [MPUSystemMediaControls] Updating supported commands for now playing application.
Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: BSXPCMessage received error for message: Connection invalid
Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro com.apple.CoreSimulator.SimDevice.DF37F662-6F12-46C2-B9B5-2BEE61CE23BB.launchd_sim[43515] (UIKitApplication:com.yourname.gamename[0x7c02][43643]): Service exited with abnormal code: 1
Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: Application 'UIKitApplication:com.yourname.gamename[0x7c02]' exited voluntarily.

Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro assertiond[43533]: assertion failed: 14E46 12H141: assertiond + 12334 [EDAF3958-87C7-3C61-A8E6-24689FBBE168]: 0x1
Jul 19 15:12:58 Ori-Pessachs-MacBook-Pro.local SpringBoard[43529]: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
 

124
Ask a Question / Re: Flash is dying
« on: July 15, 2015, 08:18:52 pm »
They can blacklist it, and yes, they can remove NPAPI support from Firefox. According to their statistics, the only two plugins that still get significant use are flash and Acrobat, and Acrobat has adequate native Javascript replacements now. Flash arguably also has adequate replacements in HTML5 (well, kinda - it's still the only way to decode H.264 video in Firefox) so Mozilla's developers feel that it won't be a big deal if they just dropped NPAPI support altogether.

That on its own won't kill Flash, but it certainly won't help Flash stick around.

125
Ask a Question / Re: Flash is dying
« on: July 15, 2015, 06:50:39 pm »
Maybe because they've been wanting to kill Flash for years (based on my conversations with a couple of Mozilla developers) and the fact that they feel comfortable disabling it now, even temporarily, is an indication that they don't consider it an essential part of the browsing experience anymore.

Granted, they won't kill it right away, but I won't bet on Flash still being around in, say, 5 years.

126
Ask a Question / Re: Getting the actual screen resolution
« on: July 14, 2015, 06:58:43 am »
Yep, that does the trick - and you're right about changing nme to openfl, too. Thanks!

127
Ask a Question / Getting the actual screen resolution
« on: July 13, 2015, 07:46:27 pm »
Hi,

I'm trying to write some code to position on-screen controls in a mobile game. I need to know the actual resolution of the screen, so I can figure out which portion of my game is actually displayed (because I don't want to put game controls off-screen.)

My game's scale mode is set to Scale to Fit (letterbox) and I made the game's resolution wide enough so that instead of getting black bars on the sides of my display, the edges are actually clipped. This works very well for me, since I make sure that the action is limited to the areas of the screen that are likely to be displayed on any device.

The problem is that I want the game controls (a D-pad and a couple of buttons) to be near the edges of the physical screen.

getScreenWidth() returns the game's resolution as set in the Game Settings->Settings->Display. This is of no use to me, obviously. I took a quick look at Engine.hx, but nothing jumped at me. How do I get any useful information about the device's screen dimensions?

Thanks!

Ori


128
Ask a Question / Re: How to compare a variable and an item in a list?
« on: July 10, 2015, 09:05:17 pm »
Just a guess, but you probably need to put your "get item #" block in a "'anything' as number" block to compare it to a number. It's in the Actor->Properties tab, all the way at the bottom.

129
Suggestion Archives / Re: Design Scene Tool
« on: July 09, 2015, 10:38:32 am »
I second that request, and I've seen people ask for this before. This is a pretty basic feature, and it baffles me to see that Stencyl doesn't have it.

130
Bug Archives / Just editing a print block, and...
« on: July 01, 2015, 07:58:49 pm »
Boom. See attached logs.

131
Bug Archives / Re: Tabs stay highlighted in the UI
« on: July 01, 2015, 07:02:16 pm »
They all do that. I just checked and I can make it happen while editing a scene behavior named "Utilities" with only one custom block in it.

It also happens if I create a brand new actor behavior, name it test, and start clicking the tabs - so the behavior is empty.

132
Bug Archives / Re: Tabs stay highlighted in the UI
« on: July 01, 2015, 05:17:32 pm »
I'm not sure which behavior it is you're asking about.  Are you saying that a deleted custom block might be causing the UI issues?

133
Bug Archives / Re: Tabs stay highlighted in the UI
« on: June 30, 2015, 08:24:45 pm »
Any news on that? It's pretty annoying.

134
Bug Archives / Re: Collision problem when actor can't rotate
« on: June 30, 2015, 04:44:54 pm »
This worked - thanks!

135
Bug Archives / Re: Collision problem when actor can't rotate
« on: June 30, 2015, 11:15:50 am »
Wow! Really? I'll try that...

Pages: 1 ... 7 8 9 10 11