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

Pages: 1 2 3 ... 41
1
Chit-Chat / Re: [NOW AVAILABLE!] The Interactive Stencyl Textbook
« on: December 29, 2016, 09:10:12 am »
The Interactive Stencyl Textbook is now available — AS A FREE DOWNLOAD — at Photics.com


Enjoy!  :D

2
Wow!

I've been gone a while. I was busy with another book project. Today I was checking in on Stencyl, to see how things are going. I was pleased to see that HTML5 publishing returned. So, I tested out. It works surprisingly well. I exported two projects and they ran as expected... well... mostly.

Here's what I noticed...

The exported projects are large. It's too bad that SVG is not a native Stencyl image format. Although, it looks like "letmethink" has already been working on that issue... http://community.stencyl.com/index.php?topic=43097.0

Also, a similar issue exists with audio. OGG is good for the web, but M4A has more compatibility.

http://caniuse.com/#search=AAC

I tried running one of the projects in Safari and the loading wouldn't complete. It worked in Firefox though. I was able to play all five levels. The only major problem was the sound starting to stutter on the fifth level.

And finally, one of the projects I tested is about six years old. It was ported from GameSalad to Stencyl. Now that HTML5 publishing is finally here, I'm not so sure that I want the game to be listed on my website anymore. Ha!


3
Chit-Chat / Re: [NOW AVAILABLE!] The Interactive Stencyl Textbook
« on: July 06, 2015, 11:07:51 am »
I'm not sure, but this might be good news for people that have been wanting to get this book, but didn't have a Mac or iPad. Apparently, iPhone seems like an option, but I'm not sure if/how it actually works.

I tested it out today. The Interactive Stencyl Textbook is better on the desktop / iPad, but it is usable on iPhone. The free sample is a great way to test. That way, you can see if the results are acceptable to you.

4
Chit-Chat / Re: [NOW AVAILABLE!] The Interactive Stencyl Textbook
« on: June 30, 2015, 04:08:43 pm »
It looks like there's an update to iBooks.
According to the iBooks Author page on the Mac App Store...
https://itunes.apple.com/us/app/ibooks-author/id490152466?mt=12
"iBooks for iPhone now supports books made with iBooks Author"

Although, I only have an iPhone 4 (which is too old for the latest iOS update) and an iPad Air 2 (which already can view books from iBooks Author.)

I'm not sure, but this might be good news for people that have been wanting to get this book, but didn't have a Mac or iPad. Apparently, iPhone seems like an option, but I'm not sure if/how it actually works.

5
Ask a Question / Re: Counter wont count
« on: May 03, 2015, 03:04:34 pm »
When an item is collected, record that in a game attribute. When you want to display how much was collected, read the game attribute and display it. That is the basic idea.

From what I can tell, you are not grabbing the game attribute, and you probably overwrote the game attribute considering the behavior attribute is probably defaulted to 0.

I made it so when the item is collected it changes the game attribute but it still stays at 0. PLease Help!

That doesn't seem like a very efficient way of doing the math. A good guide in computing, if you're doing lots of repetitive work – you're probably doing it wrong.

Why not just always set "One Cargo" to "Cargo Counter", since that's what you appear to be doing? Even if you want to continue using the method you're using, it breaks around 6-7, as you have 7 inside of 6.

Why are you using two separate attributes, since they are being changed to the same value?

6
Shared Resources / Re: Extension Question - Push Notification
« on: May 03, 2015, 02:54:36 pm »
The problem is getting Stencyl to run in the background.

Maybe this helps put you on the right track...
http://community.stencyl.com/index.php/topic,26596.0.html

7
Stencyl Essentials / Re: Stencyl Essentials (Out Now!)
« on: May 03, 2015, 02:49:48 pm »
Congratulations! It's hard to write a book! :)

8
...but it is not very user friendly, do you have any suggestions?
What makes you say this?

I was thinking the same thing.  Well... I got as far as "What?!"

9
Ask a Question / Re: Need a limit on extra lives and medals
« on: April 13, 2015, 04:16:09 pm »
New game attribute - Checkpoint.
Default value 5000.

If Current  Score > Checkpoint
Then Set Checkpoint to checkpoint + 5000
            ...and set lives to lives + 1

10
Ask a Question / Re: clicking an actor to play animation
« on: April 13, 2015, 04:08:36 pm »
First, I don't recommend Stencyl for creating an interactive book. It's great for making apps/games, especially retro games, but I think something like Hype is more suited for that. If your response is, "Yeah, but I don't want to build a webview in Xcode. Stencyl is just easier for creating the total package" ...or... "I don't have a Mac." ...or... "Do you really think sounds in HTML5 are consistent enough?" ...then that's a fair response.

You can split up the animations in a single actor. One animation can be just one frame - like standing. Another can have more frames - like running.

Why are you using "Mouse enters self" instead of a touch event? If you're creating an iOS app, commands like "mouse over" don't really apply.

I think my recommendation is – Don't be afraid to experiment. That's a great way to learn. Create a new document and just play around. See what happens.

11
Back when I was using GameSalad for game development, we didn't have fancy things like event based collision detection. You could know if an actor was colliding with another actor, but it wasn't so easy to detect where that hit was coming from. To get around this problem, I used invisible actors as sensors...

https://photics.com/arch-fiery-wall-jumps/

Shown in the screenshots, there are little red dots. If the sensor was touching a wall, then the main actor could do a wall jump. Perhaps that's what you need here. The shadow could be a separate actor, with it's position relative to the main actor... at least a long the X axis. (If the hero moves upwards, along the Y-Axis, the shadow could shrink to simulate a third dimension.)

It seems like you have the pieces, but how you arrange them is personal preference. With Stencyl, an actor can have multiple collision points. It seems that's what you've tried. However, I find that I have more control and greater accuracy by using separate sensor actors.

12
That looks well-made, with a clean retro look. It could be a winner.

13
If you display the accelerometer data onscreen, putting the accelerometer data in a display text block, you can see why this doesn't work. The value is constantly changing, often going above and below zero. To fix this, creating some space around the zero might help... like less than -0.1 and greater than 0.1

14
Ask a Question / Re: How to make enemies fight back
« on: March 15, 2015, 05:25:36 am »
It's usually about range.

If the absolute value between the enemy and the hero is greater than 500 pixels
...then wander around
If the absolute value between the enemy and the hero is less than 500
...then move towards the hero
...and face the hero
If the absolute value between the enemy and the hero is less than 200
...then shoot
If the enemy is touching the hero
...then punch/kick

That's basically the kind of stuff I did with BOT... https://photics.com/bot/

Advanced...
http://community.stencyl.com/index.php/topic,15343.0.html
A* can help the enemy walk around walls.

15
Anyone else had experience of this, or problems with switching to Simple Physics?

Simple physics is meant to be light weight, so that the game doesn't lag. It's good for actors that don't move around that much. It's not good for fast moving actors like balls or projectiles. It seems like your actors are going through collision shapes. I'm thinking that's normal for simple physics.


Pages: 1 2 3 ... 41