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

Pages: 1 2 3 ... 5
Ask a Question / Re: Labels for Android
« on: June 21, 2014, 08:49:41 am »
I try to create a behavior that will display a timer. I want to do this from scratch with no code, just blocks.

I have a blank actor with transparent animation and I want to give it the behavior to display a number as text. I use the 'set label text' block but I suppose it's not the only one I need. 

I also created the scene behaviors but in order to see if they work, I have to get the text actor to work.

Anyone has an idea on how to proceed?

Ask a Question / Labels for Android
« on: June 14, 2014, 06:35:46 am »
Hey fellas, just a question, when you want to keep score or show a number for Android games, do you use the 'Label' behavior found in StencylForge?

I am asking cause when I edit this behavior I see iOS or Flash commands, but no Android.

I can't get it worked and I was wondering whether it's because it has no use on Android.

Ask a Question / Android - Multitasking
« on: May 31, 2014, 08:57:36 am »
I try to build a game for mobile whereas it would take 2 hands to play. Imagine it as Super Mario where one hand will control the velocity and the other one the jump or firing bullet function. In order to jump while it's walking, it's necessary to use both on screen buttons simultaneously.  There is a "Multi - touch" event available, but I have no idea on how to use it. I have managed to simulate the controls as I wanted them, but I can't make them work at the same time; game is freezing.

Does anyone know how I can do this? 

Old Questions (from 1.x/2.x) / Testing the tilt
« on: July 11, 2013, 09:43:40 am »
I may already know the answer, but is there a way to test the "tilt" function using the xCodes' iPhone emulator?

Or any other emulator? 

Ask a Question / Re: Random scenes
« on: December 03, 2012, 06:58:52 am »
This is great help. I am actually thinking now to start it all over again, using this code. Thank you so so much  :)

No wonder why I couldn't get this work it the first place  :P

Ask a Question / Re: Random scenes
« on: December 03, 2012, 01:38:01 am »
To be honest, I thought -and tried- to use lists, but I only managed to add the words in a list. From that point, I didn't know how to proceed  :P  So I quitted the idea and came up with an alternative plan, the one with the scenes changing.

gplar, when you say "separated by a character", what exactly do you mean?

I'll make more games in the future, so I believe, eventually, I must learn how to cope with lists.

Ask a Question / Re: Random scenes
« on: December 02, 2012, 01:30:14 am »
Thank you all very much :) I think I can now make it work.

Ask a Question / Re: Random scenes
« on: December 01, 2012, 02:03:11 pm »
Thank you! I see what you both mean.

The game is about questions and answers. In each scene I have a word on the top and below it has 4 alternatives so as to choose the right answer. I will use it for educational purpose. Right now, I only made 6 scenes (thus six words and their alternatives) but I will add some more. And I don't want it to begin with the same questions again and again.

Both of your suggestions seem right to me! I don't think I need to generate a random scene. The ideal was to have one scene and different words to appear randomly. But I believe this requires lots of coding. And I have no idea on coding!

I thought that I would need this random number block, but I just didn't know how to use it!

Ask a Question / Re: Random scenes
« on: December 01, 2012, 12:53:22 pm »
When you say "scene" you mean the 'scene name' block?

Ask a Question / Random scenes
« on: December 01, 2012, 12:05:31 pm »
Hello, I was wondering if you could help me with a question I have. When my game starts and I press the 'play button', I want a random scene to appear. Not always 1,2,3. Every time, a different one. Do you know how I can do this?

Old Questions (from 1.x/2.x) / Tiles and collision problems
« on: November 14, 2012, 02:59:52 am »
Hello,the problem I face is that my actor, after the jumping behavior, sometimes it gets stuck on the tiles and it can't proceed. It has a round collision shape, and for the tiles he interacts, I tried all the available shapes, but with no luck. When he hit the corner, he stuck and cannot move on. As I see, there is no round shape for tiles. Could someone advice me how to overcome this problem?

Old Questions (from 1.x/2.x) / Labels: setting Test
« on: November 01, 2012, 09:22:21 am »
Hello, I use a blank animation with the iOS Label behavior attached to it. Through the scene behavior, I managed to make it work as a counter. Using the same actor, I want to add the score behavior as well. But I can't do the latter. The block 'set text for label xxx  to xx as text' doesn't seem to work; the numbers just don't show.

In counter it is shown but here it doesn't. I attach the code. I believe I am doing something wrong. I just can't figure out what it is. Could anyone help?

Old Questions (from 1.x/2.x) / Re: atlasses
« on: November 01, 2012, 09:12:28 am »
I believe you can assign any character in any atlas. Let's say you rename atlas 2 to actor and atlas 3 to titles. You assign each of your characters where it matches.There is no atlas preferable for actors or tiles.

Old Questions (from 1.x/2.x) / Re: Sound loops instead of play once
« on: October 25, 2012, 04:19:00 am »
Thank you. At first, I did put the setter in 'when created' event, but it didn't work because I didn't add the 'if play sound' conditional in the update event. That was my mistake.
It works now. Thank you :)

Old Questions (from 1.x/2.x) / Re: Sound loops instead of play once
« on: October 25, 2012, 03:38:02 am »
What am I doing wrong? It still loops.

Pages: 1 2 3 ... 5